×

Discussion Board

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 32
  1. #16
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,752

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    Quote Originally Posted by crazysoft View Post
    Please explain the ' single .pkg' a little more:
    What UID3 do I put to SDL DLL? The same with my game or another one?
    Some UID, which is assigned to you by Nokia Publish, and you do not use it to anything else. As I remember initially you get 5 UID-s from Nokia Publish. You can use the first one as UID for your .exe, and you can re-use it as PkgUID. And you can use the second one for SDL.
    Do I put UID2: 0x1000008d ?
    UID2 identifies the subtype of your file, like static dll. You should keep it 0x1000008d.
    If I put a different UID3 than the actual game what happens in the Nokia Signing?
    It will work.
    Did they sign both of them or an error occurs because in each game I declare a UID3 in the Ovi Store details.
    They are expected to sign the whole package. When providing the AppUID, provide the UID of your executable.
    If I declare the games UID3 how do they find the DLLs UID3?
    That is just fine as long as the UID of the .dll is also assigned to you.

  2. #17
    Regular Contributor
    Join Date
    Apr 2012
    Location
    malaysia
    Posts
    262

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    Quote Originally Posted by crazysoft View Post
    This is a new error. The QA says that it does not load anything at all. You loaded graphics and music and then crashed. Can you send me a screenshot?
    Where did you install it? Internal or external memory?
    It didnt' crash,just stuck in the third step with music playing even after left it for 5 minutes after that i closed it with task manager.The game won't start.I cannot take screenshot.Only white screen and i install it in mas memory no memory card.I could draw it but only tomorrow can post.I think qa just didn't give you lengthy explanation,just say it does not load.
    Last edited by babylongreece; 2013-01-28 at 14:19.

  3. #18
    Registered User
    Join Date
    Feb 2007
    Posts
    43

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    Quote Originally Posted by wizard_hu_ View Post
    Some UID, which is assigned to you by Nokia Publish, and you do not use it to anything else. As I remember initially you get 5 UID-s from Nokia Publish. You can use the first one as UID for your .exe, and you can re-use it as PkgUID. And you can use the second one for SDL.UID2 identifies the subtype of your file, like static dll. You should keep it 0x1000008d.It will work.They are expected to sign the whole package. When providing the AppUID, provide the UID of your executable.That is just fine as long as the UID of the .dll is also assigned to you.
    I put 2 UIDs, one for DLL and one for exe. Both are nokia assigned. then I sign them with the developer certificate to test it on my local phone. It installs ok, shows the icon but as soon as I click it it loads (system gear spinning) and then do nothing. How can I debug the error? The debugging doesnt wok... Is there another way? I suspect that it doesnt find the DLL for some reason.

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

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    Quote Originally Posted by crazysoft View Post
    How can I debug the error?
    With the debugger
    The debugging doesnt wok...
    Why would it not work?
    Is there another way?
    Yes, finding out what the code is doing, via reading it. You can also create a logfile and see which parts of your code are executed and which are not.
    I suspect that it doesnt find the DLL for some reason.
    I would suspect something else. Symbian does not start a process if .dll-s are missing. You would see a "Menu -1" (KErrNotFound) panic immediately and no loading animation.
    A logfile would also show if the process starts.

  5. #20
    Registered User
    Join Date
    Jan 2009
    Location
    Melbourne, Australia
    Posts
    2,571

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    I have just moved this set of posts from the Publish board (original discussion here) because the discussion is more relevant to Symbian C++.

  6. #21
    Registered User
    Join Date
    Feb 2007
    Posts
    43

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    Quote Originally Posted by wizard_hu_ View Post
    With the debuggerWhy would it not work?Yes, finding out what the code is doing, via reading it. You can also create a logfile and see which parts of your code are executed and which are not.I would suspect something else. Symbian does not start a process if .dll-s are missing. You would see a "Menu -1" (KErrNotFound) panic immediately and no loading animation.
    A logfile would also show if the process starts.
    I will try debugging.

    One more:
    Why do you think the DLL works flawlessly on my test phone when the app is in 0xA** range and when I change it to 0x2** range (developer signed) it stops working like I explain above.
    Is it a security issue? Maybe access issue? Can you think of something?

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

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    The .dll may use its own UID somewhere. Similarly to the application, it may make sense to check the actual source code for the old UID.
    By the way, it is a safe decision to re-build the complete application when changing the UID of the .dll.

  8. #23
    Registered User
    Join Date
    Feb 2007
    Posts
    43

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    I have tried the debug to device by my Carbide C++ (version 3.3.0).
    I have established connection (installed coda program on the phone).
    Trace is not working. (Attempt to get response from TraceCore timed out)

    I get the error:
    Problems detected:
    * Cannot debug 'C:\sys\bin\mygame.exe': ensure the DEBUGGABLE[_UDEBONLY] flag is set in its MMP (permission denied)

    But I have already set in games MMP:
    DEBUGGABLE_UDEBONLY
    And in the DLL:
    DEBUGGABLE_UDEBONLY

    Why doesnt it work?

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

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    Is it a debug build (GCCE UDEB for example)?

  10. #25
    Registered User
    Join Date
    Feb 2007
    Posts
    43

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    Quote Originally Posted by wizard_hu_ View Post
    Is it a debug build (GCCE UDEB for example)?
    yes it is GCCE UDEB

  11. #26
    Registered User
    Join Date
    Feb 2007
    Posts
    43

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    Quote Originally Posted by crazysoft View Post
    yes it is GCCE UDEB
    I had the urel executable in the PKG file, fixed it now and debug. Sorry for this.
    Here is the debug data, there is no message on the debug, it just terminates after a while.


    Time(ms): 1359537088875 Out: E Locator Hello ["Diagnostics","Locator","ZeroCopy"]
    Time(ms): 1359537088875 Out: C 4463 Logging addListener "ProgramOutputConsoleLogger"
    Time(ms): 1359537088885 Out: C 4464 Settings get
    Time(ms): 1359537088965 Inp: R 4463
    Time(ms): 1359537088965 Inp: R 4464 []
    Time(ms): 1359537088965 Out: C 4465 Settings set "" ["exeToLaunch","addExecutables","addLibraries","acceptWarnings"] ["C:\\sys\\bin\\mygame.exe",{"mygame.exe":"2006d928"},["mygame_sdl.dll"],true]
    Time(ms): 1359537089075 Inp: R 4465
    Time(ms): 1359537089075 Out: C 4466 FileSystem open "C:\\data\\mygame_DEV.sis" 18 null
    Time(ms): 1359537089135 Inp: R 4466 "6"
    Time(ms): 1359537089135 Out: C 4467 FileSystem fstat "6"
    Time(ms): 1359537089195 Inp: R 4467 {"MTime":1359536796000,"ATime":0,"Size":9052380}
    Time(ms): 1359537089195 Out: C 4468 FileSystem close "6"
    Time(ms): 1359537089255 Inp: R 4468
    Time(ms): 1359537089255 Out: C 4469 Processes start "" "C:\\sys\\bin\\mygame.exe" [] [] true
    Time(ms): 1359537090715 Inp: R 4469 {"CanResume":1,"CanSuspend":true,"CanTerminate":true,"File":"C:\\sys\\bin\\mygame.exe","HasState":true,"ID":"p2856","IsContainer":true,"Name":"mygame.exe[2006d928]0001","OSID":"2856","ParentID":"root"}
    Time(ms): 1359537090715 Inp: E RunControl contextAdded [{"CanResume":1,"CanSuspend":true,"CanTerminate":true,"File":"C:\\sys\\bin\\mygame.exe","HasState":true,"ID":"p2856","IsContainer":true,"Name":"mygame.exe[2006d928]0001","OSID":"2856","ParentID":"root"}]
    Time(ms): 1359537090715 Inp: E RunControl contextAdded [{"CanResume":12295,"CanSuspend":true,"CanTerminate":true,"ID":"p2856.t2857","Name":"Main","OSID":"2857","ParentID":"p2856"}]
    Time(ms): 1359537090715 Inp: E RunControl contextSuspended "p2856.t2857" 2060451840 "Shared Library" {"CodeAddress":2060451840,"DataAddress":2116419584,"File":"mygame_sdl.dll","Loaded":true,"Name":"mygame_sdl.dll","RequireResume":false}
    Time(ms): 1359537090715 Inp: E RunControl contextSuspended "p2856.t2857" 5242880 "Shared Library" {"CodeAddress":5242880,"DataAddress":4194304,"File":"mygame.exe","Loaded":true,"Name":"mygame.exe","RequireResume":true}
    Time(ms): 1359537090875 Out: C 4470 RunControl resume "p2856.t2857" 0 0
    Time(ms): 1359537090925 Inp: R 4470
    Time(ms): 1359537091235 Inp: E SymbianOSData processExited "p2856" "kill" "" -1
    Time(ms): 1359537091235 Inp: E Processes exited "p2856" -1
    Time(ms): 1359537091235 Inp: E RunControl contextSuspended "p2856.t2857" 0 "Shared Library" {"File":"mygame_sdl.dll","Loaded":false,"Name":"mygame_sdl.dll","RequireResume":false}
    Time(ms): 1359537091235 Inp: E RunControl contextRemoved ["p2856.t2857"]
    Time(ms): 1359537091235 Inp: E RunControl contextRemoved ["p2856"]

    <================= Channel closed =================>

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

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    The Kill -1 means something is missing (http://www.developer.nokia.com/Commu...ki/Error_codes)
    It is either some data file later, or some library at the beginning.
    What happens if you put a breakpoint in E32Main?
    Or just a small hack like
    Code:
    RFs fs;
    fs.Connect();
    fs.MkDir(_L("e:\\haha\\"));
    fs.Close();
    at the very beginning? If the code starts running at all, it would create the directory.

  13. #28
    Registered User
    Join Date
    Feb 2007
    Posts
    43

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    Quote Originally Posted by wizard_hu_ View Post
    The Kill -1 means something is missing (http://www.developer.nokia.com/Commu...ki/Error_codes)
    It is either some data file later, or some library at the beginning.
    What happens if you put a breakpoint in E32Main?
    Or just a small hack like
    Code:
    RFs fs;
    fs.Connect();
    fs.MkDir(_L("e:\\haha\\"));
    fs.Close();
    at the very beginning? If the code starts running at all, it would create the directory.
    If I put a breakpoint just after E32Main it goes until there and breaks.
    From there the SDL library starts until it ends up in my own code.

    I have put a breakpoint at the start of my own code and it doesnt get there.
    So something is missing from the SDL library or missing the SDL library itself?

    Its getting very complicated...
    Last edited by crazysoft; 2013-01-30 at 16:39.

  14. #29
    Registered User
    Join Date
    Feb 2007
    Posts
    43

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    I made SDL a static library so that it doesn't need and UID.
    Even now that I have only one exe file it doesn't run when its developer signed in the protected range.
    It runs perfectly when its unprotected and self-signed.

    It crashes again with -1 error again (something is missing)

    Do you have any ideas? I am near giving up...

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

    Re: Express Signed error: "Your file could not be processed for unknown reason."

    What about your files, are you deploying anything to the private folder? Its name changes with the UID. It may be worth noting that KErrNotFound can come for missing files, however accessing files from missing folders would cause KErrPathNotFound, -12. So the folders seem to exist.

Similar Threads

  1. Problem signing an aplication with a 3rd party DLL
    By albgarse in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 5
    Last Post: 2009-04-28, 09:14
  2. Re signing to add embedded sis
    By papana in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 9
    Last Post: 2009-02-09, 13:18
  3. Signing a third party JAR/JAD application
    By basmic in forum Mobile Java General
    Replies: 3
    Last Post: 2008-11-24, 08:13
  4. Signing embedded sis with different certificate
    By kwillms in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 1
    Last Post: 2007-11-12, 09:40
  5. 3 rd Party Midlet Signing.
    By kamalinfo2k2@yahoo.com in forum Mobile Java General
    Replies: 6
    Last Post: 2006-08-10, 23:41

Posting Permissions

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