You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# main.py__version__='0.1'print'Trying to import gevent'try:
importgeventfromgevent.backdoorimportBackdoorServerexceptImportError:
print'Failed. Trying to fix the path'importosprint'PATH:', os.sys.pathprint'PWD:', os.getcwd()
os.chdir("..")
print'PWD:', os.getcwd()
print'Trying to import again'importgeventfromgevent.backdoorimportBackdoorServerprint'Success. Trying to bring the console shell'server=BackdoorServer(['127.0.0.1', 5001],
locals={'foo': "From defined scope!"})
server.serve_forever()
Yes to be honest, this was probably closed as stale since as you said nobody seemed to care.
But if you've tried again and confirm it's still an issue then maybe we/you should take a look.
As far as I remember I've already played with gevent in one of my apps. Well it was a sub dependency and I haven't tried importing it directly.
So do you confirm this is still an issue? On p4a master? If so please reopen with updated debug log and way to reproduce
Trying to port the interactive console to "minimal" bootstrap, got an issue importing
gevent
:ImportError: cannot import name core
Researched, and looks like "gevent is being imported from its build folder": http://stackoverflow.com/a/2312205/798575
Follows my
main.py
and logs:Bash commands used to build the APK:
ADB logcat:
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: