[tor-bugs] #13779 [GetTor]: Create script to upload bundles to Google drive

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Dec 13 21:27:37 UTC 2014


#13779: Create script to upload bundles to Google drive
-----------------------------+------------------------------------
     Reporter:  ilv          |      Owner:  poly
         Type:  enhancement  |     Status:  needs_review
     Priority:  major        |  Milestone:
    Component:  GetTor       |    Version:
   Resolution:               |   Keywords:  revamp gettor provider
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+------------------------------------

Comment (by ilv):

 Hi poly, thanks for this. My comments:

  * I had no problems with steps 1) and 2), all good.
  * When I tried step 3) the script raises an UploadError error which is
 not defined. For some reason something fails when it tries to do
 drive_service.files().insert(...). Here is my output:

 {{{

 Uploading 'tor-browser-linux64-3.6.2_en-EN.tar.xz'...
 Traceback (most recent call last):
   File "bundles2drive.py", line 291, in <module>
     uploaded_files = upload_files(drive_service, upload_dir)
   File "bundles2drive.py", line 182, in upload_files
     raise UploadError
 NameError: global name 'UploadError' is not defined

 }}}
 What could be the reason?

 Also, where can I see all the files that I have uploaded?

 Thanks again.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13779#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list