UnboundLocalError: local variable 'database' referenced before assignment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scribes |
New
|
Undecided
|
Unassigned |
Bug Description
I have a rather annoying problem with scribes on Natty. I can't use search and replace or show white spaces. I will also
get an error if I try to manipulate the window. Below is a
if I try to resize/
Traceback (most recent call last):
File "/usr/lib/
set_
File "/usr/lib/
database.
UnboundLocalError: local variable 'database' referenced before assignment
alt+<period> gives me this error
Traceback (most recent call last):
File "/usr/lib/
set_
File "/usr/lib/
storage[KEY] = value
File "/usr/lib/
self.
File "/usr/lib/
%self.
sqlite3.
ctrl+f gives me this
Traceback (most recent call last):
File "/usr/lib/
if not self.__manager: self.__manager = self.__
File "/usr/lib/
return Manager(
File "/usr/lib/
Colorer(self, editor)
File "/usr/lib/
self.
File "/usr/lib/
self.__tag = self.__create_tag()
File "/usr/lib/
self.
ValueError: A tag named 'find_tag' is already in the tag table
%%%%%%
kain88@
kain88@
System Info: ('Linux', 'x200', '2.6.38-
Python Version: 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2]
System Byteorder: little
Python Modules: ('__builtin__', '__main__', '_ast', '_bisect', '_codecs', '_collections', '_functools', '_hashlib', '_locale', '_random', '_socket', '_sre', '_ssl', '_struct', '_symtable', '_warnings', '_weakref', 'array', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'errno', 'exceptions', 'fcntl', 'gc', 'grp', 'imp', 'itertools', 'marshal', 'math', 'operator', 'posix', 'pwd', 'select', 'signal', 'spwd', 'strop', 'sys', 'syslog', 'thread', 'time', 'unicodedata', 'xxsubtype', 'zipimport', 'zlib')
=======
Scribes Version: 0.4-dev-build954
Dbus Version: (0, 83, 1)
GTK+ Version: (2, 24, 4)
PyGTK Version: (2, 22, 0)
Psyco Not Installed
=======
Running Instance: 1
=======
Python Path: /usr/lib/
Plugin Path: /usr/lib/
Data Path: /usr/share/scribes
Executable Path: /usr/bin
=======
Backup ~/.config/scribes.
Remove ~/.config/scribes
Restart scribes.
See if it solves the problem.
Also install the latest version of Scribes via the PPA. You may need to remove the current version and reinstall again.
Thanks.