gtg 0.3.1 does not start on Ubuntu 14.04

Bug #1482752 reported by Anurag
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtg (Ubuntu)
New
Undecided
Unassigned

Bug Description

After a fresh install of Ubuntu 14.04 and installing gtg; I restored the gtg data from old backup, but gtg does not start at all.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gtg 0.3.1-1
ProcVersionSignature: Ubuntu 3.16.0-45.60~14.04.1-generic 3.16.7-ckt14
Uname: Linux 3.16.0-45-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Aug 7 15:17:03 2015
PackageArchitecture: all
SourcePackage: gtg
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Anurag (anurag1008) wrote :
tags: added: gtg
Revision history for this message
Anurag (anurag1008) wrote :

When I execute the gtg command in the terminal; The error I get is the following:

$ gtg
2015-08-07 15:26:33,837 - WARNING - __init__:__init__:74 - Backend backend_evolution could not be loaded: No module named evolution
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 121, in main
    ds, req = core_main_init(options, args)
  File "/usr/share/gtg/GTG/gtg.py", line 149, in core_main_init
    backends_list = BackendFactory().get_saved_backends_list()
  File "/usr/share/gtg/GTG/backends/__init__.py", line 174, in get_saved_backends_list
    self.restore_backend_from_xml(dic)
  File "/usr/share/gtg/GTG/backends/__init__.py", line 158, in restore_backend_from_xml
    dic["backend"] = module.Backend(dic)
  File "/usr/share/gtg/GTG/backends/backend_localfile.py", line 100, in __init__
    cleanxml.savexml(self.get_path(), self.doc, backup=True)
  File "/usr/share/gtg/GTG/tools/cleanxml.py", line 197, in savexml
    os.rename(zefile, tmpfile)
OSError: [Errno 13] Permission denied

Revision history for this message
Anurag (anurag1008) wrote :

When I execute the gtg command in the terminal as root with sudo; GTG opens but it does not show any tasks from the past data but does show search tags, obviously with zero tasks; as there are no tasks in the work view.

It displays the following warning:

$ sudo gtg
2015-08-07 15:29:39,217 - WARNING - __init__:__init__:74 - Backend backend_evolution could not be loaded: No module named evolution

I checked no plugins are enabled.

Revision history for this message
Izidor Matušov (izidor) wrote :

Hey Vigyani,

we moved our bug tracker over to github: https://github.com/getting-things-gnome/gtg

You have issue with the permissions on your folder in ~/.local/share/gtg/

The following command should fix the issue:

$ chmod -R 755 ~/.local/share/gtg

(You might need to restore your tasks again from the backup)

Revision history for this message
Anurag (anurag1008) wrote :

Hi Izidor

Thanks for your reply.

I change file ownership and permissions as suggested above.

Even then I continue to get the same error.

Any other suggestion?

Thanks

Revision history for this message
Izidor Matušov (izidor) wrote :

Can you provide the output of the following command?

$ ls -lR ~/.local/share/gtg

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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