Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identicurse crashes - Value error for chr (occurs when entring in a message) #20

Open
tsyesika opened this issue Dec 3, 2012 · 1 comment

Comments

@tsyesika
Copy link

tsyesika commented Dec 3, 2012

I am using master and was entering in a dent (don't remember what) and it crashed on me producing the traceback:

Traceback (most recent call last):
  File "/usr/bin/identicurse", line 9, in <module>
    load_entry_point('identicurse==0.10-dev', 'console_scripts', 'identicurse')()
  File "/usr/lib/python2.6/site-packages/identicurse-0.10_dev-py2.6.egg/identicurse/__init__.py", line 126, in main
    IdentiCurse(additional_config)
  File "/usr/lib/python2.6/site-packages/identicurse-0.10_dev-py2.6.egg/identicurse/identicurse.py", line 467, in __init__
    curses.wrapper(self.initialise)
  File "/usr/lib/python2.6/curses/wrapper.py", line 43, in wrapper
    return func(stdscr, *args, **kwds)
  File "/usr/lib/python2.6/site-packages/identicurse-0.10_dev-py2.6.egg/identicurse/identicurse.py", line 932, in initialise
    self.loop()
  File "/usr/lib/python2.6/site-packages/identicurse-0.10_dev-py2.6.egg/identicurse/identicurse.py", line 1084, in loop
    self.parse_input(self.text_entry.edit())
  File "/usr/lib/python2.6/site-packages/identicurse-0.10_dev-py2.6.egg/identicurse/textbox.py", line 185, in edit
    elif ch <= 127 and chr(ch) in string.printable:
ValueError: chr() arg not in range(256)

I'm using SL/Centos/RHEL's python 2.6.6

@psquid
Copy link
Member

psquid commented Feb 28, 2013

Looks like unicode trouble (again). I'm gonna assign this to moggers, since he seems to be better at untangling that mess.

@ghost ghost assigned moggers87 Feb 28, 2013
@moggers87 moggers87 removed their assignment Jul 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants