Paras
Jasani <address@hidden> wrote on Fri, 9
Dec 2011 05:52:55 -0500:
Tried again the following is the result
address@hidden:~$ pip install --user trytond_health_profile
Requirement already satisfied (use --upgrade to upgrade):
trytond-health-profile in ./.local/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade):
trytond-health==1.4.2 in ./.local/lib/python2.7/site-packages
(from trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond-health-socioeconomics==1.4.2 in
./.local/lib/python2.7/site-packages (from trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond-health-lifestyle==1.4.2 in
./.local/lib/python2.7/site-packages (from trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond-health-genetics==1.4.2 in
./.local/lib/python2.7/site-packages (from trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond-health-icd10==1.4.2 in
./.local/lib/python2.7/site-packages (from trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond-health-gyneco==1.4.2 in
./.local/lib/python2.7/site-packages (from trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond-health-pediatrics==1.4.2 in
./.local/lib/python2.7/site-packages (from trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond-health-surgery==1.4.2 in
./.local/lib/python2.7/site-packages (from trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond-health-lab==1.4.2 in ./.local/lib/python2.7/site-packages
(from trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond-health-inpatient==1.4.2 in
./.local/lib/python2.7/site-packages (from trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond>=2.2,<2.3 in ./.local/lib/python2.7/site-packages
(from trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond-product>=2.2,<2.3 in
./.local/lib/python2.7/site-packages (from
trytond-health==1.4.2->trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond-party>=2.2,<2.3 in
./.local/lib/python2.7/site-packages (from
trytond-health==1.4.2->trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond-company>=2.2,<2.3 in
./.local/lib/python2.7/site-packages (from
trytond-health==1.4.2->trytond-health-profile)
Requirement
already satisfied (use --upgrade to upgrade): lxml>=2.0 in
/usr/lib/python2.7/dist-packages (from
trytond>=2.2,<2.3->trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
relatorio>=0.2.0 in /usr/lib/pymodules/python2.7 (from
trytond>=2.2,<2.3->trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade): Genshi
in /usr/lib/python2.7/dist-packages (from
trytond>=2.2,<2.3->trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
python-dateutil in /usr/lib/python2.7/dist-packages (from
trytond>=2.2,<2.3->trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade): polib in
./.local/lib/python2.7/site-packages (from
trytond>=2.2,<2.3->trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond-country>=2.2,<2.3 in
./.local/lib/python2.7/site-packages (from
trytond-party>=2.2,<2.3->trytond-health==1.4.2->trytond-health-profile)
Requirement already satisfied (use --upgrade to upgrade):
trytond-currency>=2.2,<2.3 in
./.local/lib/python2.7/site-packages (from
trytond-company>=2.2,<2.3->trytond-health==1.4.2->trytond-health-profile)
Cleaning up...
It didn't install anything new but seems like it has some
references to unbuntu directories I have highlighted one portion.
what do you suggest ?
I don't think that's the problem. What is more noticeable is that
there is no reference to health_socioeconomics module among the
above output. So, it seems that it it not expected to be required by
health_profile and its dependencies. I wonder why it is being asked
for when you run trytond (Maybe some config files somewhere or...?!
I don't know).
Anyway, you should be able to solve the problem by installing
health_socioeconomics module using pip. Therefor, run the following
command:
pip install --user trytond_health_socioeconomics
And see if it solves your problem.
Good luck,
Hedayat
Thanks
Paras
On Fri, Dec 9, 2011 at 5:41 AM, Hedayat Vatankhah <address@hidden>
wrote:
Paras Jasani <address@hidden>
wrote on Fri, 9 Dec 2011 05:40:28 -0500:
I think pip installation has not finished successfully. Try
again and make sure that it terminates successfully.
Regards,
Hedayat
Thanks
Paras
On Fri, Dec 9, 2011 at 5:33
AM, Hedayat Vatankhah <address@hidden>
wrote:
Hi,
Paras Jasani <address@hidden>
wrote on Fri, 9 Dec 2011 05:26:25 -0500:
latest update is
address@hidden:~$ ~/.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
How did you installed using pip? Apparently, it
doesn't find health_socioeconomics module of gnu
health (you should be able to find a directory
with this name under
/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/modules/).
Good luck,
Hedayat
I am not sure why its failing on
intialization
Thanks
Paras
On Fri, Dec 9,
2011 at 4:42 AM, Paras Jasani <address@hidden>
wrote:
Hi Hedayat
I deleted packages from Ubuntu
repositories and reinstalled trytond
using pip installer. The following
thing is happening
address@hidden:~/.local/bin$
ls
tryton trytond
address@hidden:~/.local/bin$
trytond
The program 'trytond' is currently not
installed. You can install it by
typing:
sudo apt-get install tryton-server
I have also removed /etc/trytond.conf
I am not sure why is it saying trytond
is not installed even though I have it
installed.
I appreciate your responses.
Thanks
Paras
On Thu,
Dec 8, 2011 at 9:18 AM, Hedayat
Vatankhah <address@hidden>
wrote:
Hi Paras,
Looks like that you've
installed tryton from both
Ubuntu repositories (as
the binary refers to
/usr/bin/trytond) which is
tryton version 2.0 and
using python pip installer
(which installs tryton
2.2). Remove packages
installed from Ubuntu
repositories and also your
/etc/trytond.conf, and you
should be able to run
tryton from your
~/.local/bin/
Good luck,
Hedayat
Paras Jasani <address@hidden>
wrote on Thu, 8 Dec 2011
04:09:21 -0500:
New
to Ubuntu and Tryton.
I have been trying to
install gnu health. I
followed all
instructions given in
wiki page. When i try
to boot the tryton
server it gives the
following error
address@hidden:~$
trytond
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)
when i use tryton -c
trytond
address@hidden:~$
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'
Can some please help
me as its important to
run the gun health
module to take in the
patient records.
Thanks
paras
|