Issue #5 resolved

gett start error

knja
created an issue

{{{

!bash

$ sudo gett --help Traceback (most recent call last): File "/usr/local/bin/gett", line 9, in <module> load_entry_point('gett-cli==0.2.1', 'console_scripts', 'gett')() File "/Library/Python/2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 337, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/Library/Python/2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 2279, in load_entry_point return ep.load() File "/Library/Python/2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 1989, in load entry = import(self.module_name, globals(),globals(), ['name']) File "/Library/Python/2.7/site-packages/gett_cli-0.2.1-py2.7.egg/gett_uploader.py", line 26, in <module> from gett import * File "/Library/Python/2.7/site-packages/gett_cli-0.2.1-py2.7.egg/gett.py", line 22, in <module> from urllib.request import urlopen, Request ImportError: No module named request }}}

Comments (2)

  1. knja reporter

    everything is good again! You should only use Pyton3. thanks!

    $ gett --h
    usage: gett [-h] [-D] [-t TITLE] [-s SHARE] [-P] [--delete URL [URL ...]]
                [--list [SHARE_URL [SHARE_URL ...]]] [-L] [-e EMAIL] [-p PASSWORD]
                [-k TOKENFILE]
                [file [file ...]]
    
    A command-line Ge.tt uploader and manager
    
    optional arguments:
      -h, --help            show this help message and exit
      -D                    Debug API calls
    
    Upload options:
      file                  Name of a file or a directory to upload. Patterns are
                            allowed. This is not recursive.
      -t TITLE              Title of the newly created share
      -s SHARE              URL of the share to upload to (defaults to a newly
                            created one)
      -P                    Upload files in parallel rather than sequentially, the
                            progress bars are displayed in ascending file size
                            order
    
    Other actions:
      --delete URL [URL ...]
                            Delete a share or a file
      --list [SHARE_URL [SHARE_URL ...]]
                            List the files in the specified share. If no share is
                            specified, list all your shares.
    
    Authentification:
      -L                    Log-in with a different account than the stored one
                            (if any)
      -e EMAIL              Email to login with
      -p PASSWORD           Password to login with
      -k TOKENFILE          Ge.tt token file path (~/.gett-token)
    
    Note that whenever http://ge.tt/<share_name>[/v/<fileid>] is expected, you can
    omit the http://ge.tt/ part.
    
  2. Log in to comment