octogit icon indicating copy to clipboard operation
octogit copied to clipboard

Crash after login

Open Satshabad opened this issue 12 years ago • 2 comments

After logging in I get this message:

> octogit login                   
Github username: satshabad
Password for satshabad: 
You have successfully been authenticated with Github

Traceback (most recent call last):
  File "/usr/local/bin/octogit", line 9, in <module>
    load_entry_point('octogit==0.3.3', 'console_scripts', 'octogit')()
 File "/usr/local/lib/python2.7/dist-packages/octogit-0.3.3-py2.7.egg/octogit/cli.py", line 170, in begin
   login(username, password)
  File "/usr/local/lib/python2.7/dist-packages/octogit-0.3.3-py2.7.egg/octogit/config.py", line 97, in login
    set_username(username)
  File "/usr/local/lib/python2.7/dist-packages/octogit-0.3.3-py2.7.egg/octogit/config.py", line 78, in set_username
    config.set('octogit', 'username', username)
  File "/usr/lib/python2.7/ConfigParser.py", line 396, in set
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'octogit'

Looks like something to do with the Config.

Satshabad avatar Jan 29 '13 06:01 Satshabad

Weird. Try trashing the ~/.config/octogit/ directory and logging in again

dbr avatar Jan 29 '13 12:01 dbr

@Satshabad try what @dbr suggested if that doesn't work it probably has to do with the OAuth branch I merged in awhile back that I still needed to test.

Let me know if it doesn't work, I will fix it when I get home tonight.

myusuf3 avatar Jan 29 '13 14:01 myusuf3