08-21-2013 02:39 AM
As the title suggests i'm developing an app that embeds python interpreter.
It worked before, but now it only works on the simulator.
As i do not posses a physical device it's completely imposible for me to test it.
When the app starts it crashes. That's all the info i have.
Some have suggested it might be the interpreter trying to create a _pycache_ folder , so i tried setting the current working directory to a tmp_path
QDir dir(QCoreApplication::applicationDirPath()); app_path = dir.absolutePath(); tmp_path = QDir::cleanPath(app_path+ "/../../tmp"); QDir::setCurrent(tmp_path);
it does set the current path to the correct location. it still crashes..
Can someone have an idea on how to solve this?
Solved! Go to Solution.
08-21-2013 04:26 AM
If you can provide me with a copy of your application (preferably with source code) I'd be glad to take a look (I work in the Blackberry Developer Relations Group). If you need to make special arrangements, send me a private message with the details.
08-21-2013 01:09 PM
Thanks Martin, i just solved it with the help of MadK on the IRC.
Too bad i had to blindly bruteforce the solution with him so it took like 4 hours.
Next time i'll take you into account for help, thanks.
Just to note the solution this was the silly problem:
I just had to remove one line that the IDE inserted at the bar-descriptor.xml file only for the device-release configuration
08-22-2013 03:49 AM
Great, glad you sorted it out :-)