← Back to team overview

gtg-user team mailing list archive

Re: Error while launching GTG

 

GTG is in python3, so you need to install python3 bindings of xdg.

I believe there's a python3-xdg or similar package in Ubuntu


On Tue, Feb 4, 2014 at 12:43 AM, Atit Anand <atit.anand.cs@xxxxxxxxx> wrote:

> Heya,Sorry for the trouble again. I did lot of google searches but cudnt
> come up with the solution.
>
>  pls check this link once for the commands and the corresponding result :
> output <http://paste.ubuntu.com/6868785/>
>
> I even have already installed python-xdg
>
> Am i missing something?
>
>
> On Mon, Feb 3, 2014 at 11:48 PM, Parin Porecha <parinporecha@xxxxxxxxx>wrote:
>
>> It means you don't have xdg installed in your system.
>>
>> Please do a google search to find which package you need to install.
>>
>> Most of the dependencies are common, and they don't need manual install
>> (eg: python3, dbus etc.)
>> If you want to build other applications also, you should do 'apt-get
>> install build-essential'
>> It'll install most of the basic dependencies softwares like GTG have.
>>
>>
>> On Mon, Feb 3, 2014 at 11:38 PM, Atit Anand <atit.anand.cs@xxxxxxxxx>wrote:
>>
>>> Heya there,
>>>
>>> that link solved the problem but again a different one is coming up
>>> now.I did a bit of google search so that i dont waste your time on simple
>>> matter but I cudnt come up with solution.
>>>
>>> there was error on this statement: "ImportError: No module named dbus".
>>> I did install Dbus n solved the problem but now it is showing error on
>>> "ImportError: No module named xdg.BaseDirectory"
>>>
>>> I guess my system is missing dependencies to run gtg.Is there any list
>>> of dependencies that I sud install.
>>>
>>>
>>>
>>> On Mon, Feb 3, 2014 at 11:21 PM, Parin Porecha <parinporecha@xxxxxxxxx>wrote:
>>>
>>>> Please refer this -
>>>> http://askubuntu.com/questions/159074/why-can-python3-not-import-gi-repository
>>>>
>>>>
>>>> On Mon, Feb 3, 2014 at 11:16 PM, Atit Anand <atit.anand.cs@xxxxxxxxx>wrote:
>>>>
>>>>> Heya there,
>>>>>
>>>>> After running "python3 ./gtg" i got this error :
>>>>>  " The program 'python3' is currently not installed.  You can install
>>>>> it by typing:
>>>>> sudo apt-get install python3-minimal"
>>>>> I did install python3-minimal after running the command.
>>>>> "whereis python3" command now gives this result :location<http://paste.ubuntu.com/6868355/>
>>>>>
>>>>> After again running this command "python3 ./gtg" i get following error:
>>>>> " File "./gtg", line 27, in <module>
>>>>>     from gi.repository.Gdk import Screen
>>>>> ImportError: No module named gi.repository.Gdk"
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Feb 3, 2014 at 11:06 PM, Parin Porecha <parinporecha@xxxxxxxxx
>>>>> > wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Nice to see you taking interest in GTG !
>>>>>>
>>>>>> I saw your question in #gtg,
>>>>>>
>>>>>> can you please tell me the output of "which python3" and
>>>>>> "/usr/bin/env python3" ?
>>>>>>
>>>>>> you said that you have python3 installed in /usr/lib, they are python
>>>>>> packages.
>>>>>> You're getting the '/usr/bin/env python3' error because the python
>>>>>> executable is not in your $PATH variable most probably.
>>>>>>
>>>>>> Running "python ./gtg" is giving that error because the default
>>>>>> python executable on your computer is python2, and GTG is in python3
>>>>>> Please run "python3 ./gtg" instead.
>>>>>>
>>>>>>
>>>>>> On Mon, Feb 3, 2014 at 10:40 PM, Atit Anand <atit.anand.cs@xxxxxxxxx>wrote:
>>>>>>
>>>>>>> Heya everyone,
>>>>>>>
>>>>>>> I have using gtg for quite sometime now and have made up of mind to
>>>>>>> contribute to this project in any possible way.
>>>>>>>  I followed everything written on this contribution page of gtg<https://wiki.gnome.org/Apps/gtg/contributing>but when i launch gtg by typing "./gtg" it give me following error :
>>>>>>>
>>>>>>> "/usr/bin/env: python3: No such file or directory"
>>>>>>>
>>>>>>> And when I try to run gtg using this command "python gtg" I get
>>>>>>> following error:
>>>>>>>
>>>>>>> Error <http://paste.ubuntu.com/6868170/>
>>>>>>>
>>>>>>> Any help will be really appreciated.
>>>>>>>
>>>>>>> Thanks & Regards,
>>>>>>> Atit Anand
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Mailing list: https://launchpad.net/~gtg-user
>>>>>>> Post to     : gtg-user@xxxxxxxxxxxxxxxxxxx
>>>>>>> Unsubscribe : https://launchpad.net/~gtg-user
>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Parin Porecha
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Parin Porecha
>>>>
>>>
>>>
>>
>>
>> --
>> Regards,
>> Parin Porecha
>>
>
>


-- 
Regards,
Parin Porecha

References