QNX Momentics error: package failed: 2

When you try to run a version of my device BB 10 via QNX Momentics, I get this error:

Package failed: 2
Info: Package created: C:... (the path)

[ERROR] Unable to parse the attribute: \n

When you try to start a debugging session, I get a similar error:

Error in the final launch sequence
Impossible to prepare and upload the binary file
Package failed: 2

Info: Package created: C:... (the path)

[ERROR] Unable to parse the attribute: \n

I'm looking through my race setups, but I can't find anything wrong. I searched on this forum. the Momentics help section and the web, but can't find anything that explains how to fix the error.

Thank you.

Found what was wrong. There was a newline character in the description field in the file descriptor bar * sigh *.

Tags: BlackBerry Developers

Similar Questions

  • [ERROR] Package failed: 2 "download and start the application.

    Hi guys I started updating an older application now that I finally have my Z10 again. I opened the proyect of my old projects and intalled the new SDK.

    It opens and debugging-uploads it to the device without any problem, but trying to release the app it gives me this error.

    Packaging failed:2
    Info: Package created: D:/Dropbox/BlackBerry Apps/ndk-10.0.9-workspace-2/STC_Metro/arm/o.le-v7/STC_Metro.so.bar
    [ERROR] MANIFEST.MF: Invalid value '1.1.0.5.2' for attribute 'Package-Version'.
    [ERROR] MANIFEST.MF: Invalid value '1.1.0.5.2' for attribute 'Application-Version'.
    

    I'm stuck in the present and can not find the MANIFESTO. MF or the solution.

    Please guys help out me.

    I add descriptor the.xml file.

    
    
    http://www.qnx.com/schemas/application/1.0">
    
    
    
        
        com.example.STC_Metro3
        1.1.0.5
    
        
    
        
        es
        buildnum
    
        
    
        
        
    
        
        The STC_Metro application
    
        
        
    
        
        Persona
        gYAAgHCYEOJgie4dpCutABir7Gs
        core.media
    
        
        
    
        
            true
            none
            false
        
    
        
        
           
           icon.png
        
        
           
        
        STC Metro Mexico
        
           armle-v7
           STC_Metro
        
        
           Qnx/Cascades
           armle-v7
           STC_Metro.so
        
        
           armle-v7
           STC_Metro
        
        
           x86
           STC_Metro
        
    
        
    
        assets
    
        
        
            
        
        icon.png
    
        
        run_native
        
    
    
    

    You must use that three version numbers the 4th is handled separately as a build number and is optional.

    Momentics would normally put a red cross indicating an error in the xml file if you try to add more than three?

    Try to reduce to three and see if it works.

  • DW006 Apple error package failed to install successfully

    I had problems to install Adobe Acrobat Pro XI with a subscription to creative cloud. Whenever I install it, it asks me to accept a license agreement, but the box and the menu drop-down are white, so I don't see what I'm supposed to accept. By clicking on I agree, is not good.

    I uninstalled and reinstalled several times, and this time I got an DW006 error code. I'm about to try again, but if anyone has any help to offer it would be appreciated.

    Judy Moran

    Hi Judy,.

    Please check the KB: http://helpx.adobe.com/acrobat/kb/blank-eula-screen-appears-acrobat.html

    Kind regards

    Rave

  • SSL handshake failed in the BB10 QNX Momentics IDE

    I am trying to connect to a web service that uses the SSL protocol. I work with Blackberry 10 in C++ with the QNX Momentics IDE of. The connection that I am doing is this:

    URL: 'https://movilapi...'.

    Code:

    networkAccessManager = new QNetworkAccessManager(this);
        bool res = connect(networkAccessManager, SIGNAL(finished(QNetworkReply*)),
                this, SLOT(requestFinished(QNetworkReply*)));
    
        Q_ASSERT(res);
        Q_UNUSED(res);
    
        QNetworkRequest request = QNetworkRequest(QUrl(url));
        request.setRawHeader("User-Agent", "bb-phone/20120910");
        request.setRawHeader("Content-Type", "application/json");
        request.setRawHeader("Content-Length", postDataSize);
    
        QSslConfiguration sslConfig = request.sslConfiguration();
        sslConfig.setPeerVerifyMode(QSslSocket::VerifyNone);
        sslConfig.setProtocol(QSsl::TlsV1);
        request.setSslConfiguration(sslConfig);
    
            networkAccessManager->post(request, outData);
    

    I still get the same error, regardless of the service which I try to reach. The answer is: SSL handshake failed

    Please help, I have searched for hours without success. Thank you.

    After getting in contact with the RIM a little personal on this issue, we discovered that the TLS/SSL server does not tolerate some extensions, so with the following code of Qt to turn off extensions, the connection was properly made over https:

    QSslConfiguration cfg(request.sslConfiguration());
    cfg.setSslOption(QSsl::SslOptionDisableSessionTickets, true);
    request.setSslConfiguration(cfg);
    

    I want to make special mention of the Department development of applications of Research In Motion for the attention and effort invested on this issue until we finally got the right way to go.

    Here is the code to connect to the case wherever everyone faces this need:

    networkAccessManager = new QNetworkAccessManager(this);
    bool res = connect(networkAccessManager, SIGNAL(finished(QNetworkReply*)),
                this, SLOT(requestFinished(QNetworkReply*)));
    QNetworkRequest request = QNetworkRequest(QUrl(url));
    request.setRawHeader("User-Agent", "BB_PHONE/20120926");
    request.setRawHeader("Content-Type", "application/json");
    request.setRawHeader("Content-Length", postDataSize);
    
    QSslConfiguration sslConfig = request.sslConfiguration();
    sslConfig.setPeerVerifyMode(QSslSocket::VerifyNone);
    sslConfig.setPeerVerifyDepth(1);
    sslConfig.setProtocol(QSsl::TlsV1);
    sslConfig.setSslOption(QSsl::SslOptionDisableSessionTickets, true);
    
    request.setSslConfiguration(sslConfig);
    networkAccessManager->post(request, outData);
    
  • Build the project fails on QNX momentics IDE

    Software: Native SDK 2.0 beta3 QNX momentics IDE

    Problem: after press build project, no file bar.

    Have tried these methods:
    a.Restart pc and playbook on failure
    b on blackberry desktop software fail
    invalid c.Check os version
    d.REINSTALL blackberry sdk native-beta3 fail

    Does anyone know how to solve the problem?

    Thank you for your attention.

    Generation of a project does not generate a BAR file.

    Launch (run or debug) an application generates a BAR file development mode.

    Export Release Build Wizard generates an output mode BAR file.

    HTH,

    Christian

  • I bought an older version of Photoshop Elements (4.0) - in product unused in sealed original packaging. Try to install on my MacBook Air but the part was through the installation, I get this error message: "failed to install. The installer with

    I bought an older version of Photoshop Elements (4.0) - in product unused in sealed original packaging. Try to install on my MacBook Air but the part was through the installation, I get this error message: "failed to install. Setup has encountered an error that caused the installation to fail. Contact the manufacturer of the software. »

    then it is probably too old and incompatible.

  • Setup Mac os 10.11.5 error - "audit failed."

    Hi all.

    I saw the different answers to similar questions for older versions of Mac Os X 10.11, but apparently nothing that relates to my problem or who has been helpful so far.

    I have a Macbook Pro, end 2012. Several attempts to update to the latest Mac Os (10.11.5) on the App Store with "verification failed" failed when starting the installation after the download. I quote below a part of the install.log file that seems to be relevant, but which I can't understand what is happening. Please note that the installation even worked on my new Macbook Pro, mid-2015; the failing machine is the previous I used, which I use now of the House. (A detail that may be relevant to what I've read previous users having similar problems, is without doubt, I've improved my 2015 my office network McP while I use my house for the McP 2012 default ADSL).

    Help would be greatly appreciated.

    Excerpt from /var/log/install.log:

    May 21 08:17:20 oldPaoloPro system_installd [651]: installed: from

    May 21 08:17:20 oldPaoloPro system_installd [651]: installed: uid = 0 euid = 0

    May 21 08:17:20 oldPaoloPro system_installd [651]: PackageKit: adding customer PKInstallDaemonClient pid = 248, uid = 200 (/ System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdated)

    May 21 08:17:21 oldPaoloPro softwareupdated [248]: PackageKit: installation of queue with specified to the customer quality of service (utility)

    May 21 08:17:21 oldPaoloPro system_installd [651]: PackageKit:-----Begin installation -

    May 21 08:17:21 oldPaoloPro system_installd [651]: PackageKit: request = PKInstallRequest < 2 packages, destination = / >

    May 21 08:17:21 oldPaoloPro system_installd [651]: PackageKit: packages =)

    "PKLeopardPackage <file:///Library/Updates/031-49587/OSXUpd10.11.5.pkg>,"

    "PKLeopardPackage <file:///Library/Updates/031-49587/FirmwareUpdate.pkg>.

    )

    May 21 08:17:24 oldPaoloPro system_installd [651]: PackageKit: will be based on the obsolete reception for package identifier com.apple.update.firmwareupdate (path prefix = /)

    May 21 08:17:24 oldPaoloPro system_installd [651]: PackageKit: install failed: error Domain = PKInstallErrorDomain Code = 110 "an error occurred during extraction of the files in the"OSXUpd10.11.5.pkg"package". UserInfo = {NSUnderlyingError = 0x7f84154f3dc0 {error Domain = PKXARArchiveErrorDomain Code = 101 "archive check failed ' UserInfo = {URL =file:///Library/Updates/031-49587/OSXUpd10.11.5.pkg#Scripts, NSFileOwnerAccountID = 0, NSFileHFSTypeCode = 0, NSFileSystemFileNumber = 7719344, NSFileExtensionHidden = false, NSFileSystemNumber = 16777220, NSFileSize = 628141500, NSFileGroupOwnerAccountID = 0, NSFileOwnerAccountName = root, NSFilePosixPermissions = 420, NSFileHFSCreatorCode = 0, NSFileCreationDate = 2016-05-21 05:27:19 + 0000, NSFileType = NSFileTypeRegular, NSFileGroupOwnerAccountName = wheel, NSFileReferenceCount = 1, NSFileModificationDate = 2016-05-21 06:16:13 + 0000, NSLocalizedDescription = archive check failed}}, URL =file:///Library/Updates/031-49587/OSXUpd10.11.5.pkg PKInstallPackageIdentifier =} {com.apple.pkg.update.os.10.11.5.15F34, NSLocalizedDescription = an error occurred during extraction of the files in the package "OSXUpd10.11.5.pkg".} {

    NSLocalizedDescription = "an error occurred during extraction of files from package \U201cOSXUpd10.11.5.pkg\U201d.";

    URL = "file:///Library/Updates/031-49587/OSXUpd10.11.5.pkg";

    NSUnderlyingError = 'Domain = PKXARArchiveErrorDomain Code = 101 \"archive error check failed\' UserInfo = {URL =file:///Library/Updates/031-49587/OSXUpd10.11.5.pkg#Scripts, NSFileOwnerAccountID = 0, NSFileHFSTypeCode = 0, NSFileSystemFileNumber = 7719344, NSFileExtensionHidden = false, NSFileSystemNumber = 16777220, NSFileSize = 628141500, NSFileGroupOwnerAccountID = 0, NSFileOwnerAccountName = root, NSFilePosixPermissions = 420, NSFileHFSCreatorCode = 0, NSFileCreationDate = 2016-05-21 05:27:19 + 0000, NSFileType = NSFileTypeRegular, NSFileGroupOwnerAccountName = wheel, NSFileReferenceCount = 1, NSFileModificationDate = 2016-05-21 06:16:13 + 0000, NSLocalizedDescription = archive check failed}";

    PKInstallPackageIdentifier = "com.apple.pkg.update.os.10.11.5.15F34";

    }

    May 21 08:17:24 oldPaoloPro system_installd [651]: PackageKit: runs the inactive tasks

    May 21 08:17:24 oldPaoloPro system_installd [651]: PackageKit: customer withdrawal PKInstallDaemonClient pid = 248, uid = 200 (/ System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdated)

    May 21 08:17:24 oldPaoloPro system_installd [651]: PackageKit: done with sandbox removals

    May 21 08:17:24 oldPaoloPro softwareupdated [248]: SoftwareUpdate: error extraction 031-49587 (reset for error status to allow retry download) installation: error Domain = SUErrorDomain Code = 311 "" OS X El Capitan Update"could not be verified." UserInfo = {SUErrorUpdateTitle = update of El Capitan OS X, SUErrorUpdateProductKey = 031-49587, NSLocalizedDescription = "OS X El Capitan Update" could not be verified.}

    I don't know why you are having this problem.

    I suggest that you can benefit from the COMBO (combination) update download and use:

    Download update of OS X El Capitan 10.11.5 Combo

    (Sorry, but it's a very big download - 1.5 GB)

  • DV6-6190us AMD update package fails. Necessary for recommended MS hotfix

    I get a blue screen of death after installing the recommended MS hotfix KB2670838 and using Internet EXPLORER 9. I stopped the problem by uninstalling the patch. Others on the MS for a report of similar problems with computers laptops HP and AMD switchable graphics card. MS advises prevention hot - fix for the moment and is apparently change an option until the issue is resolved.

    One user said that he solved the problem by upgrading the AMD drivers to the latest version. I tried that with the HP sp55092.exe install package on the download page of my dv6. Installation fails with the helpful message "Application install: install package failed! The progress screen said it was installing the MS Visual C++ 2010 redistributable runtime. MsiInstaller gives error event 1013 with the text "product: Microsoft Visual C++ 2010 Redistributable - 10.0.30319 64 x ‑‑ A later version of Microsoft Visual C++ 2010 Redistributable - 10.0.30319 64 x is already installed."

    Installed versions (x 86 & x 64) running on my computer are 10.0.3.40219.  It seems that the package installer on HP support site cannot handle a newer version of the execution. I presume that the reason for the new version on my computer is software that relies on the SP1 version, so downgraded to the old version would just move the problem even if it gets the driver AMD installed package.

    Anyone else seeing this? HP updates the installation package? Any ideas?

    JoeM

    Pavilion dv6-6190us; Win7 Home Premium 64

    I shot the most recent version of the C++ 2010 runtime that blocked the Softpaq installation, installation fact and re-updated C++ 2010 runtime to the current version. The Softpaq, Intel and AMD drivers updated to the latest versions (on the site of HP). Then I reinstalled the MS fix and were broadcast for 12 hours, with no more BSODs.Funny thing is that the Softpaq still gave me an error on installation (relating to execution C++ 2010) but this time continued and completed.

    I didn't want to steam. I'll look further and maintain the ITI in mind for future updates. It seems that HP is almost through with the software/firmware for the DV6s.

    Thanks for your suggestions,

    Joe

  • Pretty print Qt containers when debugging QNX Momentics IDE

    Hi all

    I wonder if anyone knows how to display the containers in a human readable way under debugging Qt?

    So, IE if I str ("hello") QString under debug I want to see 'Hello' as the value of str instead of lots of pointers

    Thank you

    Philippe

    Yes, you can have the debugger QNX Momentics IDE show the string in the window of variables properly.

    Directions for use:

    Window-> Preferences-> C / C++-> debug-> GDB and make sure that "pretty printing" is enabled

    Make a file called .gdbinit in the folder root of your project and put this:

    Python
    import sys
    sys. Path.Insert (0, '.')
    of qt4 import register_qt4_printers
    register_qt4_printers (no)
    end

    Then copy the qt4.py file from: https://projects.kde.org/projects/extragear/kdevelop/kdevelop/repository/revisions/master/changes/de...

    Place this file in the same working directory (the directory of the project).  Or you can put somewhere else and replace the "." in "sys.path.insert (0, '.').  with the folder that contains the qt4.py

    Next time you run the debugger, it should show the QString.

    If you have any problems (it does not), you can see the gdb trace console and the gdb console (try: source .gdbinit) to see the errors.

    I still have to do with the dinkum STL.   I just started...  PM me if you want that the instructions once I'm done...

    p.s. Thanks to the kdevelop team who made this python module.

    Edit: removed game print pretty line in .gdbinit.  correctly implemented by the ide from qnx.

  • BlackBerry smartphone email Setup - Windows LiveMail error - update failed

    Hello everyone, I'll try to be as accurate as possible, I'm sorry, until find us this first situation first, screenshots will have to wait.

    I made the turn on the merry-go-round of configuration e-mail for more than a few hours now and I can't understand what could possibly impede this simple installation procedure. I forget something obvious ridiculously here?

    Hooked up to a B - Berry Curve 9300 by Koodoo Mobile here in Canada a few days ago.

    The package includes 2 GB of data, a text access and calling the package with visual voicemail.

    Everything seems to work normally, I mean, I go to Configuration > email accounts (there is a short break, the software checks the updates), and then I get to the email settings window where you can choose among different messaging clients (Gmail, Yahoo!, AOL, Windows Live...)

    By clicking on Windows Live, this opens up a submenu (@hotmail.com, @msn.com, @live.com)

    I have scroll and select @hotmail.com enter my address complete email and password - hit continue and I get the error message "failed to update".

    I have BES activated/installed or do I need to download a book service?

    Do I need to adjust mobile settings in Windows Live?

    Should I throw my curve of B-Berry under a bus and hope for the best?

    On that last note, but what gives a joke? Any help appreciated and thanks in advance to all contributors.

    I could not find all the answers on this forum about the error message that I received everything trying to implement my client WindowsLive Mail.

    A quick call to Koodo Mobile quickly solved the problem. The technician would however not specify the cause of the problem. I know that Service books were broadcast on my device, as we had to check that the device has been registered on the network by means of access to the host Routing Table (Options > Search Bar > type in host , and then scroll down to select the host Routing Table - use the Menu key to save) and then I turned off the BB Curve 9300 removed the battery for 30 seconds and then reinstalled the battery allowing the machine to start.

    Everything works perfectly now.

    You can reach Customer Service at 1-866-99-KOODO (1-866-995-6636).

    Hope that this help anyone having similar problems with their BB Curve 9300.

  • Header of the package failed verification during the download of the package sfr

    Hello

    I am trying to download the package asasfr -5500 x-boot - 5.3.1 - 152.pkg. But every time, it comes with an error "package header failed verification - object of type 'NoneType' has no len() Please check that the package is not damaged. Abandoned update. "I tried with ftp and http. But every case the same thing happens. My question is whether this is the right package. The doc of Cisco, I read asasfr-sys - 5.3.1 - 44.pkg. But this version I have not found the site of download of cisco software.

    QW-SFR-boot > system install http://www.XXXXX.com/asasfr-sys-531-152.pkg
    Check

    Package header verification - object of type 'NoneType' no has no no len()

    Please check that the package is not damaged.
    Abandoned update.

    Thanks in advance.

    Sari

    Are you following the Quick Start Guide?

    As he ordered, first copy us the boot image module of firepower to the ASA, set it as the recovery for the module image, retrieve the module using this boot image and complete the installation complete by using the image of the system (step 7 in the Quick Start Guide). Until the first 6 steps are completed successfully, #7 will not work.

    Please show us the output of the show version and present the ASA cli module.

  • Satellite 1700-300: Win ME - invalid system disk - ERROR F3D failed

    Hello

    I have a Toshiba Satellite 1700-300 on windows Millennium Edition. Haven't used for a few years, but when I'm past it the other day the screen says: invalid system disk. I put in my laptop recovery disk, but he cut in halfway through with the message: ERROR F3D failed.

    Not really sure what I'm doing and really can't afford a new!

    Help would be thank you very much!

    Nice discussion on this error, you can find on http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=1255

    To be honest, I also think that there is a problem with the HARD drive.

  • Access to the Windows Update site 0x8024402C error code failed?

    Access to the Windows Update site 0x8024402C error code failed? Regds, 'a journey of a thousand miles begins with a first step."

    Resolution: 0x8024402C error Code

    Method 1: Remove the characters from the list of exceptions to the proxy and then clear the proxy cache to do this, follow these steps, as appropriate for the operating system that you are running. Windows 2000, Windows XP and Windows Server 2003

    1. Open Internet Explorer.
    2. On the Tools menu, click Internet Options.

      Note If the menu is not available in the Internet Explorer window, press the ALT on the keyboard to display the menu.

    3. Click the Connections tab and click LAN settings, and then click Advanced.
    4. Remove all the entries in the Exceptions section, and then click OK.
    5. Close Internet Explorer.
    6. Click Start, run, type cmd, and then click OK.
    7. Type the following commands. Press ENTER after each command.
      • proxycfg d
      • net stop wuauserv
      • net start wuauserv
    8. Try again to install updates.

    Windows Vista and Windows Server 2008

    1. Open Internet Explorer.
    2. On the Tools menu, click Internet Options.

      Note If the menu is not available in the Internet Explorer window, press the ALT on the keyboard to display the menu.

    3. On the Connections tab, click LAN settings, and then click Advanced.
    4. Remove all the entries in the Exceptions section, and then click OK.
    5. Close Internet Explorer.
    6. Click Start
      The collapse of this image enlarge this image

      , and then type cmd in the box start the search.

    7. In the list of search results, right-click on Cmd.exe, and then click Run as administrator.
      The collapse of this image enlarge this image

      If you are prompted for an administrator password or a confirmation, type the password, or click on continue.

    8. Type the following commands. Press ENTER after each command.
      • netsh winhttp reset proxy
      • net stop wuauserv
      • net start wuauserv
    9. Try again to install updates.
     

    Method 2: Enable the option "Automatically detect connection settings" in Internet Explorer to do this, follow these steps:

    1. Open Internet Explorer.
    2. On the Tools menu, click Internet Options.

      Note If the Tools menu is not available in Internet Explorer, press the ALT key to display the menu.

    3. On the Connections tab, click LAN settings.
    4. Click to select her automatically detect settings check box, and then click OK.
    5. Try to install updates again.

    Kind regards
    Sohail Patel Regds, 'a journey of a thousand miles begins with a first step."

  • Update error. Failed to check the updates. Event ID 1001

    Update error. Failed to check the updates. I rebooted the PC and the Windows Update service (it is activated and automatic when you restart).  Is there an event ID 1001 in the event log that shows when I try to run WinUpdate.

    Can anyone help solve this?

    Thank you.

    How to reset windows update components

    http://support.Microsoft.com/kb/971058

  • Call of Duty World at War: Error 1628: failed to complete Installation

    I get a "Error 1628: failed to complete Installation" when installing under Windows 7.
    I open the DVD and right click on Setup.exe to run as administrator.

    I found some info on the internet to try to go in administrative tools - local security policy - Software Restriction policies - updated in application and verification of all users except thing administrators, but nothing helped.

    I remember when installing on a previous Vista machine, I had the same problem, but I don't remember what I did, but there is obviously some kind of security problem.

    I have install from (only) on the machine and there of course administrator rights. The account has no password. I tried to create an other administrator account that I gave a password and tried to install it from her, but that didn't help either.

    I also tried the following, after a suggestion from Activision:

    1 create a folder "test" on your desktop.
    2. go to the "My Computer" screen
    3. right click on the DVD drive located in the game disc, and select "explore".
    4. copy all the files and folders that you see here and paste in your 'test' folder on your desktop.

    The copy process must begin now. If the game has copied correctly for you, then try to install the game from the "setup.exe" file in your copied folder.

    This did not help either.

    Help, please!

    Hi Bengt,

    We are pleased to hear that you were able to solve the problem.  Do not hesitate to contact us, in the case where you face other problems in the future.

    Thank you and best regards,

     

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for