Crash from a native application that integrates the Python interpreter

Hello.

As the title suggests I am developing an application that integrates python interpreter.

It worked before, but now it only works on the Simulator.

As I do not have a physical device, it is totally impossible for me to test.

Symptom:

When the application starts it crashes. That's all the info I have.

Some have suggested that it might be the interpreter creating a _pycache_ folder, so I tried to adjust to a tmp_path current working directory

QDir dir(QCoreApplication::applicationDirPath());
app_path = dir.absolutePath();
tmp_path =  QDir::cleanPath(app_path+ "/../../tmp");
QDir::setCurrent(tmp_path);

It sets the current path to the correct location. It still crashes...

Can someone have an idea on how to solve this problem?

Thanks Martin, I just solved it with the help of MadK on IRC.

Too bad I had to blindly bruteforce the solution with him while he took like 4 hours.

Next time I'll take you into account to help you, thank you.

Just to note the solution, it was the stupid problem:

I just had to remove a line as the IDE to insert file bar - descriptor.xml only for the output device configuration

Qnx/Cascades

Tags: BlackBerry Developers

Similar Questions

  • to update my application inherited from my native application, I get the error that the 'APK version code must be greater than 2000000. I've specified in the constructor it would be 4.0.0.0

    I tried to update, but I get this error. But the thing is that am downloading the i´ version is 4.0.0.0

    Any help? Screen Shot 2014-11-21 at 1.24.55 AM.png Screen Shot 2014-11-21 at 1.25.03 AM.png Digital Publishing Suite

    The version code must be much higher than 6. Make 20000007 or something like that.

    Digital Publishing Suite help | With version numbers in Web App Builder DPS

  • Native application stops at the black screen

    I have a native application that does some stuff, prints on the standard output, and then ends.  When I run it via telnet, it works fine, but when I run it from the menu, it hangs at a black screen and newspaper/Journal is created but it is empty.

    Any ideas?

    I found it.  For some reason my app was panic when LANG = C.  I set LANG = "" in blackberry - tablet.xml as a workaround for the moment. "

  • Where can I get the Adobe Creative Cloud Desktop application that manages the installation process? I would check the progress of the download. Thank you!

    Where can I get the Adobe Creative Desktop application that manages the installation process? I would check the progress of the download. Thank you!

    Hello

    You can download the installer for Creative Cloud from here:
    Creative cloud help | Creative cloud desktop.

  • Applications that use the non-public API will be rejected

    Hi guys

    Just read the iOS guidelines before getting too deep into the manufacturing of the native version of a web application.

    I was wondering what:

    Applications that use the non-public API will be rejected

    We hear when to submit an application in AIR - does that mean that you can not use your own custom classes?

    See you soon

    If you mean custom AS3 classes, Yes, you can use those. What you can't do, is create a DONKEY who calls in the frames of the iOS itself.

  • Hello, I bought Creative Suite Master in October 2014 and my computer was stolen from my car to that effect the license associated with this machine, therefore, is more accessible to me. You have a function to disable this computer with my purchase if I c

    Hello, I bought Creative Suite Master in October 2014 and my computer was stolen from my car to that effect the license associated with this machine, therefore, is more accessible to me. You have a function to disable this computer with my purchase, so I can reinstall it on my newly purchased machine?

    Contact adobe during the time pst support by clicking here and, when available, click on "still need help", https://helpx.adobe.com/contact.html , and request activation reset account.

  • After installing Acrobat or Reader on Windows 7 or Vista, icons of applications and file types change in Acrobat/Reader icon. Double click on a file or icon launches Acrobat or Reader. (The native application associated with the file type is not ope

    After installing Acrobat or Reader on Windows 7 or Vista, icons of applications and file types change in Acrobat/Reader icon. Double click on a file or icon launches Acrobat or Reader. (The native application associated with the file type is not open.)

    Hi peterb53490660,

    Try the steps of troubleshooting mentioned in this KB doc. https://helpx.Adobe.com/Acrobat/KB/application-file-icons-change-Acrobat.html

    Kind regards
    Nicos

  • I have a VBA application that fills the data in an Acrobat form.  Do I have to distribute a complete Acrobat on each machine that uses this application (it will be disastrous) or is there a way I can use the software Acrobat reader only.  I am using the f

    I have a VBA application that fills the data in an Acrobat form.  Do I have to distribute a complete Acrobat on each machine that uses this application (it will be disastrous) or is there a way I can use the software Acrobat reader only.  I use the next AcroExch.App and AcroExch.PDDoc object to the form.  I hope there's a distribution object, I can use the full application and not because I don't want users to have access to forms and to keep the cost down.

    It is important to realize that the Acrobat SDK kit is a marketing tool for Acrobat. So, Yes, certainly you need a copy for each system. There is no redistributable components.

  • AIR application that fits the WHOLE screen

    I have an AIR application that manages the mode full-screen, but I was wondering is there a way to get rid of the gray bottom bar so that the application fills the whole screen entirely? It seems a bit pointless because it is there and for me it takes away the effectiveness of full-screen completely in my opinion.

    It's the bar, I mean: -.

    http://i223.Photobucket.com/albums/dd147/jimmyoneshot/bar.jpg

    Use ShowStatusBar = 'false' remains in the WindowedApplication tag.

  • How to pass variables by using the command line when starting from a native application ActionScript

    How to pass in variables or arguments to start using the command line when starting a native ActionScript application? For example, I have my app MySweetWidget call and it was compiled with Adobe AIR runtime in captivity so now I have MySweetWidget.exe.

    In the command line, I call MySweetWidget.exe and would like to pass in variables or properties of the application. I guess that these variables are read from the loaderInfo.parameters object.

    Please let me know if the Adobe AIR runtime supports passing the parameters to native execution. If so, I would like to help determine the correct format of how pass variables. So would you want to read those loaderinfo.parameters object?

    Thank you

    Jeff

    I found the answer to my own question:

    Yes, it's a feature supported. It is documented on the following page:

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/Flash/desktop/NativeApp lication.html #event:invoke

    When you subscribe to the event from the NativeApplication invoke it will subsequently send the event and you read the table of e.arguments object to get the start in the native application arguments.

  • Internet the in slow motion - computer runs very slow when you use any program / application that uses the Internet

    I have Windows Vista 32-bit 2.4Ghs HP M91501, I had to reformat due to the error of hard disk. After formatting the PC, I went online to play or surf the internet is slow. I move fast and Lupe moves. I tried to highlight something and it takes up to 20 seconds before it highlites the message.  When I try to play Call of duty online I play in slow motion. Called Charter they did a speed test shows speed 11 Mbit/s download and 1 Mbps of download speed. All the solutions to this important really appriciated your feed back...

    I hope that Super Antispyware has given you the opportunity to remove those things. Since your initial Malware scan came clean, it is likely that located SuperAntispyware cookies only track, which are odious, but generally not a threat from System.

    It is possible that you have apps which unknown to you, that run automatically in the background whenever you start your program. It is good to check if they are legitimate and necessary to launch when you start your PC.

    Start button, click on you. In the run box, type: msconfig.exe

    A System Configuration tool runs. Go to the Startup tab. You will find a list of applications that are set to run every time your PC starts. If you recognize all of them, use Google to help identify their purpose. Many times, you can open the application that is in question and prevent the application from starting. For example, on my system, I see that Java runs once more a verification tool to update each time you start. In this case, I can set my preferences Java Panel, select Java and uncheck automatically search for updates.

    I also use OpenOffice and it wants to run a startup of service to reduce the time that openoffice requires to open. I don't really want something constantly running in the background to save me a few seconds to open the application. Then I go to Google to find out where the switch is to disable this "feature".

    If you have unwanted applications running in the background, it is best to either uninstall, our to disable the option that allows them to run at startup. Although you could definitely "uncheck" the application through msconfig.exe, it is essentially a tool of troubleshoouting and not intended for the struggle of the apps (even if you do).

    You can always uncheck/check again on this list to see their impact when you then restart your PC.

    Once you have verified that apps that are set to start, you can run Windows Task Manager and scroll elements in the process and Services tabs to see what is running. The Services tab can be pretty intimidating to investigate on (there is a lot of misinformation the ' net), so if you are unsure about the services listed, it is best to ask or to jump on this area.

  • Satellite T110-107 - Application that displays the menu of the FN key

    Hello

    I just reinstalled a fresh copy of windows and I can't find the aplications that displays the menu fn keys. Therefore, my wifi is broken, because I can not activate. For your information: the LCD brightness is operational

    Fine thank you

    Hey Buddy,

    You need value-added package tool site oshiba. This will display the menu of the FN button on screen.
    In addition, I think you need newest WLAN driver if t, you can activate the wireless network card

    All what you need you can download here:
    http://EU.computers.Toshiba-Europe.com > support & downloads > download drivers

  • Application that prompts the user to add your opinion in AppWorld on closure

    I am trying to add this feature to my app... But do not know how... And can't seem to find any documentation on this subject...

    You can call the browser to the URL of your app in the App World.  App World opens next to your application page, where the user can leave a comment.

  • BlackBerry 8310 Smartphone of Smartphones (BB has been DEAD for upgrading applications that use the Device Manager)

    Hello, recently I wanted to install an application but got an error message saying AJAX is not supported on your platform - after checking the forums on this site, I found that I need to upgrade to 4.5.X and for that I downloaded from this site the "8310M_PBr4.5.0_rel52_PL2.7.0.55_A4.5.0.37 [1].

    When I connect the device to the computer, I got the message from device manager asking if I want to upgrade applications to current version,

    I did it-but suddenly during the upgrade process, my blackberry is turned off and since impossible to turn it on again, it looks like my smart phone is completely dead! There's just a red light on the top flashing...

    That's all just amazing, because I have no idea why this happened because I used this official site and Device Manager was the one I downloaded from this site for 8310 Smartphone

    Can someone HELP me please?

    Thank you

    PAM

    Great!

    You please resolve this thread by using the options on the star of the kudo?

    Thank you very much!

  • Y at - it a messaging of iOS application that updates the counts unread for all folders?

    I went through a considerable amount of effort to organize my e-mail on iCloud in several folders, some nested, including using filters to Apple to sort my emails in these folders.  I was really surprised to see that the mail iOS app is not able to maintain unread accounts next to these folders.  I think that it is possible to declare as "Inbox", but in addition to the clutter of dozens of them, he "flattens" and resumes the structure unnecessarily. What I want is the the folder tree is as with the counts read next to them.  Parent folders contains the sum of the counts unread subfolders.   If any of you have used 'Claws Mail', you'll know exactly what I mean.

    What is happening is that the unread number is updated only when I visit the folder.  Visit dozens of folders at the same time, it is tedious and unacceptable.  I'm really curious to know what Apple had in mind when creating this filter mechanism without providing the counts unread next to the folders.  It really beats the screening point, and I get bored to see mail in due course.  I tried every setting I could find to the counties to operate without success.

    Is there any application to mail out there that can do this?

    A second problem with the filters of Apple on the iCloud is that iOS doesn't let you get to iCloud.com via Safari to manage your filters.  You use Chrome or non - iOS to connect to iCloud.com system.   I don't see why this is so.

    You can press and hold the icon Refresh (semicircular arrow) into the URL bar "Ask Site Desktop" will appear and then press that.

Maybe you are looking for

  • Trying to access the Archives of emails to a version of thunderbird 2006

    I have some old email with the information that I need to access. I have saved on the disk, but they have not used in years. Now, I need to try to access the files. The external file is named "mail" and 3 subfolders named 'local folders' and then two

  • Update Windows XP Pro Dell D830

    the Windows update website site has encountered a problem and cannot display the page you are trying to view Just a clean installed because I had all sorts of problems with Windows Update. Service Pack 3 is responsible and Office 2010 MSE is responsi

  • Drivers for laptop HP 2000

    Hello I have a HP 2000 on which I just installed Windows 7 Home Premium 64-bit. The wireless and ethernet drivers were not recognized by default, so now I'm in the quest of trying to find the right drivers for it. I tried a bunch of drivers associate

  • Driver acer aspire XC - 600

    I'm looking for a driver for the acer desktop aspire XC - 600. I'm unable to find the following driver: Driver for LAN. I am running Windows 8.1 - x 64-bit. Any help would be great.

  • JavaLoader install programmatically

    Hello. I have a small question I know there is a command with JavaLoader that can load an application to the device (and it wouldn't get displayed in the list of applications) JavaLoader -usb load Is it possible to do this programmatically, or for ap