English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   support.FS-UAE (http://eab.abime.net/forumdisplay.php?f=122)
-   -   Linux + fs-uae-launcher + python 3.7.2 = Broken :( (http://eab.abime.net/showthread.php?t=96435)

toxicshadow 23 February 2019 13:31

Linux + fs-uae-launcher + python 3.7.2 = Broken :(
Does Frode still visit these forums occasionally?

The latest version of python does not play well with fs-uae-launcher and results in the following crash:


enabling except hook
enable tread exception handler
uname_result(system='Linux', node='PC_1', release='4.20.10-200.fc29.x86_64', version='#1 SMP Fri Feb 15 18:33:14 UTC 2019', machine='x86_64', processor='x86_64')
FS-UAE Launcher 2.8.3
Traceback (most recent call last):
  File "/usr/share/fs-uae-launcher/fsgs/Archive.py", line 9, in <module>
    from lhafile import LhaFile
ModuleNotFoundError: No module named 'lhafile'
LhaFile module import problem
[SETTINGS] Constructor <fsbc.settings.Settings object at 0x7f5f7b1b85f8>
[SETTINGS] No settings path specified
[SETTINGS] Using default /home/toxicshadow/Documents/FS-UAE/Data/Settings.ini
[SETTINGS] Loading from /home/toxicshadow/Documents/FS-UAE/Data/Settings.ini
[SETTINGS] Set config_changed = 1
[SETTINGS] Set config_name = Unnamed Configuration
[SETTINGS] Set configurations_dir_mtime = 1550852071+30
[SETTINGS] Set fullscreen = 0
[SETTINGS] Set fullscreen_mode = fullscreen
[SETTINGS] Set kickstarts_dir_mtime = 1550852071
[SETTINGS] Set last_cd_dir = /mnt/nas_games/emulators/roms/amiga/CD32_ISO/sleepwalker
[SETTINGS] Set last_floppy_dir = /home/toxicshadow/Downloads
[SETTINGS] Set last_hd_dir = /mnt/nas_games/emulators/roms/amiga/whd
[SETTINGS] Set last_rom_dir = /home/toxicshadow/Documents/FS-UAE/Kickstarts
[SETTINGS] Set last_scan = 1417350508.4891355
[SETTINGS] Set last_settings_page = Maintenance
[SETTINGS] Set maximized = 0
[SETTINGS] Set scan_configs = 1
[SETTINGS] Set scan_files = 1
[SETTINGS] Set scan_roms = 1
[SETTINGS] Set video_sync_method = swap-fence
[I18N] Initialize_locale language =
[I18N] Locale is en_GB
[I18N] Checking /usr/bin/share/fs-uae-launcher/share-dir
[I18N] Checking /usr/bin/../share/fs-uae-launcher/share-dir
[I18N] bindtextdomain fs-uae-launcher: /usr/bin/../share/locale
[I18N] find translations for en_GB in local directory /usr/bin/../share/locale
[I18N] Path to mo file: None
[I18N] Translations object: <gettext.NullTranslations object at 0x7f5f7b1b8860>
malloc(): smallbin double linked list corrupted
KCrash: Application 'python3.7' crashing...
 Alarm clock

I can confirm that downgrading python to 3.6.8 allows it to run without issue.

jotd 23 February 2019 16:32

python installs itself in various dirs. You probably have the module installed in 3.6 not in 3.7

Try using "pip install lhafile" from 3.7

toxicshadow 23 February 2019 22:02


Originally Posted by jotd (Post 1306597)
python installs itself in various dirs. You probably have the module installed in 3.6 not in 3.7

Try using "pip install lhafile" from 3.7

Thanks for your reply. The actual crash is the double linked list corrupted line.
Just incase though i did check to see if I do get the no module named lhafile error still on python 3.6.8 and i do.

As fs-uae-launcher is a python script itself I had a quick look around in the code and it is designed to check for the lhafile module and if it is not found it controls a flag to not use any functions that rely on the missing module.

It appears that the latest python is less tolerant in some way or more strict on the syntax.

cloverskull 24 February 2019 00:26

To answer your question regarding Frode, sadly, he doesn't :( I consider fs-uae dead.

toxicshadow 24 February 2019 20:59

Thats a shame. I am a programmer myself so I understand that most projects eventually become tedious and cause you to burnout so I can only hope that one day he will become interested in it again.

As for my problem, it looks like someone has already done the debugging work for me and presents a solution here for anyone who comes across this:


All times are GMT +2. The time now is 20:36.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.

Page generated in 0.04250 seconds with 11 queries