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
Can you open it up by using /usr/bin/fenrir?
Or is there an error Message?
Storm Dragon via aur-general aur-general@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@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
On 14 October 2016 20:59:19 CEST, Stefan Husmann stefan-husmann@t-online.de wrote:
Storm Dragon via aur-general aur-general@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@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.
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@t-online.de wrote:
Storm Dragon via aur-general aur-general@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@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"
On 15 October 2016 01:23:39 CEST, Storm Dragon via aur-general aur-general@archlinux.org wrote:
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"
Right sorry, I was just going off the top of my head since I'm not near my PC and can't install the package.
If you're gonna keep the install commands then sure, -m644, keep things safe from normal users and also make things clear for the readers. If you're going to keep just the cp commands I'd at least add --no-preserve=owner to make sure the user who installed the package doesn't stay the owner of the files once installed.
Either way should be fine, both of them too if you prefer that. Can't help you with your problem though, sorry.
Sincerely, Joost Bremmer
On Sat, Oct 15, 2016 at 1:23 AM, Storm Dragon via aur-general aur-general@archlinux.org wrote:
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?
Just to chime in here, but it I just want to stress that gnu coreutils cp(1) does *not* have a -m flag. the flag in question is for the similar install(1) binary which can be said to be the prefered way to install files in package() {}.
Other than that, I might find a few minutes to install your package today and look into the problem. ok?
cheers! mar77i
Howdy, Did you ever get the chance to do anything with the PKGBUILD? I'm still stuck with it, but it seems like it is so close to working. Thanks Storm On Sat, Oct 15, 2016 at 07:55:41AM +0200, AUR General wrote:
On Sat, Oct 15, 2016 at 1:23 AM, Storm Dragon via aur-general aur-general@archlinux.org wrote:
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?
Just to chime in here, but it I just want to stress that gnu coreutils cp(1) does *not* have a -m flag. the flag in question is for the similar install(1) binary which can be said to be the prefered way to install files in package() {}.
Other than that, I might find a few minutes to install your package today and look into the problem. ok?
cheers! mar77i
On Tue, Oct 18, 2016 at 2:49 AM, Storm Dragon via aur-general aur-general@archlinux.org wrote:
Howdy, Did you ever get the chance to do anything with the PKGBUILD? I'm still stuck with it, but it seems like it is so close to working. Thanks Storm
Uh, no. Sorry. Thanks for the reminder, though. Will do.
cheers! mar77i
aur-general@lists.archlinux.org