psquid/IdentiCurse — Issue #12: /user(n) request results in crash
Author: satipera
Created: 2012-01-24 17:02:32+00:00
State: open

guest-3BYXku@ubuntu:~$ identicurse
Welcome to IdentiCurse 0.8.2 (Holyhead) - #metamicroblogging
No config was found, so we will now run through a few quick questions to set up a basic config for you (which will be saved as /tmp/guest-3BYXku/.identicurse/config.json so you can manually edit it later). If the default (where defaults are available, they're stated in []) is already fine for any question, just press Enter without typing anything, and the default will be used.
This version of IdentiCurse supports OAuth login. Using OAuth to log in means that you do not need to enter your username and password.
Use OAuth [Y/n]? n
Username: satipera
Password:
API path [https://identi.ca/api]:
Auto-refresh interval (in whole seconds) [60]:
Number of notices to fetch per timeline page [25]:
Okay! Everything seems good! Your new config will now be saved, then IdentiCurse will start properly.
Traceback (most recent call last):
File "/usr/local/bin/identicurse", line 9, in
load_entry_point('identicurse==0.8', 'console_scripts', 'identicurse')()
File "/usr/local/lib/python2.7/dist-packages/identicurse-0.8-py2.7.egg/identicurse/__init__.py", line 112, in main
IdentiCurse(additional_config)
File "/usr/local/lib/python2.7/dist-packages/identicurse-0.8-py2.7.egg/identicurse/identicurse.py", line 481, in __init__
curses.wrapper(self.initialise)
File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/local/lib/python2.7/dist-packages/identicurse-0.8-py2.7.egg/identicurse/identicurse.py", line 738, in initialise
self.loop()
File "/usr/local/lib/python2.7/dist-packages/identicurse-0.8-py2.7.egg/identicurse/identicurse.py", line 875, in loop
self.parse_input(self.text_entry.edit())
File "/usr/local/lib/python2.7/dist-packages/identicurse-0.8-py2.7.egg/identicurse/identicurse.py", line 1249, in parse_input
user = self.tabs[self.current_tab].timeline[int(token) - 1]["user"]["screen_name"]
ValueError: invalid literal for int() with base 10: '/user1'
guest-3BYXku@ubuntu:~$