health
[Top][All Lists]
Advanced

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

Re: [Health] Could not connect to Database


From: Luis Falcon
Subject: Re: [Health] Could not connect to Database
Date: Tue, 01 Oct 2013 11:01:53 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130823 Icedove/17.0.8

Hi Mona !

On 10/01/2013 10:50 AM, mona gc wrote:
> /I have successfully installed trytond server, when I try and create a 
> profile from/
> /the Tryton client I am getting 'Database: Could not connect to the/
> /server' error. //Your assistance will/ /be greatly appreciated.
Is your PostgreSQL server up and running ?

Are you connected from a non-localhost client (please check this section
:
https://en.wikibooks.org/wiki/GNU_Health/Installation#Activate_network_devices_for_the_JSON-RPC_protocol
)

Let us know if this solved your problem.

Best,
> regards
> /
> 
> 
> 
> ------------------------------------------------------------------------
> *From:* "address@hidden" <address@hidden>
> *To:* address@hidden
> *Sent:* Monday, 30 September 2013 9:30 PM
> *Subject:* Health Digest, Vol 26, Issue 26
> 
> Send Health mailing list submissions to
>     address@hidden <mailto:address@hidden>
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>     https://lists.gnu.org/mailman/listinfo/health
> or, via email, send a message with subject or body 'help' to
>     address@hidden <mailto:address@hidden>
> 
> You can reach the person managing the list at
>     address@hidden <mailto:address@hidden>
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Health digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Could not connect to server (mona gc)
>   2. Re: could not connect error (mona gc)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 30 Sep 2013 16:08:16 +0800 (SGT)
> From: mona gc <address@hidden <mailto:address@hidden>>
> To: "address@hidden <mailto:address@hidden>" <address@hidden
> <mailto:address@hidden>>
> Subject: Re: [Health] Could not connect to server
> Message-ID:
>     <address@hidden
> <mailto:address@hidden>>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 
>>Congratulations !
>>The "hard" part is over now :) It takes a bit of practice to put all the
>>concepts together, but then is easy and logical.
> 
> Thanks Dear Luis. It is become possible becaouse of constant and kind
> support from you and your team members. Hats off to you.
> 
> 
>>Make sure you run the Tryton client with the user that connects to the
>>Xwindow .
> 
> Yes! It worked now. I log in with gnuhealth member at  Xwindow. This helped.
> But now new issue, I have successfully installed GNU Health using the
> pip method, I can start the server (trytond and postgresql), when I try
> and create a profile from the Tryton client I am getting 'Database:
> Could not connect to the server' error. I can connect to the only tryton
> demo server from the same client I have correctly set up the database to
> accept tcpi connections (I can accessthe database via Navicat over the
> network). Your assistance will be greatly appreciated.
> regards
> 
> 
> 
> ________________________________
> From: "address@hidden <mailto:address@hidden>"
> <address@hidden <mailto:address@hidden>>
> To: address@hidden <mailto:address@hidden>
> Sent: Sunday, 29 September 2013 9:30 PM
> Subject: Health Digest, Vol 26, Issue 25
> 
> 
> Send Health mailing list submissions to
> ??? address@hidden <mailto:address@hidden>
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> ??? https://lists.gnu.org/mailman/listinfo/health
> or, via email, send a message with subject or body 'help' to
> ??? address@hidden <mailto:address@hidden>
> 
> You can reach the person managing the list at
> ??? address@hidden <mailto:address@hidden>
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Health digest..."
> 
> 
> Today's Topics:
> 
> ?  1. Re: installation help (Luis Falcon)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sun, 29 Sep 2013 08:17:29 -0300
> From: Luis Falcon <address@hidden <mailto:address@hidden>>
> To: address@hidden <mailto:address@hidden>
> Subject: Re: [Health] installation help
> Message-ID: <address@hidden <mailto:address@hidden>>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Dear Mona
> On 09/29/2013 02:43 AM, mona gc wrote:
>> Dear Luis,
>> Installatuion was succeessfull for Tryton Server. Whiule Booting up the
>> Tryton Server
>> in the last line i see this also, *INFO:server:starting JSON-RPC
>> protocol on localhost:8000*
>>
> Congratulations !
> The "hard" part is over now :) It takes a bit of practice to put all the
> concepts together, but then is easy and logical.
>> *New issue:*
>> I did Installation of the Tryton Client using following commands,
>> pip install --user tryton
>> pip install --upgrade --user tryton
>>
>> Then I run
>> cd $HOME/.local/bin
>> ./tryton
>> To execute it and getting following errors, (kindly help with this)
>> /home/gnuhealth/.local/lib/python2.7/site-packages/tryton/gui/main.py:179:
>> GtkWarning: IA__gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
>> self.window.show_all()
>> Segmentation fault (core dumped)
> 
> Do you login to your desktop environment with gnuhealth or with another
> user ? The gnuhealth user should be used only for running the server.
> 
> Make sure you run the Tryton client with the user that connects to the
> Xwindow .
> 
> Let us know if you could run it.
> 
> Best,
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Health mailing list
> address@hidden <mailto:address@hidden>
> https://lists.gnu.org/mailman/listinfo/health
> 
> 
> End of Health Digest, Vol 26, Issue 25
> **************************************
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://lists.gnu.org/archive/html/health/attachments/20130930/34b248f2/attachment.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 30 Sep 2013 16:12:12 +0800 (SGT)
> From: mona gc <address@hidden <mailto:address@hidden>>
> To: "address@hidden <mailto:address@hidden>" <address@hidden
> <mailto:address@hidden>>
> Subject: Re: [Health] could not connect error
> Message-ID:
>     <address@hidden
> <mailto:address@hidden>>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Kindly ignore my last mail.
> 
>>Congratulations !
>>The "hard" part is over now :) It takes a bit of practice to put all the
>>concepts together, but then is easy and logical.
> 
> Thanks Dear Luis. It become possible because of constant and kind
> support from you and
> your team members. Hats off to you.
> 
> 
>>Make sure you run the Tryton client with the user that connects to the
>>Xwindow .
> 
> Yes! It worked now. I log in with gnuhealth member at  Xwindow. This helped.
> But now new issue, I have successfully installed GNU Health using the
> pip method, I can start the server (trytond and postgresql), when I try
> and create a profile from the Tryton client I am getting 'Database:
> Could not connect to the server' error. Your assistance will be greatly
> appreciated.
> regards
> 
> 
> 
> ________________________________
> From: "address@hidden <mailto:address@hidden>"
> <address@hidden <mailto:address@hidden>>
> To: address@hidden <mailto:address@hidden>
> Sent: Sunday, 29 September 2013 9:30 PM
> Subject: Health Digest, Vol 26, Issue 25
> 
> 
> Send Health mailing list submissions to
> ??? address@hidden <mailto:address@hidden>
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> ??? https://lists.gnu.org/mailman/listinfo/health
> or, via email, send a message with subject or body 'help' to
> ??? address@hidden <mailto:address@hidden>
> 
> You can reach the person managing the list at
> ??? address@hidden <mailto:address@hidden>
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Health digest..."
> 
> 
> Today's Topics:
> 
> ?  1. Re: installation help (Luis Falcon)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sun, 29 Sep 2013 08:17:29 -0300
> From: Luis Falcon <address@hidden <mailto:address@hidden>>
> To: address@hidden <mailto:address@hidden>
> Subject: Re: [Health] installation help
> Message-ID: <address@hidden <mailto:address@hidden>>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Dear Mona
> On 09/29/2013 02:43 AM, mona gc wrote:
>> Dear Luis,
>> Installatuion was succeessfull for Tryton Server. Whiule Booting up the
>> Tryton Server
>> in the last line i see this also, *INFO:server:starting JSON-RPC
>> protocol on localhost:8000*
>>
> Congratulations !
> The "hard" part is over now :) It takes a bit of practice to put all the
> concepts together, but then is easy and logical.
>> *New issue:*
>> I did Installation of the Tryton Client using following commands,
>> pip install --user tryton
>> pip install --upgrade --user tryton
>>
>> Then I run
>> cd $HOME/.local/bin
>> ./tryton
>> To execute it and getting following errors, (kindly help with this)
>> /home/gnuhealth/.local/lib/python2.7/site-packages/tryton/gui/main.py:179:
>> GtkWarning: IA__gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
>> self.window.show_all()
>> Segmentation fault (core dumped)
> 
> Do you login to your desktop environment with gnuhealth or with another
> user ? The gnuhealth user should be used only for running the server.
> 
> Make sure you run the Tryton client with the user that connects to the
> Xwindow .
> 
> Let us know if you could run it.
> 
> Best,
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Health mailing list
> address@hidden <mailto:address@hidden>
> https://lists.gnu.org/mailman/listinfo/health
> 
> 
> End of Health Digest, Vol 26, Issue 25
> **************************************
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://lists.gnu.org/archive/html/health/attachments/20130930/042e292e/attachment.html>
> 
> ------------------------------
> 
> _______________________________________________
> Health mailing list
> address@hidden <mailto:address@hidden>
> https://lists.gnu.org/mailman/listinfo/health
> 
> 
> End of Health Digest, Vol 26, Issue 26
> **************************************
> 
> 




reply via email to

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