English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 02 November 2018, 14:50   #1
Goingdown
Registered User
 
Goingdown's Avatar
 
Join Date: Dec 2012
Location: Finland
Posts: 162
FS-UAE Launcher does not work in Fedora 29 - too new Python - here is workaround

Fedora 29 uses python 3.7, which seems to be too new for fs-uae-launcher, I got error in startup:


Code:
fs-uae-launcher
Traceback (most recent call last):
  File "/usr/local/bin/fs-uae-launcher", line 84, in <module>
    main()
  File "/usr/local/bin/fs-uae-launcher", line 80, in main
    import launcher.apps
  File "/usr/local/share/fs-uae-launcher/launcher/apps/__init__.py", line 4, in <module>
    import fstd.typing
  File "/usr/local/share/fs-uae-launcher/fstd/typing.py", line 1250, in <module>
    class Callable(extra=collections_abc.Callable, metaclass = CallableMeta):
  File "/usr/local/share/fs-uae-launcher/fstd/typing.py", line 961, in __new__
    self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'
IT seems that because since Python 3.6 -> typing library is provided and it conflicts then.


Workaround was modify file launcher/apps/__init__.py file and comment out two lines:


#import fstd.typing
#sys.modules["typing"] = fstd.typing



Of course to do this right it should check python version first...


Another problem with Fedora 29 was that async is now reserved word in Python 3.7 and there is python file async.py which needed to be renamed to _async.py
Goingdown is offline  
Old 03 November 2018, 07:38   #2
Goingdown
Registered User
 
Goingdown's Avatar
 
Join Date: Dec 2012
Location: Finland
Posts: 162
I updated my Fedora COPR for Fedora 29.

https://copr.fedorainfracloud.org/co.../fs-uae-devel/
Goingdown is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
FS-uae devel Fedora repositories Goingdown support.FS-UAE 3 07 May 2018 05:45
Fedora 24 and fs-uae... Panthros support.FS-UAE 2 30 July 2016 09:09
FS-Uae Launcher - Setting model to A4000 does not work Goingdown support.FS-UAE 3 29 March 2013 12:20
Python errors from fs-uae-launcher [Solved] mocham support.FS-UAE 8 01 November 2012 19:54
Cant save state in E-UAE under Fedora 7 MheAd support.OtherUAE 0 02 July 2007 15:57

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.18367 seconds with 15 queries