Crash on start - "Tag instance has no attribute 'replace'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Fix Released
|
Critical
|
Luca Invernizzi |
Bug Description
Running gtg trunk results in a crash with the following error. Also, it causes tags.xml to zero:
-rw-r--r-- 1 bryce bryce 0 2010-05-19 11:14 tags.xml
-rw-r--r-- 1 bryce bryce 702 2010-05-19 11:14 tags.xml__
Even the (backup?) is invalid. The correct size of tags.xml is:
-rw-r--r-- 1 bryce bryce 3839 2010-05-19 11:14 tags.xml
Original exception was:
Traceback (most recent call last):
File "./gtg", line 52, in <module>
sys.
File "/home/
ds = DataStore()
File "/home/
self.tagstore = tagstore.
File "/home/
tag.
File "/home/
self._save()
File "/home/
cleanxml.
File "/home/
pretty = doc.toprettyxml
File "/usr/lib/
self.
File "/usr/lib/
node.
File "/usr/lib/
node.
File "/usr/lib/
_write_
File "/usr/lib/
data = data.replace("&", "&"
AttributeError: Tag instance has no attribute 'replace'
Related branches
Changed in gtg: | |
status: | New → Fix Committed |
Changed in gtg: | |
milestone: | 0.3 → 0.2.9 |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
This crash occurs with revisions 757 and 758, but not in revision 756 or earlier.