Forum Archive

after latest update, old script doesn't work any more

shtek

why not keep compatibility?

JonB

What script?

shtek

all scripts. include those examples.

if long press RUN button and select python 2.7, error is "TypeError super() takes at least 1argument (0 given)"
if long press RUN button and select python 3.6, error is "AttributeError module 'enum' has no attribute 'IntFlag'"

I know little about python. but those all examlpes all work in old version, but after update all failed. strange.

shtek

even a simple test.py with only one line:
import appex

still error: AttributeError module 'enum' has no attribute 'IntFlag'"

shtek

ok, no need to figure out why now,

I just deleted this App, and re-downloaded it.
now it works. all those strange errors are gone.
the simplest solution.

although all scripts are lost, those're all for fun, nothing important.

JonB

If you would have posted your original error, or searched the forum, you would have found the solution. When using stash pip, often extra modules that are incompatible with python3 are installed. Just check site-packages for enum folder, and delete.

cvp

@shtek Agree with @JonB . During years, I have had a lot of problems or errors and I never have needed to reinstall the app. Really, this forum is a big help...