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
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.