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

strange error messages on lauch, but it works #31

Open
legluondunet opened this issue Jan 14, 2011 · 0 comments
Open

strange error messages on lauch, but it works #31

legluondunet opened this issue Jan 14, 2011 · 0 comments

Comments

@legluondunet
Copy link

Hello,

when I launch pastie from command line I obtain this error message, but it works:

[code]
legluon@dunet-home:~$ Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/pastielib/protector.py", line 278, in update_menu
label = i.get_label()
File "/usr/lib/pymodules/python2.6/pastielib/history.py", line 189, in get_label
first_file, path_list[last] = balanced_constraint_shorten((first_file, path_list[last]), available)
File "/usr/lib/pymodules/python2.6/pastielib/history.py", line 116, in balanced_constraint_shorten
string_ratio = Fraction(len(pair[0]),len(pair[1]))
File "/usr/lib/python2.6/fractions.py", line 98, in new
raise ZeroDivisionError('Fraction(%s, 0)' % numerator)
ZeroDivisionError: Fraction(68, 0)
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/pastielib/protector.py", line 278, in update_menu
label = i.get_label()
File "/usr/lib/pymodules/python2.6/pastielib/history.py", line 189, in get_label
first_file, path_list[last] = balanced_constraint_shorten((first_file, path_list[last]), available)
File "/usr/lib/pymodules/python2.6/pastielib/history.py", line 116, in balanced_constraint_shorten
string_ratio = Fraction(len(pair[0]),len(pair[1]))
File "/usr/lib/python2.6/fractions.py", line 98, in new
raise ZeroDivisionError('Fraction(%s, 0)' % numerator)
ZeroDivisionError: Fraction(68, 0)
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/pastielib/protector.py", line 278, in update_menu
label = i.get_label()
File "/usr/lib/pymodules/python2.6/pastielib/history.py", line 189, in get_label
first_file, path_list[last] = balanced_constraint_shorten((first_file, path_list[last]), available)
File "/usr/lib/pymodules/python2.6/pastielib/history.py", line 116, in balanced_constraint_shorten
string_ratio = Fraction(len(pair[0]),len(pair[1]))
File "/usr/lib/python2.6/fractions.py", line 98, in new
raise ZeroDivisionError('Fraction(%s, 0)' % numerator)
ZeroDivisionError: Fraction(68, 0)
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/pastielib/protector.py", line 278, in update_menu
label = i.get_label()
File "/usr/lib/pymodules/python2.6/pastielib/history.py", line 48, in get_label
l = unicode(self.payload[:length+length]).strip(' ')
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc3 in position 99: unexpected end of data
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/pastielib/protector.py", line 278, in update_menu
label = i.get_label()
File "/usr/lib/pymodules/python2.6/pastielib/history.py", line 48, in get_label
l = unicode(self.payload[:length+length]).strip(' ')
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc3 in position 99: unexpected end of data

[/code]


is it normal on Ubuntu Maverick?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant