Import SGC python 3 crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Simple Game Code |
Fix Released
|
Critical
|
Unassigned |
Bug Description
I have Python 3.4.0 (v3.4.0:
I tried to run your helloworld.py and I get this:
Traceback (most recent call last):
File "G:\***
import sgc
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "C:\Python34_
from . import surface
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "C:\Python34_
from .widgets import _locals
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "C:\Python34_
class Font(metaclass=
ValueError: '_fonts' in __slots__ conflicts with class variable
I tried to run test.py and I get this:
Traceback (most recent call last):
File "G:\***
import sgc
File "..\sgc\
from . import surface
File "..\sgc\
from .widgets import _locals
File "..\sgc\
class Font(metaclass=
ValueError: '_fonts' in __slots__ conflicts with class variable
Changed in simplegc: | |
status: | Fix Committed → Fix Released |
I've deleted the __slots__ lines that are causing this error, and reuploaded the code. Can you check if that is working now?