Search Criteria
Package Details: mygnuhealth 1.0.5-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mygnuhealth.git (read-only, click to copy) |
---|---|
Package Base: | mygnuhealth |
Description: | The GNU Health Personal Health Record (PHR) |
Upstream URL: | https://www.gnuhealth.org |
Keywords: | bioinformatics GNUHealth healthcare mHealth PHR PIM |
Licenses: | GPL3 |
Submitter: | meanmicio |
Maintainer: | meanmicio |
Last Packager: | meanmicio |
Votes: | 5 |
Popularity: | 0.46 |
First Submitted: | 2021-07-08 20:52 (UTC) |
Last Updated: | 2021-10-19 12:51 (UTC) |
Dependencies (8)
- kirigami2 (kirigami2-gitAUR)
- pyside2AUR
- python (python37AUR, python311AUR, python310AUR)
- python-bcrypt
- python-matplotlib (python-matplotlib-gitAUR)
- python-requests
- python-tinydbAUR
- python-setuptools (make)
Latest Comments
ioan commented on 2022-07-23 22:32 (UTC)
where are the config file and profile file stored for this app?
meanmicio commented on 2021-07-10 12:39 (UTC)
Thanks for reporting!
Hmm. Can not reproduce it... It's strange, because numpy core.multiarray is part of the main package (python-numpy) and is required by python-matplotlib.
Can you please provide the full trace of the error?
Also, could you provide this info, from the Python interpreter:
Python 3.9.6 (default, Jun 30 2021, 10:22:16) [GCC 11.1.0] on linux Type "help", "copyright", "credits" or "license" for more information.
alerque commented on 2021-07-10 09:25 (UTC)
I think you're missing a dependency on
numpy
:meanmicio commented on 2021-07-09 12:45 (UTC)
Fixed file mode, and cleaned up PKGBUILD. It should work now :) (https://paste.rs/qul)
meanmicio commented on 2021-07-09 12:07 (UTC)
True. I have made a more specific workaround, that changes the permission only on the specific variants.db file
https://pastebin.com/C6E3tgjS
Probably would fit better at the end of the build() function, but it does seem to work on package(), as long as it runs before the actual setup install.
If it sounds good to you, then we'll increment pkgrel :)
alerque commented on 2021-07-09 10:22 (UTC)
That sounds about right. This commit message and diff is probably a more aggressive fix than we want, but along the right lines of fixing the files in
$pkgdir
after installing stuff there inpackage()
.meanmicio commented on 2021-07-09 09:30 (UTC)
I think we're hitting this issue https://github.com/pypa/setuptools/issues/1328#issuecomment-718556363
When installing the application with pip, it does set the right permissions on "/usr/lib/python3.9/site-packages/mygnuhealth/data/variants.db".
alerque commented on 2021-07-09 08:46 (UTC)
You can fix in in package() after Python does it's thing, but that actually sounds like an upstream bug. It should be reported ... somewhere.
meanmicio commented on 2021-07-09 08:17 (UTC)
Good morning, alerque!
Thank you for reporting! It's a filemode issue:
/usr/lib/python3.9/site-packages/mygnuhealth/data/variants.db
Currently is only for rw for root.
The file /usr/lib/python3.9/site-packages/mygnuhealth/data/variants.db Must be read-only but for all users (mod 444). I will check on how to give the proper 444 on that file in PKGBUILD.
Best
alerque commented on 2021-07-09 07:12 (UTC)
I think this is still missing something, I'm not sure whether this is a missing dep or an upstream bug or what. I installed it myself and got this: