GTG

gtg doesn't launch anymore

Bug #500566 reported by R. Rigaud
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Critical
Luca Invernizzi

Bug Description

I installed GTG on Archlinux via AUR (0.2)

It worked : Add / Del / Edit / Drag / DropTasks, Tags,...

But one time, I closed it and no way to launch it again.

In the terminal, I got :

[raph@myhost ~]$ gtg
Traceback (most recent call last):
  File "/usr/bin/gtg", line 40, in <module>
    sys.exit(GTG.gtg.main(options, args))
  File "/usr/lib/python2.6/site-packages/GTG/gtg.py", line 122, in main
    tb.main()
  File "/usr/lib/python2.6/site-packages/GTG/taskbrowser/browser.py", line 1618, in main
    self.restore_state_from_conf()
  File "/usr/lib/python2.6/site-packages/GTG/taskbrowser/browser.py", line 623, in restore_state_from_conf
    ted = self.open_task(t)
  File "/usr/lib/python2.6/site-packages/GTG/taskbrowser/browser.py", line 743, in open_task
    t = self.req.get_task(uid)
  File "/usr/lib/python2.6/site-packages/GTG/core/requester.py", line 72, in get_task
    task = self.ds.get_task(tid)
  File "/usr/lib/python2.6/site-packages/GTG/core/datastore.py", line 68, in get_task
    empty_task = self.new_task(tid,newtask=False)
  File "/usr/lib/python2.6/site-packages/GTG/core/datastore.py", line 104, in new_task
    uid,pid = tid.split('@') #pylint: disable-msg=W0612
ValueError: need more than 1 value to unpack

Is it a real bug ? Or is it my mystake ?

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

could you attach the files located in .local/share/gtg/ ?

Be sure to remove any personal information.

Could you also try a tar.gz version (or the trunk version) to see if it's a packaging bug or not?

Revision history for this message
R. Rigaud (raph-rigaud) wrote :

Here are these files.

I'll try tar.gz version as soon as I can

Revision history for this message
R. Rigaud (raph-rigaud) wrote :

I reinstalled GTG via AUR, I reboot but still the same error.

I really don't understand : From the first install, and utilisation... to the error, I have :
- Add / edit / drag / drop / del tasks and tags
- close / launch GTG at least one time

I had no bug, no freeze, no new installation... I just closed GTG and relaunched a few minutes later, and I had this error...
I tryed to delete my .local/share/gtg folder but no way to launch properly GTG again.

I read the AUR install script for GTG : Seems to be very normal... and it was working the first time...

Revision history for this message
Bertrand Rousseau (bertrand-rousseau) wrote : Re: [Bug 500566] Re: gtg doesn't launch anymore

It looks like it fails to restore opened tasks, I don't know why. You
could try to delete your .config/gtg/ folder as well to return to a
blank configuration.

On Sun, Dec 27, 2009 at 1:24 AM, Raphael Rigaud <email address hidden> wrote:
> I reinstalled GTG via AUR, I reboot but still the same error.
>
> I really don't understand : From the first install, and utilisation... to the error, I have :
> - Add / edit / drag / drop / del tasks and tags
> - close / launch GTG at least one time
>
> I had no bug, no freeze, no new installation... I just closed GTG and relaunched a few minutes later, and I had this error...
> I tryed to delete my .local/share/gtg folder but no way to launch properly GTG again.
>
> I read the AUR install script for GTG : Seems to be very normal... and
> it was working the first time...
>
> --
> gtg doesn't launch anymore
> https://bugs.launchpad.net/bugs/500566
> You received this bug notification because you are subscribed to Getting
> Things GNOME!.
>

--
Bertrand Rousseau

Revision history for this message
R. Rigaud (raph-rigaud) wrote :

You're right !

It works...

Thanks for the "temp" tip.

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

Did you keep a copy of .config/gtg folder so we can have a look at it and see what was wrong with it ?

Changed in gtg:
milestone: none → 0.2.1
Revision history for this message
R. Rigaud (raph-rigaud) wrote :

I didn't make a backup of my config files but I read them : it seemed to be clean, nothing special, just window positions...

If the problem reappears, I will post it here.

Changed in gtg:
status: New → Invalid
Changed in gtg:
milestone: 0.2.1 → none
Revision history for this message
Yanko Kaneti (yaneti) wrote :

Please see this downstream fedora report https://bugzilla.redhat.com/show_bug.cgi?id=565224
Somehow "opened_tasks = None," ended up in gtg.conf and new_task is tripping on "None"

Changed in gtg:
status: Invalid → Confirmed
Changed in gtg:
assignee: nobody → Luca Invernizzi (invernizzi)
importance: Undecided → Critical
status: Confirmed → Triaged
Revision history for this message
Luca Invernizzi (invernizzi) wrote :

Hello Yanko,
the bug has been fixed in our trunk and backported to gtg 0.2.1 (https://code.edge.launchpad.net/~gtg/gtg/release-0.2).

Changed in gtg:
status: Triaged → Fix Committed
milestone: none → 0.2.1
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.