latest update is the following

gnuhealth@ubuntu:~$ ~/.local/bin/trytond
[Fri Dec 09 05:12:23 2011] INFO:server:using default configuration
[Fri Dec 09 05:12:23 2011] INFO:server:initialising distributed objects
services
[Fri Dec 09 05:12:23 2011] DEBUG:psycopg2:installed. Logging using Python
logging module
Traceback (most recent call last):
  File "/home/gnuhealth/.local/bin/trytond", line 104, in <module>
    trytond.server.TrytonServer(options).run()
  File
"/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/server.py",
line 102, in run
    Pool.start()
  File
"/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/pool.py", line
71, in start
    register_classes(reload_p=reload_p)
  File
"/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/modules/__init__.py",
line 344, in register_classes
    for package in create_graph(get_module_list())[0]:
  File
"/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/modules/__init__.py",
line 160, in create_graph
    raise Exception('Module %s not found' % module)
Exception: Module health_socioeconomics not found


I am not sure why its failing on intialization ..

Thanks
Paras

On Fri, Dec 9, 2011 at 4:53 AM, Paras Jasani <[email protected]> wrote:

> 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