Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zip Archive Download Problems #464

Open
FormerLurker opened this issue Feb 27, 2020 · 6 comments
Open

Zip Archive Download Problems #464

FormerLurker opened this issue Feb 27, 2020 · 6 comments
Labels
possible bug Something went wrong, but unsure if it's a problem with Octolapse possible resolution A non-confirmed solution exists for this issue. It may or may not be available on the master branch

Comments

@FormerLurker
Copy link
Owner

User @iskyguy reported issues downloading zip archives of snapshot images. Anyone else having problems?

@iskyguy, can you give me some details, like how large is the zip, and can you manually download it via sftp from /home/pi/.octoprint/data/octolapse/sanapshot_archive (unless you changed the folder in the main settings)? I'm wondering if this is an issue with the creation of the zip file, or with the download.

@FormerLurker FormerLurker added the possible bug Something went wrong, but unsure if it's a problem with Octolapse label Feb 27, 2020
@iskyguy
Copy link

iskyguy commented Feb 29, 2020

I can download it fine onto my computer but it seems like the bigger zipped files are having trouble being opened by windows. It also gives me a progress attempt error after a second file download attempt. The first attempt downloads fine but i have to reset the Raspberry pi to try again, even when i confirmed that nothing else was occurring. anything over 2.0 GB doesn't download with the progress event error.

@iskyguy
Copy link

iskyguy commented Mar 1, 2020

now having issues with downloading files at all, no archive or renders. ill test another pi tomorrow and do some other troubleshooting.

@FormerLurker
Copy link
Owner Author

I've added a patch to the devel branch to enable zip64. My pi ran out of disk space while I was trying to create a huge zip file, lol. Was at 24GB when it died, but I was able to retrieve the images via sftp and delete them. I just ordered a massive SD card so hopefully that doesn't happen again.

Anyway, check your disk space on your pi, try upgrading from the devel branch (https://github.com/FormerLurker/Octolapse/archive/devel.zip), and see if that helps.

Regarding the downloads, not sure what's going on there. Set your logging profile to Debug and try some downloads. You can clear the Octolapse log file within the logging profile:

image

Also check the octoprint.log file and see if any errors appear there.

Let me know what you find! As soon as we get this worked out I plan to push a new devel rc.

@FormerLurker FormerLurker added the possible resolution A non-confirmed solution exists for this issue. It may or may not be available on the master branch label Mar 1, 2020
@iskyguy
Copy link

iskyguy commented Mar 2, 2020

Regarding the download i can download any lossless render below about 30 MB. Ill do some testing at 2.5k and see what happens there, anything above about 30 MB With the lossless image gives the error [object: eventProgress]. Sorry for the delays in my replies, schools ramping up for finals and dont have much time for camera/printer testing.

@iskyguy
Copy link

iskyguy commented Mar 24, 2020

Now when i try to render something it doesnt render giving me the
error code -9, it has something to do with ffmpeg. i made sure it was updated and then restarted.
error help github.txt

@FormerLurker
Copy link
Owner Author

@iskyguy, so sorry it's been so long. So, I think I fixed large file download (it was a bear), but upload is broken for anything over 1GB, and won't be fixed any time soon due to the complexity involved.

Regarding the rendering error, I usually see that with the H264/H265 codec. If you have a pi4 you could probably use those profiles, but the Pi3 just doesn't have the mem.

Let me know if you are still having problems, or if it has resolved it self. If it hasn't, you might want to try upgrading to the code in the devel branch.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Something went wrong, but unsure if it's a problem with Octolapse possible resolution A non-confirmed solution exists for this issue. It may or may not be available on the master branch
Projects
None yet
Development

No branches or pull requests

2 participants