[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs