Re: [Health-dev] GNU Health 3.0 RC2 ready for testing

2016-01-05 Thread Cédric Krier
On 2016-01-05 13:25, Anousak Souphavanh wrote:
> Dr. Luis,
> 
> After successfully installed GNUHealth 3.0 Rc2 and updated with your DB as
> you suggested on our server. I did executed ./trytond and nothing comes up.
> 
> Is there a way to check where the or what it is doing or hanging?

You can run it in verbose mode: -v

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


pgpJKktutSWe5.pgp
Description: PGP signature


Re: [Health-dev] GNU Health 3.0 RC2 ready for testing

2016-01-05 Thread Anousak Souphavanh
Cedric,

Got it...Thanks.
Anousak

On Tue, Jan 5, 2016 at 4:04 PM, Cédric Krier  wrote:

> On 2016-01-05 13:25, Anousak Souphavanh wrote:
> > Dr. Luis,
> >
> > After successfully installed GNUHealth 3.0 Rc2 and updated with your DB
> as
> > you suggested on our server. I did executed ./trytond and nothing comes
> up.
> >
> > Is there a way to check where the or what it is doing or hanging?
>
> You can run it in verbose mode: -v
>
> --
> Cédric Krier - B2CK SPRL
> Email/Jabber: cedric.kr...@b2ck.com
> Tel: +32 472 54 46 59
> Website: http://www.b2ck.com/
>



-- 
Regards,
Anousak (Anthony) Souphavanh
Managing Director, Sakurity and Xangdao Consulting
Email: anou...@gmail.com
Email: anou...@xy-mobile.com
Skype: xangdao1
Cell: 856-20-5549-3166
http://www.xangdao.com
http://www.xy-mobile.com

"Small thing can make a big impact", Anousak.
"What we do in life echoes in eternity", Maximus.

“Three Rules of Work: Out of clutter find simplicity; From discord find
harmony; In the middle of difficulty lies opportunity.” Albert Einstein
Bourichanh Road, Phonsinuan Village, Sisatthanak District
VTE, Lao PDR
At your service for complete ICT solutions.


Re: [Health-dev] GNU Health 3.0 RC2 ready for testing

2016-01-05 Thread Bounmy Sihaphom
Thanks Ced, all cool


Best Regards;

Bounmy Sihaphom
mail. bsihap...@gmail.com

On Tue, Jan 5, 2016 at 4:04 PM, Cédric Krier  wrote:

> On 2016-01-05 13:25, Anousak Souphavanh wrote:
> > Dr. Luis,
> >
> > After successfully installed GNUHealth 3.0 Rc2 and updated with your DB
> as
> > you suggested on our server. I did executed ./trytond and nothing comes
> up.
> >
> > Is there a way to check where the or what it is doing or hanging?
>
> You can run it in verbose mode: -v
>
> --
> Cédric Krier - B2CK SPRL
> Email/Jabber: cedric.kr...@b2ck.com
> Tel: +32 472 54 46 59
> Website: http://www.b2ck.com/
>


Re: [Health-dev] GNU Health 3.0 RC2 ready for testing

2016-01-05 Thread Luis Falcon
Hi Anousak !

On Mon, 4 Jan 2016 17:52:19 +0700
Anousak Souphavanh  wrote:

> Hi Luis,
> 
> 
> I have successfully update GNUHealth 3.0 on our own server but I did
> stumble into two particulars which I like to inform you.
> 
Thanks for sharing !

> 
> It gives ValueError: --enable-jpeg requested but jpeg not found,
> aborting.
It's documented on the OS requirements. For instance in Debian /
Ubuntu / Trisquel :
https://en.wikibooks.org/wiki/GNU_Health/Operating_System-Specific_Notes#Debian

> Also got an error in tryting to fetch psycopg2:
> 
> URLs to search for versions for psycopg2==2.6.1:
>   * https://pypi.python.org/simple/psycopg2/2.6.1
>   * https://pypi.python.org/simple/psycopg2/
>   Getting page https://pypi.python.org/simple/psycopg2/2.6.1
>   Could not fetch URL https://pypi.python.org/simple/psycopg2/2.6.1:
> connectio
> n error: HTTPSConnectionPool(host='pypi.python.org', port=443): Read
> timed out
> .
That might be a temporary network glitch. It should be OK
> 
> Had to install it manually sudo apt-get install python-psycopg2
> 
No need to do if the internet connection is OK and can download it from
pypi.

> 
> Please update it.
> 
> Thanks.
> Anousak
> Lao Team
> 
Thanks again !

All the best,

> 
> 
> On Mon, Jan 4, 2016 at 5:02 AM, Luis Falcon  wrote:
> 
> > Dear devs
> >
> > This is to announce the RC2 of the upcoming GNU Health 3.0. I
> > already updated the community server DB.
> >
> > I have also created a tarball for the release candidate[1], as well
> > as an PostgreSQL dump[2] . At the end of this mail you can find the
> > MD5 digests.
> >
> > BTW : The installation program is now called gnuhealth-setup , and
> > for the installation, you can run "./gnuhealth-setup install"
> >
> > PS: The official languages translation files are not up-to-date yet.
> > For the translators / localization teams, there is a new mailing
> > list dedicated to this effort (health-i...@gnu.org).
> >
> > Happy testing and report any issues you may find.
> >
> > Bests,
> > Luis
> >
> > 1.-
> > http://health.gnu.org/downloads/development/unstable/gnuhealth-30rc2.tar.gz
> >
> > 2.-
> > http://health.gnu.org/downloads/development/unstable/gnuhealth-30rc2.sql.gz
> >
> >
> > 9e64d3e915890520078c2d6256b16ea3  gnuhealth-30rc2.sql.gz
> > af82bc0bf8bc13bcf97d83a3cc6cd8e1  gnuhealth-30rc2.tar.gz
> >
> >
> > --
> > Luis Falcon, M.D., BSc
> > President, GNU Solidario
> > GNU Health: Freedom and Equity in Healthcare
> > http://health.gnu.org
> >
> >  
> 
> .



-- 
Luis Falcon, M.D., BSc
President, GNU Solidario
GNU Health: Freedom and Equity in Healthcare
http://health.gnu.org




Re: [Health-dev] GNU Health 3.0 RC2 ready for testing

2016-01-05 Thread Luis Falcon
Hi Anousak !
On Tue, 5 Jan 2016 13:25:00 +0700
Anousak Souphavanh  wrote:

> Dr. Luis,
> 
> After successfully installed GNUHealth 3.0 Rc2 and updated with your
> DB as you suggested on our server. I did executed ./trytond and
> nothing comes up.
> 
That is the default behavior in Tryton 3.0
> Is there a way to check where the or what it is doing or hanging?
> 
Yes. Please check the GNU Health Wikibook section on the  for logging
events[1]. 

Also, we have agreed with Cedric that the user login / logout
events will be recorded at loglevel WARNING [2][3], which will be the
default for GNU Health 3.0 

All the best

1.-
https://en.wikibooks.org/wiki/GNU_Health/Installation#Configuring_the_Log_File_.28optional.29
 
2.- https://bugs.tryton.org/issue5217
3.- https://bugs.tryton.org/issue5219

> Many thanks,
> 
> Anousak
> 
> On Mon, Jan 4, 2016 at 5:52 PM, Anousak Souphavanh 
> wrote:
> 
> > Hi Luis,
> >
> >
> > I have successfully update GNUHealth 3.0 on our own server but I did
> > stumble into two particulars which I like to inform you.
> >
> >
> > It gives ValueError: --enable-jpeg requested but jpeg not found,
> > aborting.
> >
> > So it is Pillow >= 2.1.0 no longer supports “import _imaging”.
> > Please use “from PIL.Image import core as _imaging” instead.
> >
> > manually install apt-get install libjpeg libjpeg-devel
> >
> > Also got an error in tryting to fetch psycopg2:
> >
> > URLs to search for versions for psycopg2==2.6.1:
> >   * https://pypi.python.org/simple/psycopg2/2.6.1
> >   * https://pypi.python.org/simple/psycopg2/
> >   Getting page https://pypi.python.org/simple/psycopg2/2.6.1
> >   Could not fetch URL https://pypi.python.org/simple/psycopg2/2.6.1:
> > connectio
> > n error: HTTPSConnectionPool(host='pypi.python.org', port=443): Read
> > timed out
> > .
> >
> > Had to install it manually sudo apt-get install python-psycopg2
> >
> >
> > Please update it.
> >
> > Thanks.
> > Anousak
> > Lao Team
> >
> >
> >
> > On Mon, Jan 4, 2016 at 5:02 AM, Luis Falcon  wrote:
> >  
> >> Dear devs
> >>
> >> This is to announce the RC2 of the upcoming GNU Health 3.0. I
> >> already updated the community server DB.
> >>
> >> I have also created a tarball for the release candidate[1], as
> >> well as an PostgreSQL dump[2] . At the end of this mail you can
> >> find the MD5 digests.
> >>
> >> BTW : The installation program is now called gnuhealth-setup , and
> >> for the installation, you can run "./gnuhealth-setup install"
> >>
> >> PS: The official languages translation files are not up-to-date
> >> yet. For the translators / localization teams, there is a new
> >> mailing list dedicated to this effort (health-i...@gnu.org).
> >>
> >> Happy testing and report any issues you may find.
> >>
> >> Bests,
> >> Luis
> >>
> >> 1.-
> >>
> >> http://health.gnu.org/downloads/development/unstable/gnuhealth-30rc2.tar.gz
> >>
> >> 2.-
> >>
> >> http://health.gnu.org/downloads/development/unstable/gnuhealth-30rc2.sql.gz
> >>
> >>
> >> 9e64d3e915890520078c2d6256b16ea3  gnuhealth-30rc2.sql.gz
> >> af82bc0bf8bc13bcf97d83a3cc6cd8e1  gnuhealth-30rc2.tar.gz
> >>
> >>
> >> --
> >> Luis Falcon, M.D., BSc
> >> President, GNU Solidario
> >> GNU Health: Freedom and Equity in Healthcare
> >> http://health.gnu.org
> >>
> >>  
> >
> > .
> >  




Re: [Health-dev] GNU Health 3.0 RC2 ready for testing

2016-01-05 Thread Cédric Krier
On 2016-01-05 12:35, Luis Falcon wrote:
> Also, we have agreed with Cedric that the user login / logout
> events will be recorded at loglevel WARNING [2][3], which will be the
> default for GNU Health 3.0 

No this is not what we agreed. It is only about login failure.

> 2.- https://bugs.tryton.org/issue5217
> 3.- https://bugs.tryton.org/issue5219
-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


pgpvQxgL2jzd6.pgp
Description: PGP signature


Re: [Health-dev] GNU Health 3.0 RC2 ready for testing

2016-01-05 Thread Luis Falcon
On Tue, 5 Jan 2016 13:55:46 +0100
Cédric Krier  wrote:

> On 2016-01-05 12:35, Luis Falcon wrote:
> > Also, we have agreed with Cedric that the user login / logout
> > events will be recorded at loglevel WARNING [2][3], which will be
> > the default for GNU Health 3.0   
> 
> No this is not what we agreed. It is only about login failure.
> 

Then we should include the login / logout events too, otherwise is
useless. The login/logout events are as important as the login
failures. 


pgp41Srgp40HJ.pgp
Description: OpenPGP digital signature


[Health-dev] [task #13858] New feature for language packs

2016-01-05 Thread Luis Falcon
URL:
  

 Summary: New feature for language packs
 Project: GNU Health
Submitted by: meanmicio
Submitted on: Tue 05 Jan 2016 01:39:57 PM GMT
 Should Start On: Tue 05 Jan 2016 12:00:00 AM GMT
   Should be Finished on: Sun 15 Jan 2017 12:00:00 AM GMT
Category: Localization
Priority: 5 - Normal
  Status: None
 Privacy: Public
Percent Complete: 0%
 Assigned to: meanmicio
 Open/Closed: Open
 Discussion Lock: Any
 Release: None
  Module: all

___

Details:

Starting version 3.2, language packs will be installed separately. This will
allow to install only those languages that you need, without downloading all
the official languages in the main distribution.

For instance, something like

$ gnuhealth-setup getlang es_ES 

would fetch and install the translation files for Spanish from Spain language
for all the modules.

All the best
Luis




___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/




Re: [Health-dev] GNU Health 3.0 RC2 ready for testing

2016-01-05 Thread Alvin Marcelo
Dear all,

Are there GNU Health implementations in Laos? How many? I know it was being
considered when I ws last there Sept 2013...


alvin




On Tue, Jan 5, 2016 at 5:40 PM, Bounmy Sihaphom  wrote:

> Thanks Ced, all cool
>
>
> Best Regards;
>
> Bounmy Sihaphom
> mail. bsihap...@gmail.com
>
> On Tue, Jan 5, 2016 at 4:04 PM, Cédric Krier 
> wrote:
>
>> On 2016-01-05 13:25, Anousak Souphavanh wrote:
>> > Dr. Luis,
>> >
>> > After successfully installed GNUHealth 3.0 Rc2 and updated with your DB
>> as
>> > you suggested on our server. I did executed ./trytond and nothing comes
>> up.
>> >
>> > Is there a way to check where the or what it is doing or hanging?
>>
>> You can run it in verbose mode: -v
>>
>> --
>> Cédric Krier - B2CK SPRL
>> Email/Jabber: cedric.kr...@b2ck.com
>> Tel: +32 472 54 46 59
>> Website: http://www.b2ck.com/
>>
>
>


[Health-dev] Error when creating new line in Services

2016-01-05 Thread Mario Puntin
Hi all!
I was testing Health 3.0 RC2 in the online demo, and created a new Service
to invoice.
When I inserted a new line in the service and added a product, say Urine
analysis, i got this message:

Traceback (most recent call last):
  File "/trytond/protocols/jsonrpc.py", line 162, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
  File "/trytond/protocols/jsonrpc.py", line 191, in _dispatch
res = dispatch(*args)
  File "/trytond/protocols/dispatcher.py", line 167, in dispatch
result = rpc.result(meth(inst, *c_args, **c_kwargs))
  File "/trytond/model/modelview.py", line 649, in on_change
method()
  File "/trytond/model/modelview.py", line 85, in wrapper
assert result is None, func
AssertionError: 

Quite strange
Regards!
Mario


Re: [Health-dev] GNU Health 3.0 RC2 ready for testing

2016-01-05 Thread Anousak Souphavanh
Hi Dr. Alvin,

At this point in time, Mahosot and Center for Rehab hospitals are the two
that MoH decided to roll GNUHealth and we are the ones to implement them.
Mahosot is the biggest hospital and considered the importance for this
project. Yes, we have got greenlight 2 months ago and pretty much on target
with the support within and outside developers such as Luis, Cedric, and
Nicolas though there are challenges.

Regards,
Anousak

On Tue, Jan 5, 2016 at 6:00 PM, Alvin Marcelo  wrote:

> Dear all,
>
> Are there GNU Health implementations in Laos? How many? I know it was
> being considered when I ws last there Sept 2013...
>
>
> alvin
>
>
>
>
> On Tue, Jan 5, 2016 at 5:40 PM, Bounmy Sihaphom 
> wrote:
>
>> Thanks Ced, all cool
>>
>>
>> Best Regards;
>>
>> Bounmy Sihaphom
>> mail. bsihap...@gmail.com
>>
>> On Tue, Jan 5, 2016 at 4:04 PM, Cédric Krier 
>> wrote:
>>
>>> On 2016-01-05 13:25, Anousak Souphavanh wrote:
>>> > Dr. Luis,
>>> >
>>> > After successfully installed GNUHealth 3.0 Rc2 and updated with your
>>> DB as
>>> > you suggested on our server. I did executed ./trytond and nothing
>>> comes up.
>>> >
>>> > Is there a way to check where the or what it is doing or hanging?
>>>
>>> You can run it in verbose mode: -v
>>>
>>> --
>>> Cédric Krier - B2CK SPRL
>>> Email/Jabber: cedric.kr...@b2ck.com
>>> Tel: +32 472 54 46 59
>>> Website: http://www.b2ck.com/
>>>
>>
>>
>


Re: [Health-dev] Error when creating new line in Services

2016-01-05 Thread Cédric Krier
On 2016-01-05 12:49, Mario Puntin wrote:
> Hi all!
> I was testing Health 3.0 RC2 in the online demo, and created a new Service
> to invoice.
> When I inserted a new line in the service and added a product, say Urine
> analysis, i got this message:
> 
> Traceback (most recent call last):
>   File "/trytond/protocols/jsonrpc.py", line 162, in _marshaled_dispatch
> response['result'] = dispatch_method(method, params)
>   File "/trytond/protocols/jsonrpc.py", line 191, in _dispatch
> res = dispatch(*args)
>   File "/trytond/protocols/dispatcher.py", line 167, in dispatch
> result = rpc.result(meth(inst, *c_args, **c_kwargs))
>   File "/trytond/model/modelview.py", line 649, in on_change
> method()
>   File "/trytond/model/modelview.py", line 85, in wrapper
> assert result is None, func
> AssertionError:  gnuhealth.health_service.line.on_change_product>

This is a bug in the update to Tryton 3.8, can you fill an issue in the
bugtracker so we can fix it.

Thanks,
-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


pgpcNLjlLSGzA.pgp
Description: PGP signature


[Health-dev] [bug #46822] Error when creating new line in Services

2016-01-05 Thread Mario Puntin
URL:
  

 Summary: Error when creating new line in Services
 Project: GNU Health
Submitted by: mariomop
Submitted on: mar 05 ene 2016 13:37:07 ART
Category: None
Severity: 3 - Normal
  Item Group: None
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Discussion Lock: Any
 Release: None
  Module: health_service

___

Details:


When creating a new Service to invoice, I inserted a new line in the service
and added a product (say 'Urine analysis'). Then I got this message:

Traceback (most recent call last):
  File "/trytond/protocols/jsonrpc.py", line 162, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
  File "/trytond/protocols/jsonrpc.py", line 191, in _dispatch
res = dispatch(*args)
  File "/trytond/protocols/dispatcher.py", line 167, in dispatch
result = rpc.result(meth(inst, *c_args, **c_kwargs))
  File "/trytond/model/modelview.py", line 649, in on_change
method()
  File "/trytond/model/modelview.py", line 85, in wrapper
assert result is None, func
AssertionError: 






___

Reply to this item at:

  

___
  Mensaje enviado vía/por Savannah
  http://savannah.gnu.org/




Re: [Health-dev] Error when creating new line in Services

2016-01-05 Thread Mario Puntin
2016-01-05 13:12 GMT-03:00 Cédric Krier :

> On 2016-01-05 12:49, Mario Puntin wrote:
> > Hi all!
> > I was testing Health 3.0 RC2 in the online demo, and created a new
> Service
> > to invoice.
> > When I inserted a new line in the service and added a product, say Urine
> > analysis, i got this message:
> >
> > Traceback (most recent call last):
> >   File "/trytond/protocols/jsonrpc.py", line 162, in _marshaled_dispatch
> > response['result'] = dispatch_method(method, params)
> >   File "/trytond/protocols/jsonrpc.py", line 191, in _dispatch
> > res = dispatch(*args)
> >   File "/trytond/protocols/dispatcher.py", line 167, in dispatch
> > result = rpc.result(meth(inst, *c_args, **c_kwargs))
> >   File "/trytond/model/modelview.py", line 649, in on_change
> > method()
> >   File "/trytond/model/modelview.py", line 85, in wrapper
> > assert result is None, func
> > AssertionError:  > gnuhealth.health_service.line.on_change_product>
>
> This is a bug in the update to Tryton 3.8, can you fill an issue in the
> bugtracker so we can fix it.
>
>
Ok, done [1].
Regards

[1] https://savannah.gnu.org/bugs/index.php?46822

-- 
Mario Puntin
Paraná, Entre Ríos, Argentina
ma...@silix.com.ar


[Health-dev] [bug #46822] Error when creating new line in Services

2016-01-05 Thread Cédric Krier
Update of bug #46822 (project health):

  Status:None => Fixed  
 Assigned to:None => cedk   
 Open/Closed:Open => Closed 

___

Follow-up Comment #1:

Fixed with changeset d50b64c01850

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/




Re: [Health-dev] GNU Health 3.0 RC2 ready for testing

2016-01-05 Thread Axel Braun
Hi Luis

Am Sonntag, 3. Januar 2016, 22:02:28 schrieb Luis Falcon:
 
> I have also created a tarball for the release candidate[1], as well as
> an PostgreSQL dump[2] . At the end of this mail you can find the
> MD5 digests.

Very nice.
While packing it I noticed a hl7 and a pdq directory. 
I assume it belongs to the FHIR Server (under backend/fhir/server...).

Are the hl7 and pdq files required if you dont run a FHIR server? (assume 
not...)

Wouldnt it make sense to have the FHIR stuff as separate package?

Cheers
Axel



Re: [Health-dev] GNU Health 3.0 RC2 ready for testing

2016-01-05 Thread Luis Falcon
Hi, Axel !
On Tue, 05 Jan 2016 19:16:11 +0100
Axel Braun  wrote:

> Hi Luis
> 
> Am Sonntag, 3. Januar 2016, 22:02:28 schrieb Luis Falcon:
>  
> > I have also created a tarball for the release candidate[1], as well
> > as an PostgreSQL dump[2] . At the end of this mail you can find the
> > MD5 digests.  
> 
> Very nice.
> While packing it I noticed a hl7 and a pdq directory. 
> I assume it belongs to the FHIR Server (under backend/fhir/server...).
> 
> Are the hl7 and pdq files required if you dont run a FHIR server?
> (assume not...)
> 
> Wouldnt it make sense to have the FHIR stuff as separate package?
> 
Yes. The backend stuff should not go on the main package. They are
meant to be complements.

Thanks for the feedback !

Bests
Luis


> Cheers
> Axel
> 
>