Giter Club home page Giter Club logo

epic-video-archive's People

Contributors

tfe avatar tknickman avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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

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 cding 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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.