botwave icon indicating copy to clipboard operation
botwave copied to clipboard

[Bug]: sstv doesnt work

Open yusuferc opened this issue 7 months ago • 29 comments

Describe the bug

when i run sstv it says install pysstv numpy pillow but they are already installed

To Reproduce

No response

OS

raspbian

Version

idk

Machine (Hardware)

rpi4

Additional context

No response

yusuferc avatar Apr 18 '26 13:04 yusuferc

Can you confirm that those are installed on /opt/BotWave/venv and not your system environment ? They have to be shown when this command is ran (in a regular shell):

/opt/BotWave/venv/bin/pip show pysstv numpy pillow

douxxtech avatar Apr 18 '26 14:04 douxxtech

warning packages not found

yusuferc avatar Apr 18 '26 14:04 yusuferc

You'll need to install them there, like this:

sudo /opt/BotWave/venv/bin/pip install pysstv numpy pillow

douxxtech avatar Apr 18 '26 14:04 douxxtech

botwave › sstv /opt/BotWave/uploads/big-ball-bird.webp [SSTV] Generating SSTV WAV from /opt/BotWave/uploads/big-ball-bird.webp using mode auto... [SSTV] Please install required modules: [SSTV] /opt/BotWave/venv/bin/pip install pysstv

yusuferc avatar Apr 18 '26 14:04 yusuferc

when i try to install pysstv to that directory it says already satisfied

yusuferc avatar Apr 18 '26 14:04 yusuferc

That's weird, could you send the exact output of /opt/BotWave/venv/bin/pip show pysstv numpy pillow ?

douxxtech avatar Apr 18 '26 14:04 douxxtech

Additionally you'll need to restart BotWave after running the pip install, idk if you already did it

douxxtech avatar Apr 18 '26 14:04 douxxtech

Name: PySSTV Version: 0.5.7 Summary: Python classes for generating Slow-scan Television transmissions Home-page: https://github.com/dnet/pySSTV Author: András Veres-Szentkirályi Author-email: [email protected] License: MIT Location: /opt/BotWave/venv/lib/python3.13/site-packages Requires: Pillow Required-by:

Name: numpy Version: 2.4.4 Summary: Fundamental package for array computing in Python Home-page: https://numpy.org Author: Travis E. Oliphant et al. Author-email: License-Expression: BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0 Location: /opt/BotWave/venv/lib/python3.13/site-packages Requires: Required-by:

Name: pillow Version: 12.2.0 Summary: Python Imaging Library (fork) Home-page: https://python-pillow.github.io Author: Author-email: Jeffrey 'Alex' Clark [email protected] License-Expression: MIT-CMU Location: /opt/BotWave/venv/lib/python3.13/site-packages Requires: Required-by: PySSTV yusuf@radiopi:~ $

yusuferc avatar Apr 18 '26 14:04 yusuferc

yes i did

yusuferc avatar Apr 18 '26 14:04 yusuferc

Could you try running /opt/BotWave/venv/bin/python -c "from pysstv.color import MODES; print(MODES)" ? It should output something like this:

(<class 'pysstv.color.MartinM1'>, <class 'pysstv.color.MartinM2'>, <class 'pysstv.color.ScottieS1'>, <class 'pysstv.color.ScottieS2'>, <class 'pysstv.color.ScottieDX'>, <class 'pysstv.color.Robot36'>, <class 'pysstv.color.PasokonP3'>, <class 'pysstv.color.PasokonP5'>, <class 'pysstv.color.PasokonP7'>, <class 'pysstv.color.PD90'>, <class 'pysstv.color.PD120'>, <class 'pysstv.color.PD160'>, <class 'pysstv.color.PD180'>, <class 'pysstv.color.PD240'>, <class 'pysstv.color.PD290'>, <class 'pysstv.color.WraaseSC2120'>, <class 'pysstv.color.WraaseSC2180'>)

douxxtech avatar Apr 18 '26 14:04 douxxtech

(<class 'pysstv.color.MartinM1'>, <class 'pysstv.color.MartinM2'>, <class 'pysstv.color.ScottieS1'>, <class 'pysstv.color.ScottieS2'>, <class 'pysstv.color.ScottieDX'>, <class 'pysstv.color.Robot36'>, <class 'pysstv.color.PasokonP3'>, <class 'pysstv.color.PasokonP5'>, <class 'pysstv.color.PasokonP7'>, <class 'pysstv.color.PD90'>, <class 'pysstv.color.PD120'>, <class 'pysstv.color.PD160'>, <class 'pysstv.color.PD180'>, <class 'pysstv.color.PD240'>, <class 'pysstv.color.PD290'>, <class 'pysstv.color.WraaseSC2120'>, <class 'pysstv.color.WraaseSC2180'>)

yusuferc avatar Apr 18 '26 14:04 yusuferc

Interesting, so the module is there and loads. Can I get your output of /opt/BotWave/venv/bin/python -c "import sys; print(sys.path)" ? It'll help me debug it

douxxtech avatar Apr 18 '26 14:04 douxxtech

['', '/usr/lib/python313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/opt/BotWave/venv/lib/python3.13/site-packages']

yusuferc avatar Apr 18 '26 14:04 yusuferc

Oh, I can see that you're on python3.13, are you perhaps on Raspbian Trixie (uname -v) ? It works correctly on my pi 4 using python 3.11, I'll check if its the same thing for python3.13 but it'll take some time to install.

douxxtech avatar Apr 18 '26 14:04 douxxtech

#1 SMP PREEMPT Debian 1:6.12.75-1+rpt1 (2026-03-11)

yusuferc avatar Apr 18 '26 14:04 yusuferc

soo what do i do

yusuferc avatar Apr 18 '26 14:04 yusuferc

To be honest I'm not sure of what you should do, I'm trying to get the same setup as yours right now. I'll send another message if I find anything useful

douxxtech avatar Apr 18 '26 14:04 douxxtech

btw how did u do the thing where you connected to a walkie talkie it seems interesting

yusuferc avatar Apr 18 '26 14:04 yusuferc

It was done by replacing the BotWave default backend with this one. There is already a short tutorial in the readme but it's kinda complex. If you'd like to reproduce it I could help you, but it'll just be easier if you DM me on any socials like discord or smth like that (check https://douxx.tech/ there are some links)

douxxtech avatar Apr 18 '26 14:04 douxxtech

i could dm you on tiktok

yusuferc avatar Apr 18 '26 15:04 yusuferc