epic-video-archive's People
epic-video-archive's Issues
Broken pipe error
Is the part number just a coincidence?
Capture0000.mov part 10001.......Traceback (most recent call last):
File "/Users/video/Dropbox/Scripts/epic-video-archive/app.py", line 36, in <module>
main()
File "/Users/video/Dropbox/Scripts/epic-video-archive/app.py", line 29, in main
s3_manager.upload(connection, bucket, drive)
File "/Users/video/Dropbox/Scripts/epic-video-archive/s3_manager.py", line 51, in upload
mp.upload_part_from_file(fp, fp_num, cb=_percent_complete, num_cb=10, size=settings.s3_max_file_part_size)
File "/Library/Python/2.7/site-packages/boto/s3/multipart.py", line 260, in upload_part_from_file
query_args=query_args, size=size)
File "/Library/Python/2.7/site-packages/boto/s3/key.py", line 1291, in set_contents_from_file
chunked_transfer=chunked_transfer, size=size)
File "/Library/Python/2.7/site-packages/boto/s3/key.py", line 748, in send_file
chunked_transfer=chunked_transfer, size=size)
File "/Library/Python/2.7/site-packages/boto/s3/key.py", line 949, in _send_file_internal
query_args=query_args
File "/Library/Python/2.7/site-packages/boto/s3/connection.py", line 664, in make_request
retry_handler=retry_handler
File "/Library/Python/2.7/site-packages/boto/connection.py", line 1068, in make_request
retry_handler=retry_handler)
File "/Library/Python/2.7/site-packages/boto/connection.py", line 939, in _mexe
request.body, request.headers)
File "/Library/Python/2.7/site-packages/boto/s3/key.py", line 842, in sender
http_conn.send(chunk)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 805, in send
self.sock.sendall(data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 229, in sendall
v = self.send(data[count:])
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 198, in send
v = self._sslobj.write(data)
socket.error: [Errno 32] Broken pipe
Exclude non-mov files from upload
There's a bunch of spotlight and trash files getting uploaded... I've tried in the past to disable spotlight and trash on these drives but it's a losing battle. How about just slapping a condition on here? https://github.com/epicsf/epic-video-archive/blob/master/s3_manager.py#L34
Can't find config file when launched from different path
This regression was introduced in recent changes, but there wasn't any change to how the config file is loaded so it must be a version difference.
Anyway, the script we have to run this does something like python ~/path/to/app.py
and it fails out unable to find config.ini
. Works fine when manually cd
ing to the directory and running python app.py
.
Progress indicator would be nice
Can we just print the percentage of total file size complete when we log the part upload? Just part size times part number divided by total file size. I find myself manually multiplying the part number by the part size to figure it out.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.