×

Discussion Board

Results 1 to 14 of 14
  1. #1
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    165

    Error in .pkg file while trying to run the application on device

    Hai,
    I have done an application using S60_FP3_2nd using CodeWarrior.My Application successfully run on Emulator.I want to run the application on Nokia N72 series device.Using Command line when Iam trying to create sis file it is giving an error as

    Processing SecureDB.pkg...
    SecureDB.pkg File not Found.

    Why Iam getting this error.Pls Help me

    This is my Pkg File

    &EN
    ;
    ; UID is the app's UID
    ;
    #{"SecureDB"},(0x05161B64),1,0,0
    ;
    ;Supports Series 60 v 2.0
    ;This line indicates that this installation is for the Series 60 platform v2.0
    ;This line must appear _exactly_ as shown below in the sis file
    ;If this line is missing or incorrect, the sis file will not be able
    ;to be installed on Series 60 v2.0 platforms
    (0x101F7960), 0, 0, 0, {"Series60ProductID"}
    ;
    ; Four files to install
    ;
    "(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\SecureDB.app" -"!:\system\apps\SecureDB\SecureDB.app"
    "(EPOCROOT)epoc32\data\z\system\apps\SecureDB\SecureDB.r01" -"!:\system\apps\SecureDB\SecureDB.r01"
    "(EPOCROOT)epoc32\data\z\system\apps\SecureDB\SecureDB_caption.r01" -"!:\system\apps\SecureDB\SecureDB_caption.r01"
    "(EPOCROOT)epoc32\data\z\system\apps\SecureDB\SecureDB.aif" -"!:\system\apps\SecureDB\SecureDB.aif"
    "(EPOCROOT)epoc32\data\z\system\apps\SecureDB\SecureDB.mbm" -"!:\system\apps\SecureDB\SecureDB.mbm"



    Bye,
    Jennie.

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Error in .pkg file while trying to run the application on device

    make sure you run the "makesis" command on the same path as that of the PKG File.

  3. #3
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    165

    Re: Error in .pkg file while trying to run the application on device

    Hai,
    Thanks for ur reply.I gave the exact Path.But same problem

  4. #4
    Super Contributor
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156

    Re: Error in .pkg file while trying to run the application on device

    Quote Originally Posted by jennie View Post
    Hai,
    Thanks for ur reply.I gave the exact Path.But same problem
    Are you working in Carbide? and i would like to know whether you are making the sis file from the command prompt or using the carbide tool.

    Priju

  5. #5
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    Re: Error in .pkg file while trying to run the application on device

    Quote Originally Posted by jennie View Post
    Hai,
    Thanks for ur reply.I gave the exact Path.But same problem
    Hi,

    Can you provide us the complete path of your pkg file and also the makesis command( full command) that you have executed?

    Regards,
    Peter

  6. #6
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    165

    Re: Error in .pkg file while trying to run the application on device

    Hai,
    Iam create that application using Carbide c++(Trail version).Now I want to run the application using Code Warrior .Iam using Command prompt to run the application on device.

    Complete Command Prompt Path:
    C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\SecureDB\group\

    C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\SecureDB\group>bldmake bldfiles
    C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\SecureDB\group>abld
    Common usage : abld [test] command [options] [platform] [build] [program]
    where command is build, target, etc.
    (type "abld help commands" for a list of commands)
    where options are -c, -k, etc.
    (type "abld help options" for a list of options)
    where parameters depend upon the command
    (type "abld help <command>" for command-specific help)
    where parameters default to 'ALL' if unspecified
    project platforms:
    WINS ARMI ARM4 THUMB WINSCW ARM4T GCCXML VC6 CW_IDE

    C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\SecureDB\group>abld build winscw udeb
    make -r -f "\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\S
    ERIES60EX\SECUREDB\GROUP\EXPORT.make" EXPORT VERBOSE=-s
    Nothing to do
    make -r -f "\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\S
    ERIES60EX\SECUREDB\GROUP\WINSCW.make" MAKEFILE VERBOSE=-s
    perl -S extmake.pl WINSCW -d \Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.
    1A\S60_2ND_FP3\SERIES60EX\SECUREDB\GROUP\ICONS_SCALABLE_DC_MK\WINSCW -f ICONS_SC
    ALABLE_DC.MK -c "make -s -C \SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\SECUREDB\GROUP
    -f \"ICONS_SCALABLE_DC.MK\" TO_ROOT=..\..\..\..\..\.. PLATFORM=WINSCW $@"
    perl -S makmake.pl -D \SYMBIAN\8.1A\S60_2ND_FP3\SERIES60EX\SECUREDB\GROUP\SECUR
    EDB WINSCW
    make -r -f "\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\S
    ERIES60EX\SECUREDB\GROUP\WINSCW.make" LIBRARY VERBOSE=-s
    make -s -r -f "\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\
    SERIES60EX\SECUREDB\GROUP\SECUREDB\WINSCW\SECUREDB.WINSCW" LIBRARY
    make -r -f "\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\S
    ERIES60EX\SECUREDB\GROUP\WINSCW.make" RESOURCE CFG=UDEB VERBOSE=-s
    Checking: ..\gfx\qgn_menu_SecureDB.svg
    Choosing...
    Loading mif icons...
    Loading file: ..\gfx\qgn_menu_SecureDB.svg
    Writing mif: \Symbian\8.1a\S60_2nd_FP3\epoc32\release\WINSCW\UDEB\Z\system\apps\
    SecureDB\SecureDB_aif.mif
    Writing mbg...
    Updating header file: \Symbian\8.1a\S60_2nd_FP3\epoc32\include\SecureDB_aif.mbg
    make -s -r -f "\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\
    SERIES60EX\SECUREDB\GROUP\SECUREDB\WINSCW\SECUREDB.WINSCW" RESOURCEUDEB
    make -r -f "\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\S
    ERIES60EX\SECUREDB\GROUP\WINSCW.make" TARGET CFG=UDEB VERBOSE=-s
    make -s -r -f "\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\
    SERIES60EX\SECUREDB\GROUP\SECUREDB\WINSCW\SECUREDB.WINSCW" UDEB
    make -r -f "\Symbian\8.1a\S60_2nd_FP3\EPOC32\BUILD\SYMBIAN\8.1A\S60_2ND_FP3\S
    ERIES60EX\SECUREDB\GROUP\WINSCW.make" FINAL CFG=UDEB VERBOSE=-s

    C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\SecureDB\group>epoc


    C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\SecureDB\group>cd..

    C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\SecureDB>cd sis

    C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\SecureDB\sis>makesis SecureDB.pkg
    Processing SecureDB.pkg...
    SecureDB.pkg(27) : error: file not found

    Please
    go thru this and help me

    Thanks,
    Jennie.

  7. #7
    Super Contributor
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156

    Re: Error in .pkg file while trying to run the application on device

    Quote Originally Posted by jennie View Post
    Processing SecureDB.pkg...
    SecureDB.pkg(27) : error: file not found
    Thanks,
    Jennie.
    Check the 27th line of your .pkg file. you are missing that file in the source path.

    Priju

  8. #8
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    Re: Error in .pkg file while trying to run the application on device

    Hi,

    The error is at line 27 of pkg file. is that file exist in your system...? check for that.

    Regards,
    Peter

  9. #9
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    165

    Re: Error in .pkg file while trying to run the application on device

    Thank u very much Priju and Peter my problem get solved.

    Regards,
    Jennie.

  10. #10
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    165

    Re: Error in .pkg file while trying to run the application on device

    Hai,
    "sis"File is created successfully.But when I install it on Nokia N72 series device,Iam facing one problem.Even though Iam getting the message successfully installed on device.Iam not able to see my application in device.why this is happening?I have done the application in Carbide c++.Since Carbide expired,Iam now using Code Warrior.Pls help me to solve this problem.

    Thanks,
    Jennie.

  11. #11
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,752

    Re: Error in .pkg file while trying to run the application on device

    You can try what happens if you do not install the .aif file.

  12. #12
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    165

    Re: Error in .pkg file while trying to run the application on device

    There is no use if I delete that .aif file in SecureDB.pkg.sis file generated size is very high(409 kb).What is the solution for this?

    Regards,
    Jennie

  13. #13
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,752

    Re: Error in .pkg file while trying to run the application on device

    The suggestion was about checking if the .aif file is wrong.
    Anyway, if the file is large, you are probably installing Windows-executable from the emulator. Make sure that you are building for a target platform (something like ARMI UREL or THUMB UREL).

  14. #14
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    165

    Re: Error in .pkg file while trying to run the application on device

    Hai wizard hu,
    I find the problem and got the solution.thank you very much for ur reply.

    Thanks,
    Jennie

Similar Threads

  1. Replies: 1
    Last Post: 2005-05-26, 14:22
  2. Can't find application icon on device
    By vinod_shelke in forum Symbian
    Replies: 1
    Last Post: 2004-04-21, 12:46
  3. application does not install on 7650 device
    By asangamneheri in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2002-07-08, 12:20
  4. Replies: 0
    Last Post: 2002-06-10, 12:24
  5. How to Access 9210 Dbms file from my desktop application?
    By Nokia_Archive in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2002-06-03, 03:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×