You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying chipper today, congratulations on what looks like a fantastic tool!
I run into a couple of minor issues when trying to get it to work, and I thought I would let you know in case it's useful:
I downloaded the .zip file, extracted its contents and started chipper by running start_chipper, as per the README.md. It started normally, but the audio didn't work:
[INFO ] Setting up
[INFO ] Loading file foo.wav
[CRITICAL] [AudioSDL2 ] Unable to open mixer: b'No such audio device'
[WARNING] Deprecated property "<AliasProperty name=filename>" of object "<kivy.core.audio.audio_sdl2.SoundSDL2 object at 0x7f1166f84590>" was accessed, it will be removed in a future version
[WARNING] [AudioSDL2 ] Unable to load foo.wav: b"Audio device hasn't been opened"
See the full output here and a similar issue reported here and possible solutions here. Everything else seems to work ok.
I then tried to install from source. The instructions will not work for a number of reasons (using conda, and for deb based Linux).
The following worked for me:
Clone the repository with git clone https://github.com/CreanzaLab/chipper.git
Create a new conda environment: conda create -n chipper_env python=3.7 -y
Activate the conda environment: conda activate chipper_env and avigate to ./chipper.
pip install --no-binary kivy kivy.
Note: Installing kivy from pypi directly by pip install -r requirements.txt resulted in the audio not working. Installing ffpyplayer resulted in the audio playing only once (might be the same issue reported here).
Run pip install -r requirements.txt
Note:conda install -r requirements.txt is not a valid conda command. I tried conda install -c conda-forge anaconda --file requirements.txt instead, but soundfile is not available in any conda channels.
conda install pypiwin32 kivy.deps.sdl2 kivy.deps.glew kivy.deps.gstreamer kivy.deps.glew_dev kivy.deps.sdl2_dev kivy.deps.gstreamer_dev or its pip alternative also dont't work—and should't be necessary given that kivy is listed in the requirements file. Also, I'm guessing that pypiwin32 doesn't belong there.
Next, make the setup.py file that is missing in ./chipper
from setuptools import find_packages, setup
setup(
name='chipper',
packages=find_packages(),
version='1.0',
)
and run python setup.py develop
Navigate to ./chipper/chipper and run python run_chipper.py
Everything works normally now, but the thresholded sonogram is not binary - i.e. it still has some red and yellow pixels, see example here. It doesn't seem to affect usability, however.
Thank you for putting the time to develop this tool! Will let you know if I run into any other issues.
Nilo
The text was updated successfully, but these errors were encountered:
@nilomr Thank you so much for trying out Chipper! I hope it is proving useful for your projects.
We really appreciate you reporting your bug -- audio not working on Linux (Ubuntu). We have had issues with this in the Linux version before but were not able to find a solution. Thank you for linking similar issues; these look more recent than our original searches. We will look back into this!
As for installing from source, we will look through your suggested changes. Admittedly, we have not tried this on as many Linux machines as Mac and PC. Without digging in more, I am not sure why you are having trouble with the threshold sonogram not being binary. I will say the pypiwin32 has been necessary for Mac machines when we have installed from source.
Thank you for all the constructive feedback! Great to hear someone is giving Chipper a try!
Hi,
I have been trying chipper today, congratulations on what looks like a fantastic tool!
I run into a couple of minor issues when trying to get it to work, and I thought I would let you know in case it's useful:
chipper_v1.0_linux, system info here.
I downloaded the .zip file, extracted its contents and started chipper by running
start_chipper
, as per theREADME.md
. It started normally, but the audio didn't work:See the full output here and a similar issue reported here and possible solutions here. Everything else seems to work ok.
I then tried to install from source. The instructions will not work for a number of reasons (using conda, and for deb based Linux).
The following worked for me:
Clone the repository with
git clone https://github.com/CreanzaLab/chipper.git
Create a new conda environment:
conda create -n chipper_env python=3.7 -y
Activate the conda environment:
conda activate chipper_env
and avigate to./chipper
.pip install --no-binary kivy kivy
.pip install -r requirements.txt
Install kivy packages
Next, make the setup.py file that is missing in
./chipper
and run
python setup.py develop
Navigate to
./chipper/chipper
and runpython run_chipper.py
Everything works normally now, but the thresholded sonogram is not binary - i.e. it still has some red and yellow pixels, see example here. It doesn't seem to affect usability, however.
Thank you for putting the time to develop this tool! Will let you know if I run into any other issues.
Nilo
The text was updated successfully, but these errors were encountered: