friture icon indicating copy to clipboard operation
friture copied to clipboard

ModuleNotFoundError: No module named 'friture.playback.control'

Open MattBJ opened this issue 1 year ago • 0 comments

Program crashes on start. steps to reproduce. Note, I am using a python venv for this testing

>> python3 --version
Python 3.10.14
>> wget https://github.com/tlecomte/friture/archive/refs/tags/v0.51.tar.gz
>> pip install ./v0.51.tar.gz

>> friture
2024-08-22, 23:44:51 (Friture 0.51)
Traceback (most recent call last):
  File "/path/to/venv/bin/friture", line 5, in 
    from friture.analyzer import main
  File "/path/to/venv/lib/python3.10/site-packages/friture/analyzer.py", line 52, in 
    from friture.playback.control import PlaybackControlWidget
ModuleNotFoundError: No module named 'friture.playback.control'

Slightly different results for python3.11:

>> python3 --version
Python 3.11.9
>> wget https://github.com/tlecomte/friture/archive/refs/tags/v0.51.tar.gz
>> pip install ./v0.51.tar.gz

>> friture 
Unhandled exception: Traceback (most recent call last):
  File "/path/to/venv/bin/friture", line 5, in <module>
    from friture.analyzer import main
  File "/path/to/venv/lib/python3.11/site-packages/friture/analyzer.py", line 52, in <module>
    from friture.playback.control import PlaybackControlWidget
ModuleNotFoundError: No module named 'friture.playback.control'

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

As you see the second one gives slightly different output because I'm using wayland.

python 3.12 same results as 3.11

>> python3 --version
Python 3.12.4
>> wget https://github.com/tlecomte/friture/archive/refs/tags/v0.51.tar.gz
>> friture
Unhandled exception: Traceback (most recent call last):
  File "/path/to/venv/bin/friture", line 5, in <module>
    from friture.analyzer import main
  File "/path/to/venv/lib64/python3.12/site-packages/friture/analyzer.py", line 52, in <module>
    from friture.playback.control import PlaybackControlWidget
ModuleNotFoundError: No module named 'friture.playback.control'

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

It does prompt me if I want to try and continue or abort, but trying to continue fails anyway. This is not creating a log file where it directs me either, $HOME/.local/share/Friture

MattBJ avatar Aug 23 '24 05:08 MattBJ