-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os.path.dirname(os.path.realpath(sys.argv[0])) is not working from last updates #48
Comments
For some other reason, the script will be executed as the following way now : python -c 'import site;exec(open("script path").read())' But I will try to change it to the original way like "python <script path>" in future updates. |
New version had fixed this issue, Get it from http://www.pgyer.com/qpython |
Thanks for solving this issue! Now when i run my script (i run it every few days without problems) i receive following error:
What is happening now? Thanks! |
Please install requests module with the pip_console.py from scripts.
|
I had installed this module, why i have to reinstall it? I try the following command in pip console:
And i receive very much errors like following ones:
Before using my scripts several months ago i installed several modules (requests, pytz and others), Why now they are not in my system after last qpython update? Thanks! |
Uninstalled completely qpython from my phone, deleted /sdcard/com.hipipal.qpyplus folder and reinstalled again qpython from play store. Now following command from pip console:
Installs correctly this module but if i execute my script i receive again following error:
But if i write following command in Qpython interactive console:
I don't receive errors and i can use module. I don't understand it. Thanks! |
Can you post your script here or send to support@qpython.org ? On Sat, Mar 28, 2015 at 12:20 AM, jps1x2 notifications@github.com wrote:
river's showtime, river's game |
Following one-line script was not working for me:
Now i uninstalled again completely Qpython (deleted app cache, app data and app uninstall) and after reinstalling if i try to open console i receive following errors:
Is there any way to delete completely Qpython and reinstall it again to install all needed files? How could i install previous QPython version and use it until all this problems are solved? Thanks! |
Downloaded version 1.0.2 from http://www.pgyer.com/qpython and installed again. Executed from pip console following commands:
Now my scripts are working perfect again. Thanks! |
Nice to know that. : ) And You can create a new file which contains the "import site" as IOError: [Errno 2] No such file or directory: "/storage/emulated/0/com.hipipal.qpyplus/lib/python2.7/site-packages/qpythoninit.py" Thanks. On Mon, Mar 30, 2015 at 7:33 AM, jps1x2 notifications@github.com wrote:
river's showtime, river's game |
Hi, i have updated via Play Store to version 1.0.6 and i have the same problem:
When executing following script:
In this version file /storage/emulated/0/com.hipipal.qpyplus/lib/python2.7/site-packages/qpythoninit.py exists with following content:
Now i don't receive error:
In console i can import this module without problems and use it:
Thanks! |
Any news on my problem? I can't use version 1.0.6 and I have to use old 1.0.2 version. I receive daily messages from play store to update to last version (1.0.6) on market. I would like to install last version and run my scripts. Thanks in advance! |
I will work on it tomorrow. Thanks. On Sun, Jun 14, 2015 at 11:39 AM, jps1x2 notifications@github.com wrote:
river's showtime, river's game |
i have the same problem, the QPython i used is version 1.1.1 |
Hi,
this code is not working from last updates:
Now it returns the following:
If i try following:
print str(sys.argv[0])
I receive:
-c
Is there any problem with last updates?
Thanks
Jorge
The text was updated successfully, but these errors were encountered: