authorly / interapptive-web

Authorly web-based storybook builder
1 stars 1 forks source link

Resource Downloader error #1393

Open dira opened 10 years ago

dira commented 10 years ago

I'm trying to go through the storybook publication process, and in the final step (publish to subscription) I get this error:

Zip::EntryExistsError
Error
add failed. Entry android already exists
/Users/dira/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rubyzip-1.1.2/lib/zip/file.rb:390:in `check_entry_exists'
/Users/dira/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rubyzip-1.1.2/lib/zip/file.rb:261:in `add'
/Users/dira/work/interapptive-web/lib/interapptive/compilation/storybook_resource_downloader.rb:70:in `block (2 levels) in archive'
/Users/dira/work/interapptive-web/lib/interapptive/compilation/storybook_resource_downloader.rb:68:in `each'
/Users/dira/work/interapptive-web/lib/interapptive/compilation/storybook_resource_downloader.rb:68:in `block in archive'
/Users/dira/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rubyzip-1.1.2/lib/zip/file.rb:99:in `open'
/Users/dira/work/interapptive-web/lib/interapptive/compilation/storybook_resource_downloader.rb:67:in `archive'
/Users/dira/work/interapptive-web/lib/interapptive/publication/subscription_publisher.rb:16:in `archive_resources'
/Users/dira/work/interapptive-web/lib/interapptive/publication/subscription_publisher.rb:9:in `publish'
/Users/dira/work/interapptive-web/app/queues/subscription_publication_queue.rb:12:in `perform'

Tried to debug it but couldn't figure out what's wrong.