Hi Cedric

As mentioned before i unistalled the Ubuntu repository packages of trytond
and reinstalled tryton using pip install

Getting the following

gnuhealth@ubuntu:~/.local/bin$ ls
tryton  trytond
gnuhealth@ubuntu:~/.local/bin$ trytond
The program 'trytond' is currently not installed.  You can install it by
typing:
sudo apt-get install tryton-server

As you can see it shows the install but still complains about trytond not
installed.

Any pointers ?

Thanks
Paras

On Thu, Dec 8, 2011 at 4:28 AM, Cédric Krier <[email protected]> wrote:

> On 08/12/11 04:16 -0500, Paras Jasani wrote:
> > so now when i run the command
> > tryton -c trytond
> >
> > gnuhealth@ubuntu:~$ tryton -c trytond
>
> Why are you giving a specific option file?
>
> > (tryton:4308): Gtk-WARNING **: Unable to locate theme engine in
> > module_path: "pixmap",
> >
> > (tryton:4308): Gtk-WARNING **: Unable to locate theme engine in
> > module_path: "pixmap",
> >
> > (tryton:4308): Gtk-WARNING **: Unable to locate theme engine in
> > module_path: "pixmap",
> >
> > (tryton:4308): Gtk-WARNING **: Unable to locate theme engine in
> > module_path: "pixmap",
> > Traceback (most recent call last):
> >   File "/usr/bin/tryton", line 37, in <module>
>
> It looks like you got still Ubuntu installation file there.
> tryton should be located in ~/.local/bin/tryton
>
> >     import tryton
> >   File
> > "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/__init__.py",
> > line 3, in <module>
> >     import client
> >   File
> > "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/client.py",
> line
> > 19, in <module>
> >     import tryton.common as common
> >   File
> >
> "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/common/__init__.py",
> > line 3, in <module>
> >     from common import *
> >   File
> >
> "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/common/common.py",
> > line 25, in <module>
> >     import tryton.rpc as rpc
> >   File
> "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/rpc.py",
> > line 31, in <module>
> >     _FINGERPRINTS = Fingerprints()
> >   File
> >
> "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/fingerprints.py",
> > line 13, in __init__
> >     self.load()
> >   File
> >
> "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/fingerprints.py",
> > line 25, in load
> >     self[host] = sha1
> >   File
> >
> "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/fingerprints.py",
> > line 40, in __setitem__
> >     self.save()
> >   File
> >
> "/home/gnuhealth/.local/lib/python2.7/site-packages/tryton/fingerprints.py",
> > line 29, in save
> >     with open(KNOWN_HOSTS_PATH, 'w') as known_hosts:
> > IOError: [Errno 13] Permission denied:
> > '/home/gnuhealth/.config/tryton/2.2/known_hosts'
>
> You must fix the permission error on this file.
>
> PS: Please don't top-post as explain in
> https://groups.google.com/d/topic/tryton/-IA9TLq5qag/discussion
> --
> Cédric Krier
>
> B2CK SPRL
> Rue de Rotterdam, 4
> 4000 Liège
> Belgium
> Tel: +32 472 54 46 59
> Email/Jabber: [email protected]
> Website: http://www.b2ck.com/
>

-- 
[email protected] mailing list

Reply via email to