health
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health] GNU Health 1.4.3 start up problem


From: Craig Barnes
Subject: Re: [Health] GNU Health 1.4.3 start up problem
Date: Fri, 10 Feb 2012 01:18:42 +0000

On 9 February 2012 22:05, ronald munjoma <address@hidden> wrote:
> Hi Craig,
>
> now getting a different error, please see below, your assitance will be
> greatly appreciated:
>
> address@hidden:~/.local/bin$ ./trytond
>
> Traceback (most recent call last):
>   File "./trytond", line 104, in <module>
>     trytond.server.TrytonServer(options).run()
>   File
> "/home/gnuhealth/.local/lib/python2.6/site-packages/trytond/server.py", line
> 30, in __init__
>     CONFIG.update_etc(options['configfile'])
>   File
> "/home/gnuhealth/.local/lib/python2.6/site-packages/trytond/config.py", line
> 109, in update_etc
>     get_port(netloc, name)) for netloc in value.split(',')]
> AttributeError: 'bool' object has no attribute 'split'
>
>
> Regards and thanks
> Ronald Munjoma
>
Hi Ronald,

According to the archives [1], this can be caused by an old config
file  from an earlier version installation.

Check to see if you have a trytond.conf file in your /etc folder, if
so remove (or rename) it.

[1] http://lists.gnu.org/archive/html/health-dev/2011-11/msg00014.html

Regards

Craig

>
> On 9 February 2012 21:00, Craig Barnes <address@hidden> wrote:
>>
>> On 9 February 2012 18:45, Craig Barnes <address@hidden> wrote:
>> > Hi Ronald,
>> >
>> > On 8 February 2012 20:46, Luis Falcon <address@hidden> wrote:
>> >> Hi Ronald !
>> >>
>> >> On Wed, Feb 8, 2012 at 5:07 PM, ronald munjoma <address@hidden>
>> >> wrote:
>> >>> Hi Craig,
>> >>>
>> >>>
>> >>> On 7 February 2012 22:08, Craig Barnes <address@hidden> wrote:
>> >>>>
>> >>>> Hi Ronald,
>> >>>>
>> >>>> I run tryton & trytond in a virtualenv routinely,  what steps have
>> >>>> you
>> >>>> gone through?
>> >>>
>> >>>
>> >>> It looks like Trytond is not been installed, please find below the
>> >>> environment and steps I have taken:
>> >>>
>> >>> OS:  Debian 6.03 Server, also tried same process on Ubuntu 10.04
>> >>> Server
>> >>> (virtualbox virtual machines on a Windows 7 host)
>> >>>
>> >>> Installed virtualenv, following instructions from here:
>> >>> http://www.pip-installer.org/en/latest/installing.html
>> >>>
>> >>> actived my virtualenv,
>> >>>
>> >>> ran: pip intsall --user trytond_health_profile (in virtualenv)
>> >>>
>> >>> It runs without an errors
>> >>>
>> >>> running ./trytond from  .local/bin throws the error
>> >>>
>> >>> pip uninstall trytond_health_profile gives error about trytond not
>> >>> installed
>> >>> (sorry dont have the actual error message, I have already deleted the
>> >>> virtual machines)
>> >>
>> >> I think it's getting messy with the global installation. Try to do a
>> >> local one (with the --user option).
>> >>
>> >>>
>> >>> I have also tried installing GNU Health 1.4.3 without using a
>> >>> virtualenv,
>> >>> when I run, pip install --user trytond_health_profile I get unknown
>> >>> option
>> >>> --user error. Any ideas what i might be doing wrong?
>> >>
>> >> What version are of PIP are you using ? It seems like you have the old
>> >> pip version installed, that does not have the "--user" option. You
>> >> need to update the pip version.
>> >>
>> >> Let us know how it went
>> >>
>> >> Best
>> >>
>> >>
>> >>>
>> >>> Regards and thanks
>> >>> Ronald Munjoma
>> >>>>
>> >>>>
>> >>>> Regards
>> >>>>
>> >>>> Craig
>> >>>>
>> >>>> On 7 February 2012 05:08, Hedayat Vatankhah <address@hidden>
>> >>>> wrote:
>> >>>> > Hi Ronald,
>> >>>> > I doubt that your pip installation has gone without any error
>> >>>> > messages.
>> >>>> > Good luck,
>> >>>> > Hedayat
>> >>>> >
>> >>>> > ronald munjoma <address@hidden> wrote on Tue, 7 Feb 2012
>> >>>> > 01:02:39
>> >>>> > +0200:
>> >>>> >
>> >>>> > Good day,
>> >>>> >
>> >>>> > I have installed GNU Health using pip in an a virtualenv, when I
>> >>>> > start
>> >>>> > the
>> >>>> > server I get the below error.
>> >>>> >
>> >>>> >
>> >>>> > (health)address@hidden:~/.local/bin$ ./trytond
>> >>>> > Traceback (most recent call last):
>> >>>> > � File "./trytond", line 13, in <module>
>> >>>> > ��� import trytond
>> >>>> > ImportError: No module named trytond
>> >>>> >
>> >>>> >
>> >>>> > The installation is running on Debian 6.03 (clean install)
>> >>>> >
>> >>>> > Your assistance will be greatly appreciated.
>> >>>> >
>> >>>> > Regards and thanks
>> >>>> > Ronald
>> >
>> > When I use a virtualenv, I dont use the --user option along with it,
>> > as the global environment is in the virtualenv.
>> >
>> > Make sure you activate the the virtualenv before running trytond.
>> >
>> > The virtualenv will have the latest pip as well as it is downloded
>> > when you create the environment.  So your local pip install should be
>> > updated.
>> >
>> > Try 'pip install pip --upgrade' as root to use --user in your global
>> > python.
>> >
>> > HTH.
>> >
>> > Craig
>> Apologies for  top posting.
>>
>> --
>> Craig
>>
>> ()  ascii ribbon campaign - against html mail
>> /\
>>
>



-- 
Craig

()  ascii ribbon campaign - against html mail
/\



reply via email to

[Prev in Thread] Current Thread [Next in Thread]