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

Movies will not upload fully #26

Open
gti3527 opened this issue Jan 31, 2016 · 0 comments
Open

Movies will not upload fully #26

gti3527 opened this issue Jan 31, 2016 · 0 comments

Comments

@gti3527
Copy link

gti3527 commented Jan 31, 2016

I use my camera with an Eye-Fi card to take pictures and movies. The pictures seem to upload but the movies don't see to fully upload. The log file looks good but the file is way too small.

Here is a snippet from the log..

[01/31/16 02:12PM][do_POST] - Attempting to read 2124548035 bytes of data
[01/31/16 02:12PM][do_POST] - Finished reading 2124548035 bytes of data
[01/31/16 02:12PM][do_POST] - Got upload request
[01/31/16 02:12PM][uploadPhoto] - multipart/form-data; boundary=---------------------------02468ace13579bdfcafebabef00d
[01/31/16 02:12PM][uploadPhoto] - ['multipart/form-data', ' boundary=---------------------------02468ace13579bdfcafebabef00d']
[01/31/16 02:12PM][uploadPhoto] - Extracted boundary: ---------------------------02468ace13579bdfcafebabef00d
[01/31/16 02:12PM][uploadPhoto] - Available multipart/form-data: ['SOAPENVELOPE', 'FILENAME']
[01/31/16 02:12PM][uploadPhoto] - SOAPENVELOPE: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:
[01/31/16 02:12PM][uploadPhoto] - Extracted elements: {'macaddress': u'00185648f664', 'filename': u'00178.MTS.tar', 'filesize': u'2124547072', 'filesignature': u'35310000
[01/31/16 02:12PM][uploadPhoto] - Using uid/gid 1024/100
[01/31/16 02:12PM][uploadPhoto] - Using file_mode 442
[01/31/16 02:12PM][uploadPhoto] - Using dir_mode 509
[01/31/16 02:12PM][uploadPhoto] - Generated path /volume1/apps/tmp/00178.MTS.tar
[01/31/16 02:12PM][uploadPhoto] - Opened file /volume1/apps/tmp/00178.MTS.tar for binary writing
[01/31/16 02:12PM][uploadPhoto] - Wrote file /volume1/apps/tmp/00178.MTS.tar
[01/31/16 02:12PM][uploadPhoto] - Closed file /volume1/apps/tmp/00178.MTS.tar
[01/31/16 02:12PM][uploadPhoto] - Extracting TAR file /volume1/apps/tmp/00178.MTS.tar
[01/31/16 02:12PM][uploadPhoto] - Creating folder /volume1/Photos/Eye-Fi/2015/Dec 25, 2015
[01/31/16 02:12PM][uploadPhoto] - imagePath /volume1/Photos/Eye-Fi/2015/Dec 25, 2015/00178.MTS
[01/31/16 02:12PM][uploadPhoto] - Closing TAR file /volume1/apps/tmp/00178.MTS.tar
[01/31/16 02:12PM][uploadPhoto] - Deleting TAR file /volume1/apps/tmp/00178.MTS.tar
[01/31/16 02:12PM][do_POST] - Upload response: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-E
192.168.1.171 - - [31/Jan/2016 14:12:45] "POST /api/soap/eyefilm/v1/upload HTTP/1.1" 200 -

It was first writing to /tmp which I thought maybe there isn't enough space so I now have a tmp directory on my /volume1
I commented out where the script deletes the tar file and I see that it is only 34kb (34,304) in size and I am unable to open the tar file

Any help would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant