Hello, Axel
Thanks for your suggestions.
About changing rulevel, I tried to edit grub lines at booting time, but ii was impossible: system starts when I pressed some arrow keys in the grub editor, trying to reach the 'linux' line.
About SD card, I tried two of them, getting the same results. I reused one to install openSuse Leap 15 and this version worked fine, so I continued using it, not the downloaded image ... but this didn't work completely either.
With openSuse Leap 15 installed from Suse website, I installed gnuhealth server and client using Yast. No install errors but gnughealth client didn't connect to the localhost server ("manage" button of profile editor tells). However, client connects to one of our cloud servers without problems.
When I take a look at tryton logs , I can see a final line: "INFO:werkzeug: * Running on http://[::]:8000/
(Press CTRL+C to quit)" as I usually see in our running cloud server.
but, for each try to connect using gnuhealth-client profile editor, I can see some groups of lines like this:
Mon Feb 05 18:24:55 2024] INFO:trytond.wsgi:<JSONRequest ::1 '
http://localhost:8000/' [POST] common.db.list>
Mon Feb 05 18:24:55 2024] INFO:trytond.backend.postgresql.database:connection to "template1" succeeded
Mon Feb 05 18:24:55 2024] ERROR:trytond.backend.postgresql.database:connection to "template1" failed
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/trytond/backend/postgresql/database.py", line 263, in get_connection
conn = self._connpool.getconn()
File "/usr/lib64/python3.6/site-packages/psycopg2/pool.py", line 169, in getconn
return self._getconn(key)
File "/usr/lib64/python3.6/site-packages/psycopg2/pool.py", line 93, in _getconn
return self._connect(key)
File "/usr/lib64/python3.6/site-packages/psycopg2/pool.py", line 63, in _connect
conn = psycopg2.connect(*self._args, **self._kwargs)
File "/usr/lib64/python3.6/site-packages/psycopg2/__init__.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: connection to server on socket "/run/postgresql/.s.PGSQL.5432" failed: FATAL: no existe el rol «tryton»
Mon Feb 05 18:24:55 2024] INFO:werkzeug:::1 - - [05/Feb/2024 18:24:55] "POST / HTTP/1.1" 200 -
Mon Feb 05 18:24:55 2024] INFO:trytond.wsgi:<JSONRequest ::1 '
http://localhost:8000/' [POST] common.server.version>
Mon Feb 05 18:24:55 2024] INFO:werkzeug:::1 - - [05/Feb/2024 18:24:55] "POST / HTTP/1.1" 200 -
that may be a connection to postgresql error. (systemclt status postgresql show "Active (running" status). By the way, I think that server and postgresql services are well defined but not enabled after Yast installation. It's necessary to manually enable and start them.
One last note: systemctl status for gnuhealth.service shows "Active (running)" and a "Started" message. Besides, when I access via web browser (localhost:8000), It shows "Method not allowed", and I can see the corresponding 405 error at tryton.log, so I think the server is running somehow.
Thank you for any suggestions to fix it.
Best,
Juan Pablo Rodríguez Esteban
Send Health-dev mailing list submissions to
health-dev@gnu.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/health-dev
or, via email, send a message with subject or body 'help' to
health-dev-request@gnu.org
You can reach the person managing the list at
health-dev-owner@gnu.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Health-dev digest..."
Today's Topics:
1. Re: Downloadable image freezes raspberry 4b (gnuhealth
version 4.4) (Axel Braun)
2. [task #16494] Let health_lab report more customize (Feng Shu)
3. [task #16494] Let health_lab report more customize (Feng Shu)
----------------------------------------------------------------------
Message: 1
Date: Sun, 28 Jan 2024 21:52:30 +0100
From: Axel Braun <axel.braun@gnuhealth.org>
To: health-dev@gnu.org
Subject: Re: [Health-dev] Downloadable image freezes raspberry 4b
(gnuhealth version 4.4)
Message-ID: <4684651.vXUDI8C0e8@x1e>
Content-Type: text/plain; charset="utf-8"
Hello Juan,
Am Samstag, 27. Januar 2024, 19:27:09 CET schrieb Juan Pablo Rodriguez Esteban:
> Booting version 4.4 image for raspberry pi 4 freezzes a raspberry pi 4b
> just kernel loading starts.
Sorry to hear that you are having issues. We tested this, and nobody reported an issue so far
> The monitor turns into black, the keyboard is completely unresponsive and
> it's not able to switch to any other text console. It also does not receive
> an IP address via ethernet.
> I tried to modify the boot options by editing the grub menu at boot but the
> editor closes as soon as the arrow has been pressed several times (tested
> with different wired and wireless keyboards).
Did you try the failsafe-mode?
SD Cards are mostly a pain in th neck, please try a different one and check the file system after putting the image onto it (xzcat ... )
You may as well boot into a console (init 3 on the kernel command line) and monitor error messaged
HTH
Axel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnu.org/archive/html/health-dev/attachments/20240128/46cd3b74/attachment.sig>
------------------------------
Message: 2
Date: Sun, 28 Jan 2024 22:38:14 -0500 (EST)
From: Feng Shu <INVALID.NOREPLY@gnu.org>
To: Feng Shu <tumashu@163.com>, health-dev@gnu.org
Subject: [Health-dev] [task #16494] Let health_lab report more
customize
Message-ID: <20240129-033814.sv117243.956640@savannah.gnu.org>
Content-Type: text/plain;charset=UTF-8
URL:
<https://savannah.gnu.org/task/?16494>
Summary: Let health_lab report more customize
Group: GNU Health
Submitter: tumashu
Submitted: Mon 29 Jan 2024 03:38:14 AM UTC
Should Start On: Mon 29 Jan 2024 12:00:00 AM UTC
Should be Finished on: Mon 29 Jan 2024 12:00:00 AM UTC
Category: None
Priority: 5 - Normal
Status: In Progress
Privacy: Public
Percent Complete: 0%
Assigned to: tumashu
Open/Closed: Open
Release: None
Discussion Lock: Any
Module: health_lab
Component: Hospital Management
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 29 Jan 2024 03:38:14 AM UTC By: Feng Shu <tumashu>
Origin: https://lists.gnu.org/archive/html/health/2024-01/msg00001.html
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/task/?16494>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
------------------------------
Message: 3
Date: Sun, 28 Jan 2024 23:35:42 -0500 (EST)
From: Feng Shu <INVALID.NOREPLY@gnu.org>
To: Feng Shu <tumashu@163.com>, health-dev@gnu.org
Subject: [Health-dev] [task #16494] Let health_lab report more
customize
Message-ID: <20240129-043541.sv117243.79958@savannah.gnu.org>
Content-Type: text/plain;charset=UTF-8
Update of task#16494 (group health):
Release: None => 4.3.0
_______________________________________________________
Follow-up Comment #1:
At the moment, I have done the following job:
(1) Add category field to TestType:
+ category = fields.Selection([
+ (None, ''),
+ ('hematology', 'Hematology Testing'),
+ ('fluid_excreta', 'Body Fluid and Excreta Examination'),
+ ('biochemical', 'Biochemical Testing'),
+ ('immunological', 'Immunological Testing'),
+ ('molecular_biology', 'Molecular Biology Testing'),
+ ('chromosome_genetic', 'Chromosome and Genetic Disease Detection'),
+ ('others', 'Others'),
+ ], 'Category', sort=False, select=True)
At the moment, I just use a Selection field at the moment,
I'm not sure whether this choice is suitable, we need to discuss:
1. Selection or Many2One? which one is better? why
2. does user need to customize category?
3. Can we find a standard classification
https://hg.savannah.gnu.org/hgweb/health/rev/812df721f231
(2) Add report_style fiedl to Test type, and let fodt template conside it.
+ report_style = fields.Selection([
+ ('tbl_h_r_u_nr', 'Table with result, unit and normal_range
columns'),
+ ('tbl_h_r_nr', 'Table with result and normal_range columns'),
+ ('tbl_h_r', 'Table with result column'),
+ ('tbl_nh_r', 'Table with result column (no header)'),
+ ('no_tbl', 'Do not use table'),
+ ], 'Report style', sort=False, select=True)
+
If other common used styles are lost, please comment and let me know.
https://hg.savannah.gnu.org/hgweb/health/rev/3ea7c1d2be3f
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/task/?16494>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
------------------------------
Subject: Digest Footer
_______________________________________________
Health-dev mailing list
Health-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/health-dev
------------------------------
End of Health-dev Digest, Vol 149, Issue 8
******************************************