[fenrir-screenreader] Re: [raspberry-vi] Re: fenrir and bypassing speech dispatcher

  • From: chrys <chrys@xxxxxxxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx, fenrir-screenreader@xxxxxxxxxxxxx
  • Date: Sat, 26 Jan 2019 11:01:34 +0100

Howdy,

I am wondering if there is a way to globally upgrade all packages used by 
fenrir to their latest versions?


to hopefully improve the situation here i did some stuff:
1. added the minium versions to .setup.py file - what makes it update if you have older versions installed
2. i add an reqirement.txt file what contains the needed dependencies with its minimum version. so you can install them with one stroke.

sadly the setup.py file is broken on debian, hopefully we can fix this for Debian based systems anytime. but installing it with the install.sh helper script works as long the setup.py is not working yet.

to install it manuall with install.sh next time you can do:
# install espeak and sox with your package manager (pip cannot install non python dependencies in an good way)
sudo pip install -r requirements.txt # install all python requrements with its needed versions
sudo ./install.sh # install fenrir

cheers chrys

Am 26.01.19 um 10:14 schrieb Chrys:
Howdy,
Ah, Awsome. So it works now for you?

I am wondering if there is a way to globally upgrade all packages used by 
fenrir to their latest versions?
Hmm maybe there is a way. Let me check.

Cheers Chrys

Am 26.01.2019 um 08:43 schrieb Pranav Lal <pranav.lal@xxxxxxxxx>:

Hi Chrys,

The default vesion was 2.2.3 I think A sudo pip3 install --upgrade daemonize 
did the trick.

I am wondering if there is a way to globally upgrade all packages used by 
fenrir to their latest versions?

Pranav

-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx <raspberry-vi-bounce@xxxxxxxxxxxxx> On 
Behalf Of chrys
Sent: Friday, January 25, 2019 9:34 PM
To: raspberry-vi@xxxxxxxxxxxxx
Subject: [raspberry-vi] Re: fenrir and bypassing speech dispatcher

howdy Pranav

TypeError: __init__() got an unexpected keyword argument 'chdir'
seems that you dont have (or an old version) of python-daemonize (not mix it up 
with python-daemon) i have the following daemonize (2.5.0)                   - 
Library to enable your code run as a daemon process on Unix-like systems.

what version is available in your distro of this package?

install it with:
sudo pip3 install daemonize

Am 25.01.19 um 16:29 schrieb Pranav Lal:
Hi all,

How should I set fenrir to bypass using speech dispatcher? Moreover, I
am unable to run fenrir-daemon. I get the following error.
pi@raspberrypi:/opt/fenrirscreenreader $ sudo ./fenrir-daemon

Traceback (most recent call last):

   File "./fenrir-daemon", line 26, in <module>

     daemon = Daemonize(app="fenrir-daemon", pid=pidFile, action=main,
chdir�nr
irPath)

TypeError: __init__() got an unexpected keyword argument 'chdir'

pi@raspberrypi:/opt/fenrirscreenreader $


Pranav

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013


--------------------------------------------
MailingList: fenrir-screenreader@xxxxxxxxxxxxx
Website: https://linux-a11y.org
Wiki: https://wiki.linux-a11y.org/doku.php?id=fenrir
Code: https://github.com/chrys87/fenrir
IRC Live Support:
Network: irc.linux-a11y.org
Room: #a11y

Other related posts:

  • » [fenrir-screenreader] Re: [raspberry-vi] Re: fenrir and bypassing speech dispatcher - chrys