Reply
Thread Tools
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#1
I am trying to debug why rawcam does not launch on N9 PR1.2 without developer mode enabled. After enabling developer mode (and even after disabling it again) it continues to work. So I have no way to know if it spits out any messages, because when developer mode is enabled it launches ok.

I assume that it depends on something installed by developer mode and I want to find what it is so that I can include it in dependencies.

Any other ideas appreciated.

EDIT: even after
Code:
 apt-get autoremove developer-mode
it continues to work, so it may not be a dependency after all...
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob

Last edited by qwazix; 2012-12-27 at 18:13.
 

The Following 2 Users Say Thank You to qwazix For This Useful Post:
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#2
If you mean what developer-mode depends on:

Code:
:~# apt-cache depends developer-mode
developer-mode
  Depends: duicontrolpanel-devmodeapplet
  Depends: develsh
  Depends: develsh
  Depends: sdk-connectivity-tool
  Depends: meego-terminal
  Depends: openssh-client
  Depends: openssh-server
  Depends: gdbserver
  Depends: aegis-developer-unknown-source-policy
  Depends: aegis-dev-mode
  Depends: busybox-devel-su
  Depends: less
 |Depends: simple-syslog-daemon
 |Depends: sysklogd
  Depends: <system-log-daemon>
    simple-syslog-daemon
    sysklogd

Last edited by thedead1440; 2012-12-27 at 16:01.
 

The Following 4 Users Say Thank You to thedead1440 For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#3
I don't know what to do. These packages seem to not have any relevance to rawcam. I tried to create a new shortcut as user in /home/user/.local/share/applications which has the following exec line

Code:
/opt/rawcam/bin/rawcam > /home/user/MyDocs/rawcamout
but I can see no output file in MyDocs afterwards...
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following 2 Users Say Thank You to qwazix For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#4
Adding aegis-developer-unknown-source-policy to the dependencies fixed the issue but I assume this isn't the right way to tackle the issue.

Any ideas?
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following 2 Users Say Thank You to qwazix For This Useful Post:
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#5
qwazix,

If this is the reason why your app is failing Store QA, I'm pretty sure you can put a notice that you need developer mode enabled for it to work... Store QA will then pass it I think...


I'm not competent enough to help with your issues but 2 things I noticed:

- Running /opt/rawcam/bin/rawcam as user gives seg fault but as root it works

- For output into the file I had to do:
Code:
/opt/rawcam/bin/rawcam > /home/user/MyDocs/rawcamout 2>&1
This is the same for another 2 apps that I tried to > their output... Maybe the output is considered STDERR instead of STDOUT?
 

The Following 2 Users Say Thank You to thedead1440 For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#6
I am starting to think that the issue is with the store QA. As stated in the harmattan-dev website, the aegis-developer-unknown-source-policy package "grants extra credentials that correspond to the set of credentials available for applications installed from Nokia Store"

So my app shouldn't fail the QA!!
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following User Says Thank You to qwazix For This Useful Post:
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#7
Store QA

I think you have to put that disclaimer of dev mode required or haggle with them and inform them this package that is required is missing so what can you do about it?
 

The Following User Says Thank You to thedead1440 For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#8
No, it's not that, the package is not missing and I can depend on it, but it's stupid (and a security hole) to do that.

The guys probably installed the application directly on a N9 and it didn't work (because it needs elevated permissions) when all they had to do was to install it with the com.ovi.store (or whatever that is) origin and it would work ok.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following User Says Thank You to qwazix For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ トngelholm, Sweden
#9
if package will be signed with com.nokia.maemo/ovi there are no need to enable developer mode.

what is the full reason of failing QA?
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#10
Code:
SUMMARY: The application cannot be launched successfully after installation.
STEPS TO REPRODUCE:
1. Download and install the content.
2. Tap on the application icon to launch the application.
ACTUAL RESULT: When tried launching the application by pressing the application icon, there is no response from the application.
EXPECTED RESULT: The application launches and works properly. The application should provide full functionality on all screen orientations.
AFFECTED DEVICES: Nokia N9 Firmware PR 1.2 30.2012.07-1_PR_001
FREQUENCY REPRODUCED: 100%.
 (public, Qa in progress -> Qa failed)
Which is true, unless you install aegis-developer-unknown-source-policy which as you say should not be needed for apps downloaded from the store. So they're probably not testing correctly.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jollacontactlaunchtimenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following User Says Thank You to qwazix For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 19:40.