kakaroto / R20Exporter

Script to export Roll 20 campaign into a zip file.
54 stars 14 forks source link

QuotaExceededError: ZIP creation operation fails if ZIP exceeds ~300MB #23

Open Asherlock opened 3 years ago

Asherlock commented 3 years ago

Every time I attempt to convert my DotMM campagin (roughly 1.86GB of data) the zip process gets to ~30% and then I'm given an error that the file is too big. In your demo you are converting a CoS campaign roughly the same size and it behaves as expected. I had to strip the campaign down to just its maps and dynamic lighting to get it below 300MB and this is just below my expectations for this paid resource. Couldn't find anything on this issue either so here we are. HALP! :)

EDIT: Adding a screenshot to show the issue -> zipExceeded

secabeen commented 3 years ago

See this issue, it has a possible workaround: https://github.com/kakaroto/R20Exporter/issues/18

You can also try Firefox if you're using Chrome, or vice versa.

kakaroto commented 3 years ago

Hey! Saw your exit survey on Patreon where you mentioned filing an issue here, and realized I didn't get notifications for issues from this repository 😱 Not sure how that happened! So, that error can be caused, as pointed out in #18 by the site itself not having access to the local storage, or by your hard drive being full (or "temporary internet files" being full). A workaround in those cases is to use the JSON export method, in that case, the assets will be downloaded by the converter during conversion instead, so that works out great, but the disadvantage is that the conversion is slower and you would need to download everything multiple times if you were to try multiple conversions with different parameters. Also, the playlists don't get converted that way since they are only downloadable while logged into Roll20.

Let us know how that works out for you and if you could get it fixed with the suggestion from #18

Asherlock commented 3 years ago

The JSON download worked fine for me as an alternative. So thanks for the out! I'd advise perhaps flagging that issue at a more surface level though, it was a bit of a deterant to only discovering it after payment you know? Thanks for the swift response :)

kakaroto commented 3 years ago

The JSON download worked fine for me as an alternative. So thanks for the out! I'd advise perhaps flagging that issue at a more surface level though, it was a bit of a deterant to only discovering it after payment you know? Thanks for the swift response :)

Glad it worked out! And you only got a swift response because you mentioned filing an issue (thanks again for that, there were months old issues here that I've been missing!!!) The exporter is free btw, so you could have tested it before subbing on patreon :P But this issue seems to affect probably 1% or less of people, most of the others have no trouble with multi-GB sizes zips, and I honestly still have no idea why it works for some and doesn't for others (that suggestion in #18 about allowing the roll20 site itself access to local storage might be the answer though)

Regardless, it seems like there's some work to be done on the exporter's side to improve things a little bit more.

ZMaduf7DiziB commented 3 years ago

I'm using Chrome on OSX. I have looked at #18. It says to allow "app.roll20.net specifically for downloading local data in the Chrome browser" I've searched around the internet for guidance on how to do that without success. Is there a permissions setting somewhere that accomplishes this? I've checked Chrome preferences without luck, System Preferences, too. Can someone point me in the right direction on how to accomplish this fix? Thanks!

kakaroto commented 3 years ago

I couldn't find the option either so I'm a bit at a loss here (it should have been an option within chrome for the site itself like this).

image image

So it might have been that "automatic downloads".. I don't know.

Someone on my discord (maybe you!) said that turning off "clearing cookies and cache when exiting chrome" seemed to have fixed it.

ZMaduf7DiziB commented 3 years ago

Thanks for your thoughtful reply. That was me on Discord!! Small world.