-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Error message in logs when trying to generate video file from cam that only captures JPEGs. #4110
Comments
Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template! |
Please try latest update. The reported error should not happen anymore. I don't think it is an actual fix, as I was unable to reproduce the file not found aspect of this report. We do need debug level logs, from the _web_php area. So under Options->Logging, set DEBUG to checked and in LOG_DEBUG_TARGET put _web. There should be a file in /var/log/zm/web_php.log containing the debug logs. |
I updated today and the POST error is fixed. I still get the file not found error. The URL is: I can find the file manually here:
Note that I'm using a custom (non-default) location for file storage. I turned on the debug option and clicked on Download again and it downloaded a file with these contents: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65028096 bytes) in /usr/share/zoneminder/www/skins/classic/views/video.php on line 96 The file is 215Mbytes. Is there another log that you need? --MH |
Aha! That error explains it all! We have to turn off buffering when sending files. I'll look into that. |
…ng them so we can send the video file so we don't run out of ram. Fixes #4110
Describe Your Environment
If the issue concerns a camera
Describe the bug
A clear and concise description of what the bug is.
I have one camera setup to only capture JPEGs and no video (mp4/H265/etc) so to turn this into a video, I go to the 'view=video' page by clicking on a 'Generate Video' button. On that 'view=video' page, there is another Generate Video button. When I click that button there is a log entry with the error:
The URL of this page is:
The web page says that it created the file, but when I click on 'download' I get a file not found error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Expect that the generate video button will do a POST and the video will be generated successfully. Expect that the video can then be downloaded.
Debug Logs
The text was updated successfully, but these errors were encountered: