×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    77

    Question about PKG file

    Hello! I'm trying to create a sis file of one example which is included in Sdk 3.0 FP1. It's in the folder Editor.

    My IDE is Carbide Express 1.1.

    When I try to create the SIS file I have a error here at the third statement (about the AkenExEditor_reg.rsc):

    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\AknExEditor.exe" -"!:\sys\bin\AknExEditor.exe"
    "$(EPOCROOT)Epoc32\data\z\resource\apps\AknExEditor.rsc" -"!:\resource\apps\AknExEditor.rsc"
    "$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\AknExEditor_reg.rsc" -"!:\private\10003a3f\import\apps\AknExEditor_reg.rsc"
    "$(EPOCROOT)Epoc32\data\z\resource\apps\AknExEditor_aif.mif" -"!:\resource\apps\AknExEditor_aif.mif"


    At first, I'd llike to know what each of the statements beggining with -"!:
    means. What does it do? What is the necessity?

    The error is:
    Severity Description Resource In Folder Location Creation Time Id
    2 *** [C:/Symbian/Carbide/workspace/aknexeditor/sis/editor_gcce.sis] Error 1 aknexeditor March 7, 2007 5:14:02 PM 3463

    Severity Description Resource In Folder Location Creation Time Id
    2 file I/O fault. editor_gcce.pkg aknexeditor/sis line 33 March 7, 2007 5:14:02 PM 3462

    At first I tried to check in the folder -"!:\private\10003a3f\import\apps\AknExEditor_reg.rsc" and the file
    was there. So I copied it to the other folder and it seems to be solved
    but in the next line was another error similar to that, but at this time I didn't find the correspondent file.

    Wait for answers.
    Thanks!

    Thiago

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: Question about PKG file

    you can also put hard path like c:\ or E:\

    but if you put "!" it indicate the root path, that you have selected at the time of installation.

    if you select memory then sis file install on memory card and if you select phone memeory then it will installed in phone memory.


    Regards,
    KKrish
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  3. #3
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    77

    Re: Question about PKG file

    But I still don't know what this PATHS beggining with "!-" are for...

    ??

  4. #4
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: Question about PKG file

    if u have on file like "c:\system\apps\a.app" it will move to phone memory whether you installed on phone memeory or memory card it does not have any effect.

    but if the path like "!:\system\apps\a.app" this will move to the spacified loaction that you have selected at the time of installation or it can be memory card or phone memory what ever you have selected.


    Hope you understand now.

    KKrish
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  5. #5
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    77

    Re: Question about PKG file

    But and about the error with the file !:\private\10003a3f\import\apps\AknExEditor_reg.rsc?

    I solved it copying the file in this PATH to the other PATH: $(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\

    And there is another problem that I can't find the file "!:\resource\apps\AknExEditor_aif.mif".

    Regards
    Thiago

  6. #6
    Registered User
    Join Date
    Feb 2007
    Posts
    5

    Re: Question about PKG file

    I got the problem with pkg as well...

    In fact, I just use the example HelloWorld example and change the name, but i have this pkg: I/O fault error thing...

    My Pdg is like these:
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\dialer1.exe" -"!:\sys\bin\dialer1.exe"
    "$(EPOCROOT)Epoc32\data\z\resource\apps\dialer1.rsc" -"!:\resource\apps\dialer1.rsc"
    "$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\dialer1_reg.rsc" -"!:\private\10003a3f\import\apps\dialer1_reg.rsc"
    "$(EPOCROOT)Epoc32\data\z\resource\apps\dialer1.mif" -"!:\resource\apps\dialer1.mif"

    I have checked that the rsc and mif files are in the corresponding location, I have no clue.
    Anyone can give me a hint?

    Please~~~~
    Last edited by jin.z; 2007-03-08 at 14:26.

  7. #7
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: Question about PKG file

    hi,

    check dialer1.exe in ur epoc32 directly

    and check whether it is ceated in gcce urel or amrv5 urel depending upon ur compiler ..

    I\O fault is basically raise due to file not found at the specified path of the package....

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  8. #8
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Question about PKG file

    1) Import the project using the Import -> Symbian bld.inf
    2) Import the editor_gcce.pkg and backup_registration.xml files into the project using the Import -> File System. The files are to be imported into aknexeditor\sis.
    3) Import qgn_menu_aknexeditor.svg into the project using Import -> File System. The file is to be imported in aknexeditor\gfx
    4) Create a new mifdef file: File -> New -> Mif Definition File. The file must have the name AknExEditor_aif.mifdef and should be placed in aknexeditor\gfx
    5) Add the SVG file to AknExEditor_aif.mifdef.
    6) Edit the editor_gcce.pkg so that it looks like the attached file.
    7) Build for "gcce urel" and you should have a build log like the one attached (with the sis file built successfully)
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    Feb 2007
    Posts
    5

    Re: Question about PKG file

    Quote Originally Posted by mateen_maldar
    hi,

    check dialer1.exe in ur epoc32 directly

    and check whether it is ceated in gcce urel or amrv5 urel depending upon ur compiler ..

    I\O fault is basically raise due to file not found at the specified path of the package....

    Regards,
    Mateen Maldar
    it is created in gcce urel as I configured.
    I tried to change the path
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\dialer1.exe"
    to "\Epoc32\release\gcce\urel\dialer1.exe"

    but the error was still there.
    I also think the problem is due to file not found, but...what else I can do?

  10. #10
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: Question about PKG file

    Quote Originally Posted by jin.z
    it is created in gcce urel as I configured.
    I tried to change the path
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\dialer1.exe"
    to "\Epoc32\release\gcce\urel\dialer1.exe"

    but the error was still there.
    I also think the problem is due to file not found, but...what else I can do?
    The red strings are referring to an actual file on your hard drive. EPOCROOT, PLATFORM and TARGET are replaced with \Symbian\9.1\..., GCCE and UREL when you are building from Carbide.
    If you are planning to get rid of these environment variable-references, you can do it, simply give the full path of dialer1.exe (I guess you have no Epoc32 folder in the root directory, you should rather try "\Symbian\9.1\S60_3rd<something>\Epoc32\...").

  11. #11
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: Question about PKG file

    you can also copy the file where the pkg file is
    and can give the path without "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\dialer1.exe"

    then you just write "dialer1.exe" - "destination path"

    just for try.


    hope this will help you and one more thing reun devices command from console and check which device is currently set.

    regards,
    KKrish
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

Similar Threads

  1. Replies: 1
    Last Post: 2006-07-26, 06:34
  2. Question about file system in Nokia
    By ffy8206 in forum Mobile Java General
    Replies: 1
    Last Post: 2006-07-06, 17:53
  3. The lang-code problem in pkg file
    By Wah in forum Symbian
    Replies: 0
    Last Post: 2006-02-20, 04:22
  4. PKG file, SISAR & Symbian Signed
    By heuven in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2006-01-12, 09:16

Posting Permissions

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