[aur-general] Nee help with a python PKGBUILD

Storm Dragon stormdragon2976 at gmail.com
Fri Oct 14 23:23:39 UTC 2016


On Sat, Oct 15, 2016 at 01:09:29AM +0200, Joost Bremmer via aur-general wrote:
>On 14 October 2016 20:59:19 CEST, Stefan Husmann <stefan-husmann at t-online.de> wrote:
>>Storm Dragon via aur-general <aur-general at archlinux.org> writes:
>>
>>> Howdy,
>>> There is a new console screen reader in the works. It is written in
>>python. I have written a PKGBUILD for it. The PKGBUILD works, it
>>installs things where they are supposed to go, but the problem is the
>>reader won't launch once installed in this way. If you just run
>>setup.py it works fine though. Can someone please take a look and let
>>me know how to fix this?
>>> Thanks
>>> Storm
>>>
>>Try
>>package()
>>{
>>  cd "$srcdir/$_gitname"
>>  python setup.py install --root="$pkgdir" install
>>}
>>and do not put install file into source-array. This gives less errors,
>>but still is not working.
>>
>>[haawda at frege fenrir]$ fenrir
>>Traceback (most recent call last):
>>  File "/usr/bin/fenrir", line 137, in <module>
>>    main()
>>  File "/usr/bin/fenrir", line 132, in main
>>    app = fenrir()
>>  File "/usr/bin/fenrir", line 21, in __init__
>>raise RuntimeError('Cannot Initialize. Maybe the configfile is not
>>available or not parseable')
>>RuntimeError: Cannot Initialize. Maybe the configfile is not available
>>or not parseable
>>
>>Best Regards
>>
>>Stefan
>
>
>Seems maybe the config files or folders might not be readable by normal users? Check the rights on /etc/fenrir/{settings, keyboard, substitution} and add -m644 to their install commands, or better yet just leave those out fine you're using cp anyway.

Fenrir needs to be ran as root, so it should be able to read its config files. It has to access (I hope I got this right) /dev/vcsa*. I do help with writing Fenrir, but I do a lot more testing and very minor code stuff. Do I still need to do the -m644, or leave it out?
>
>-- 
>"We apologize for the inconvenience"

-- 
Powered by Arch Linux! I am registered Linux user number 508465: https://linuxcounter.net/user/508465.html
My blog, Thoughts of a Dragon: http://www.stormdragon.tk/
get my public PGP key: gpg --keyserver wwwkeys.pgp.net --recv-key 43DDC193
Twitter and Facebook are so ... yesteryear. Get your 2MB Social account TODAY! http://2mb.social/main/register
Follow me on GNU Social: https://social.stormdragon.tk/storm
"I am the Lord of this Kingdom. He is the lord of this world. I am the Master of the wind. He is the Master of the wind. Carry your brothers if they die, through Hell they survived. We carry the sword on our shoulders until the end of time."
Celesty - Lord of This Kingdom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20161014/29b41a1d/attachment-0001.asc>


More information about the aur-general mailing list