Comments (11)
Could you check if GTG appears in one of these paths import site; print(site.getsitepackages())
from gtg.
I cloned the master and tried running gtg directly from the source directory...
$ cd gtg/GTG
$ python3 gtg
Traceback (most recent call last):
File "gtg", line 57, in <module>
from GTG import _
ImportError: No module named 'GTG'
from gtg.
cd /path/to/cloned/gtg
PYTHONPATH=. GTG/gtg
from gtg.
Thx, @tkdchen!
That fixed the issue w/ 'GTG' module not being found. However, it then reported the same for module 'liblarch'. I have python3-liblarch from the gtg-daily PPA, but it's in /usr/lib/python2.7/dist-packages
, so I tried the following (in /path/to/cloned/gtg
)...
$ PYTHONPATH=".:/usr/lib/python2.7/dist-packages" python3 GTG/gtg
Traceback (most recent call last):
File "GTG/gtg", line 51, in <module>
import dbus
File "/usr/lib/python2.7/dist-packages/dbus/__init__.py", line 82, in <module>
import dbus.types as types
File "/usr/lib/python2.7/dist-packages/dbus/types.py", line 6, in <module>
from _dbus_bindings import (
ImportError: /usr/lib/python2.7/dist-packages/_dbus_bindings.so: undefined symbol: _Py_ZeroStruct
(Let me know if I should create a new issue since the OP's issue is fixed for me.)
from gtg.
Version mismatch. Python3 cannot import Python2 modules.
from gtg.
So, python3-liblarch is actually a python2 module? If so, is there a python3 module of liblarch?
from gtg.
@akwala u may install liblarch from the master branch. That had been ported to Python 3.
from gtg.
It seems this is a problem with the PPA. Could you try to install liblarch with pip [1] and see if it works?
[1] pip3 install --user -e git+git://github.com/getting-things-gnome/liblarch.git#egg=liblarch
from gtg.
@izidormatusov Can you please build python3-liblarch with latest gtg in daily build PPA? Thanks.
from gtg.
As we are a new team taking over the maintainership of this project and the Python 3 migration was done a while ago already, it is difficult to guess if this problem still applies to the current development version. Furthermore, I do not have sufficient time and knowledge about packaging, and I do not run Ubuntu.
Please try out the git version and see if it improved anything or if the issue remains intact and is still relevant today.
Regarding the mentions of a PPA, if someone wants to bother maintaining a PPA, feel free to get involved to do that.
Alternatively, there is a Flatpak of the 0.3.1 stable version that exists thanks to @bilelmoussaoui and he once successfully packaged the git version.
from gtg.
This doesn't happen when running from the Flatpak, or using ./gtg.sh
in the git repo
from gtg.
Related Issues (20)
- Outdated meson.build HOT 1
- TypeError: '>' not supported between instances of 'NoneType' and 'NoneType' HOT 2
- Bug: Setting repeat changes already defined du date
- Inconsistent rules for tag names
- Effective due date isn't shown in main view
- Relative due dates don't update when the date changes HOT 1
- Can't select a date exactly a month away HOT 3
- AttributeError when setting start date HOT 1
- Reopening a task with children adds a blank line before the list of children
- Children's tasks no longer inherit their parent's tags
- Actionable child is missing from the Actionable view
- Migrate website away from wiki.gnome.org HOT 4
- Infinite loop of errors under GTK<4.10 after recent commit HOT 6
- Crashes on Launch HOT 4
- How to not show Tasks' pop-up window when GTG launches HOT 3
- Hamster integration HOT 1
- edit tag name HOT 2
- description preview shows & in place of &
- Cannot remove tags, selecting to delete the same tag twice induces crash HOT 6
- AttributeError: 'Date' object has no attribute 'year' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtg.