gtg-contributors team mailing list archive
-
gtg-contributors team
-
Mailing list archive
-
Message #01290
[Bug 1583549] [NEW] gtg fails to start with malformed xml
Public bug reported:
Description: Ubuntu 14.04.4 LTS
Release: 14.04
gtg fails to start - a nasty surprise! Traceback as follows:
***********************************************
2016-05-18 05:17:36,452 - WARNING - __init__:__init__:74 - Backend backend_evolution could not be loaded: No module named evolution
2016-05-18 05:17:36,490 - WARNING - __init__:__init__:74 - Backend backend_launchpad could not be loaded: No module named launchpadlib.launchpad
2016-05-18 05:17:36,491 - WARNING - __init__:__init__:74 - Backend backend_mantis could not be loaded: No module named suds.client
Traceback (most recent call last):
File "/usr/bin/gtg", line 89, in <module>
main()
File "/usr/bin/gtg", line 85, in main
sys.exit(gtg.main(options, args))
File "/usr/share/gtg/GTG/gtg.py", line 123, in main
manager = Manager(req)
File "/usr/share/gtg/GTG/gtk/manager.py", line 84, in __init__
self.browser = TaskBrowser(self.req, self)
File "/usr/share/gtg/GTG/gtk/browser/browser.py", line 127, in __init__
self.on_select_tag()
File "/usr/share/gtg/GTG/gtk/browser/browser.py", line 1184, in on_select_tag
self.apply_filter_on_panes(tagname)
File "/usr/share/gtg/GTG/gtk/browser/browser.py", line 1161, in apply_filter_on_panes
vtree.apply_filter(filter_name, refresh=refresh)
File "/usr/lib/python2.7/dist-packages/liblarch/viewtree.py", line 276, in apply_filter
self.__ft.apply_filter(filter_name, parameters, reset, refresh)
File "/usr/lib/python2.7/dist-packages/liblarch/filteredtree.py", line 635, in apply_filter
self.refilter()
File "/usr/lib/python2.7/dist-packages/liblarch/filteredtree.py", line 313, in refilter
self.send_remove_tree(node_id, self.root_id)
File "/usr/lib/python2.7/dist-packages/liblarch/filteredtree.py", line 287, in send_remove_tree
self.callback('deleted', node_id, path)
File "/usr/lib/python2.7/dist-packages/liblarch/filteredtree.py", line 124, in callback
func(node_id,path)
File "/usr/lib/python2.7/dist-packages/liblarch/viewtree.py", line 115, in __emit
func(node_id,path)
File "/usr/lib/python2.7/dist-packages/liblarch_gtk/treemodel.py", line 161, in remove_task
raise Exception("Trying to remove node %s with no iterator"%node_id)
Exception: Trying to remove node 144@1 with no iterator
***********************************************
I removed the offending node from the .xml file, pasted below, and was
able to restart:
<task id="144@1" status="Active" tags="@Periodic,@Finance,@WORKSTATION" uuid="25baaec7-1358-42f9-be58-b2bbe89c97f9">
<title>QTRLY Finance Download (NET 21st)</title>
<duedate>2016-10-05</duedate>
<modified>2016-05-17T07:40:07</modified>
<startdate>2016-09-21</startdate>
<content><tag>@WORKSTATION</tag>
<tag>@Periodic</tag> <tag>@Finance</tag>
http://192.168.0.4/mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
05/07/2016</content>
<task-remote-ids/>
</task>
Still loving this program - wish I had the skill to help out!
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gtg 0.3.1-1
ProcVersionSignature: Ubuntu 3.13.0-86.131-generic 3.13.11-ckt39
Uname: Linux 3.13.0-86-generic i686
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: i386
CurrentDesktop: LXDE
Date: Thu May 19 06:46:06 2016
InstallationDate: Installed on 2015-04-06 (408 days ago)
InstallationMedia: Lubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140416.2)
PackageArchitecture: all
SourcePackage: gtg
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: gtg (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug crash i386 trusty
--
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to gtg in Ubuntu.
https://bugs.launchpad.net/bugs/1583549
Title:
gtg fails to start with malformed xml
Status in gtg package in Ubuntu:
New
Bug description:
Description: Ubuntu 14.04.4 LTS
Release: 14.04
gtg fails to start - a nasty surprise! Traceback as follows:
***********************************************
2016-05-18 05:17:36,452 - WARNING - __init__:__init__:74 - Backend backend_evolution could not be loaded: No module named evolution
2016-05-18 05:17:36,490 - WARNING - __init__:__init__:74 - Backend backend_launchpad could not be loaded: No module named launchpadlib.launchpad
2016-05-18 05:17:36,491 - WARNING - __init__:__init__:74 - Backend backend_mantis could not be loaded: No module named suds.client
Traceback (most recent call last):
File "/usr/bin/gtg", line 89, in <module>
main()
File "/usr/bin/gtg", line 85, in main
sys.exit(gtg.main(options, args))
File "/usr/share/gtg/GTG/gtg.py", line 123, in main
manager = Manager(req)
File "/usr/share/gtg/GTG/gtk/manager.py", line 84, in __init__
self.browser = TaskBrowser(self.req, self)
File "/usr/share/gtg/GTG/gtk/browser/browser.py", line 127, in __init__
self.on_select_tag()
File "/usr/share/gtg/GTG/gtk/browser/browser.py", line 1184, in on_select_tag
self.apply_filter_on_panes(tagname)
File "/usr/share/gtg/GTG/gtk/browser/browser.py", line 1161, in apply_filter_on_panes
vtree.apply_filter(filter_name, refresh=refresh)
File "/usr/lib/python2.7/dist-packages/liblarch/viewtree.py", line 276, in apply_filter
self.__ft.apply_filter(filter_name, parameters, reset, refresh)
File "/usr/lib/python2.7/dist-packages/liblarch/filteredtree.py", line 635, in apply_filter
self.refilter()
File "/usr/lib/python2.7/dist-packages/liblarch/filteredtree.py", line 313, in refilter
self.send_remove_tree(node_id, self.root_id)
File "/usr/lib/python2.7/dist-packages/liblarch/filteredtree.py", line 287, in send_remove_tree
self.callback('deleted', node_id, path)
File "/usr/lib/python2.7/dist-packages/liblarch/filteredtree.py", line 124, in callback
func(node_id,path)
File "/usr/lib/python2.7/dist-packages/liblarch/viewtree.py", line 115, in __emit
func(node_id,path)
File "/usr/lib/python2.7/dist-packages/liblarch_gtk/treemodel.py", line 161, in remove_task
raise Exception("Trying to remove node %s with no iterator"%node_id)
Exception: Trying to remove node 144@1 with no iterator
***********************************************
I removed the offending node from the .xml file, pasted below, and was
able to restart:
<task id="144@1" status="Active" tags="@Periodic,@Finance,@WORKSTATION" uuid="25baaec7-1358-42f9-be58-b2bbe89c97f9">
<title>QTRLY Finance Download (NET 21st)</title>
<duedate>2016-10-05</duedate>
<modified>2016-05-17T07:40:07</modified>
<startdate>2016-09-21</startdate>
<content><tag>@WORKSTATION</tag>
<tag>@Periodic</tag> <tag>@Finance</tag>
http://192.168.0.4/mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
05/07/2016</content>
<task-remote-ids/>
</task>
Still loving this program - wish I had the skill to help out!
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gtg 0.3.1-1
ProcVersionSignature: Ubuntu 3.13.0-86.131-generic 3.13.11-ckt39
Uname: Linux 3.13.0-86-generic i686
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: i386
CurrentDesktop: LXDE
Date: Thu May 19 06:46:06 2016
InstallationDate: Installed on 2015-04-06 (408 days ago)
InstallationMedia: Lubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140416.2)
PackageArchitecture: all
SourcePackage: gtg
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtg/+bug/1583549/+subscriptions