GTG

Comment 8 for bug 1275642

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

This time it installed (no error re congifuration) but still gave the syntax error:

Compiling /usr/lib/pymodules/python2.7/liblarch/tree.py ...
  File "/usr/lib/pymodules/python2.7/liblarch/tree.py", line 423
    print(output, end=' ')
                     ^
SyntaxError: invalid syntax

Setting up python-liblarch (2.2.0.r159~ubuntu13.10.1) ...
Setting up gtg (0.3.r1363~ubuntu13.10.1) ...
Processing triggers for python-support ...
Compiling /usr/lib/pymodules/python2.7/liblarch/tree.py ...
  File "/usr/lib/pymodules/python2.7/liblarch/tree.py", line 423
    print(output, end=' ')
                     ^
SyntaxError: invalid syntax
======

The same error occurs at runtime:

$ gtg
Traceback (most recent call last):
  File "/usr/bin/gtg", line 90, in <module>
    main()
  File "/usr/bin/gtg", line 83, in main
    elif import_liblarch(options.local_liblarch):
  File "/usr/share/gtg/GTG/tools/import_liblarch.py", line 60, in import_liblarch
    has_libraries, missing = check_liblarch()
  File "/usr/share/gtg/GTG/tools/import_liblarch.py", line 42, in check_liblarch
    import liblarch
  File "/usr/lib/pymodules/python2.7/liblarch/__init__.py", line 22, in <module>
    from liblarch.tree import MainTree
  File "/usr/lib/pymodules/python2.7/liblarch/tree.py", line 423
    print(output, end=' ')
                     ^
SyntaxError: invalid syntax
=====

I also tried explicitly with python3...

$ python3 /usr/share/gtg/gtg
GTG can't find liblarch and liblarch_gtk. To install missing libraries,
run the following command in the current folder:

git clone https://github.com/liblarch/liblarch ../liblarch

More information about liblarch: https://live.gnome.org/liblarch/
=====