GTG

Comment 19 for bug 1275642

Revision history for this message
aslam karachiwala (akwala) wrote :

Thought I'd strongarm the install so I forced an overwrite of python-liblarch (console output attached):
$ sudo dpkg -i --force-overwrite /var/cache/apt/archives/python3-liblarch_3.0.0.r178~ubuntu14.04.1_all.deb

Now I have...
$ apt-cache policy python3-liblarch
python3-liblarch:
  Installed: 3.0.0.r178~ubuntu14.04.1
  Candidate: 3.0.0.r178~ubuntu14.04.1
  Version table:
 *** 3.0.0.r178~ubuntu14.04.1 0
        500 http://ppa.launchpad.net/gtg/gtg-daily/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

Then I tried running gtg. Below is the console output from the things I tried.
=====
$ gtg
bash: /usr/bin/gtg: Permission denied

$ ls -l /usr/bin/gtg
lrwxrwxrwx 1 root root 20 Jul 10 12:32 /usr/bin/gtg -> ../share/gtg/GTG/gtg

$ ls -l /usr/share/gtg/GTG
total 68K
drwxr-xr-x 4 root root 4.0K Jul 17 22:32 backends/
drwxr-xr-x 4 root root 4.0K Jul 17 22:32 core/
drwxr-xr-x 6 root root 4.0K Jul 17 22:32 gtk/
drwxr-xr-x 14 root root 4.0K Jul 17 22:32 plugins/
drwxr-xr-x 2 root root 4.0K Jul 17 22:32 __pycache__/
drwxr-xr-x 3 root root 4.0K Jul 17 22:32 tools/
-rw-r--r-- 1 root root 15K Jul 10 10:34 gtcli
-rw-r--r-- 1 root root 8.0K Jul 10 10:34 gtg
-rw-r--r-- 1 root root 2.2K Jul 10 10:34 gtg_new_task
-rw-r--r-- 1 root root 12K Jul 10 10:34 info.py
-rw-r--r-- 1 root root 2.3K Jul 10 10:34 __init__.py

$ python3 /usr/bin/gtg
Traceback (most recent call last):
  File "/usr/bin/gtg", line 57, in <module>
    from GTG import _
ImportError: No module named 'GTG'

$ ls -l /usr/share/gtg
total 36K
drwxr-xr-x 8 root root 4.0K Jul 17 22:32 GTG/
-rwxr-xr-x 1 root root 15K Jul 10 12:31 gtcli*
-rw-r--r-- 1 root root 1.5K Jul 10 10:34 gtcli_bash_completion
-rwxr-xr-x 1 root root 7.9K Jul 10 12:31 gtg*
-rwxr-xr-x 1 root root 2.1K Jul 10 12:31 gtg_new_task*

$ /usr/share/gtg/gtg
Traceback (most recent call last):
  File "/usr/share/gtg/gtg", line 59, in <module>
    from GTG.backends import BackendFactory
  File "/usr/share/gtg/GTG/backends/__init__.py", line 32, in <module>
    from GTG.backends.genericbackend import GenericBackend
  File "/usr/share/gtg/GTG/backends/genericbackend.py", line 33, in <module>
    from GTG.core import CoreConfig
  File "/usr/share/gtg/GTG/core/__init__.py", line 40, in <module>
    import configparser
ImportError: No module named configparser

$ python3 /usr/share/gtg/gtg
Traceback (most recent call last):
  File "/usr/share/gtg/gtg", line 61, in <module>
    from GTG.core.datastore import DataStore
  File "/usr/share/gtg/GTG/core/datastore.py", line 35, in <module>
    from GTG.core import requester
  File "/usr/share/gtg/GTG/core/requester.py", line 26, in <module>
    from GTG.core.tag import Tag
  File "/usr/share/gtg/GTG/core/tag.py", line 30, in <module>
    from liblarch import TreeNode
ImportError: No module named 'liblarch'