Re: Express Signed error: "Your file could not be processed for unknown reason."
[QUOTE=crazysoft;910029]Please explain the ' single .pkg' a little more:
What UID3 do I put to SDL DLL? The same with my game or another one?[/QUOTE]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.[QUOTE]Do I put UID2: 0x1000008d ?[/QUOTE]UID2 identifies the subtype of your file, like static dll. You should keep it 0x1000008d.[QUOTE]If I put a different UID3 than the actual game what happens in the Nokia Signing?[/QUOTE]It will work.[QUOTE]Did they sign both of them or an error occurs because in each game I declare a UID3 in the Ovi Store details.[/QUOTE]They are expected to sign the whole package. When providing the AppUID, provide the UID of your executable.[QUOTE]If I declare the games UID3 how do they find the DLLs UID3?[/QUOTE]That is just fine as long as the UID of the .dll is also assigned to you.
Re: Express Signed error: "Your file could not be processed for unknown reason."
[QUOTE=crazysoft;910028]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?[/QUOTE]
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.:)
Re: Express Signed error: "Your file could not be processed for unknown reason."
[QUOTE=wizard_hu_;910031]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.[/QUOTE]
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.
Re: Express Signed error: "Your file could not be processed for unknown reason."
[QUOTE=crazysoft;910078]How can I debug the error?[/QUOTE]With the debugger[QUOTE]The debugging doesnt wok...[/QUOTE]Why would it not work?[QUOTE]Is there another way?[/QUOTE]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.[QUOTE]I suspect that it doesnt find the DLL for some reason.[/QUOTE]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.
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 ([URL="http://www.developer.nokia.com/Community/Discussion/showthread.php?238424-Express-Signed-error-quot-Your-file-could-not-be-processed-for-unknown-reason-quot"]original discussion here[/URL]) because the discussion is more relevant to Symbian C++.
Re: Express Signed error: "Your file could not be processed for unknown reason."
[QUOTE=wizard_hu_;910085]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.[/QUOTE]
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?
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.
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?
Re: Express Signed error: "Your file could not be processed for unknown reason."
Is it a debug build (GCCE UDEB for example)?
Re: Express Signed error: "Your file could not be processed for unknown reason."
[QUOTE=wizard_hu_;910152]Is it a debug build (GCCE UDEB for example)?[/QUOTE]
yes it is GCCE UDEB
Re: Express Signed error: "Your file could not be processed for unknown reason."
[QUOTE=crazysoft;910158]yes it is GCCE UDEB[/QUOTE]
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 =================>
Re: Express Signed error: "Your file could not be processed for unknown reason."
The Kill -1 means something is missing ([url]http://www.developer.nokia.com/Community/Wiki/Error_codes[/url])
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();[/CODE]at the very beginning? If the code starts running at all, it would create the directory.
Re: Express Signed error: "Your file could not be processed for unknown reason."
[QUOTE=wizard_hu_;910206]The Kill -1 means something is missing ([url]http://www.developer.nokia.com/Community/Wiki/Error_codes[/url])
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();[/CODE]at the very beginning? If the code starts running at all, it would create the directory.[/QUOTE]
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...
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...
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.