I appreciate your response. I had uninstalled two installations of the
server as you mentioned and reinstalled it using
pip install --user tryton_health_profile
pip install --user tryton

that installed the server and client in ./local/ folder

so now when i run the command
tryton -c trytond

gnuhealth@ubuntu:~$ tryton -c trytond

(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>
    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'


Should i uninstall everything again and reinstall in a particular way. I
have not changed anything in known_hosts and tryton.conf file.



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

> On 08/12/11 00:36 -0800, PJ wrote:
> > New to Tryton and ubuntu. I have installed tryton server and client
> > and on running trytond it gives the following error
> >
> > Traceback (most recent call last):
> >   File "/usr/bin/trytond", line 30, in <module>
> >     trytond.server.TrytonServer().run()
> > TypeError: __init__() takes exactly 2 arguments (1 given)
>
> I think you mixed installation of different versions of the server.
> Perhaps one from Ubuntu package installer and one from PyPI?
>
> --
> 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