RE: Aegis/Harmattan - how to add permission?

2011-11-06 Thread Ext-Markku.Savela
I don't know what the problem was, but

- Cellular does not appear to be limited. you just have to ask it (anyone can 
request it, even unknown origin)

- upgrade/reinstall same package with different manifest should work just fine 
(if it started to work after remove, then something else is going on)


From: ext Felipe Crochik [fel...@crochik.com]
Sent: Sunday, November 06, 2011 3:58 PM
To: Savela Markku (EXT-VTT/Helsinki)
Cc: maemo-developers@maemo.org
Subject: Re: Aegis/Harmattan - how to add permission?

Surprisingly enough I actually had found the csd-call.conf file and tried 
adding the Cellular credential. It didn't work when I first tried and then I 
found a document on the harmattan-sdk web site that stated something like: 
access to Cellular is restricted to applications where the source is 
com.nokia.maemo.

Also, because the error message was somewhat misleading I assumed "Cellular" 
hadn't worked. After your email I checked with "accli" my application on the 
device and Cellular was not included. This is just speculation but I think that 
to update aegis for a package you may need to first remove the previous package 
or there is some issue with Qt creator packaging or deployment when just the 
aegis file was changed (of course, it may also have been something I did wrong 
or didn't do :) )

I deleted the debian folder on my project, rebuilt everything, removed the 
package from the device, uploaded a new one and installed it using dpkg and now 
it works.

Thanks,
Felipe

On Sun, Nov 6, 2011 at 3:09 AM, 
mailto:ext-markku.sav...@nokia.com>> wrote:
>From error message, it looks you are trying to use com.nokia.csd.Call 
>interface, so taking
a look at /etc/dbus-1/system.d/aegis.csd-call.conf [1], by quick look it seems 
it only needs
"Cellular", so you just need to add the line

   

in the manifest request section.

[1] The prefix "aegis." in DBus policy configuration just tells that this 
policy is automatically
generated from the manifest of csd-call. It uses a new keyword "cred", which is 
just a generic
way to reference any credential in the linux credentials set (not just "user" 
and "group",
like standard DBus daemon).



From: 
maemo-developers-boun...@maemo.org 
[maemo-developers-boun...@maemo.org] 
on behalf of ext Felipe Crochik [fel...@crochik.com]
Sent: Saturday, November 05, 2011 10:23 PM
To: maemo-developers@maemo.org
Subject: Aegis/Harmattan - how to add permission?

I am trying to get my application to start a call using the good old dbus 
com.nokia.csd.Call.CreateWidth method but, of course, can't get aegis to grant 
me access to it.

When I start it from QtCreator it works just fine. When I try to start the 
application on the phone I get:

QDBusMessage(type=Error, service="", error 
name="org.freedesktop.DBus.Error.AccessDenied", error message="Rejected send 
message, 2 matched rules; type="method_call", sender=":1.2976" (uid=2 
pid=9857 comm="/opt/callout/bin/callout ") interface="com.nokia.csd.Call" 
member="CreateWith" error name="(unset)" requested_reply=0 
destination="com.nokia.csd.Call" (uid=3 pid=634 comm="/usr/sbin/csd -z -p 
call autorej=0,autoans=0,ecall"))", signature="", contents=() )

Qt creator was "nice enough" to create the aegis file for my package and even 
include the credentials to allow my app to access the address books using the 
mobility contacts but, as far as the dbus goes, it only tells me:  go figure out! :)

Any hints?

Thanks,
Felipe



___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


maemo.org Extras Bug Jar 2011.45

2011-11-06 Thread Stephen Gadsby
A Quick Look at Extras in Bugzilla (https://bugs.maemo.org/).
2011-10-31 through 2011-11-06

As of 2011-11-07 Extras contains:
* total items: 2764 (+2 this week)
* total open items: 1010 (-10 this week)
* open bugs: 579 (-6 this week)
* critical/blocker: 44 (-1 this week)
* "easyfix": 5
* "moreinfo": 5
* "crash": 2
* "patch": 4
* reopened: 6 (-1 this week)
* unconfirmed: 356
* open enhancements: 431 (-4 this week)
* "easyfix": 3
* "moreinfo": 1
* "patch": 6
* reopened: 1
* unconfirmed: 187 (-3 this week)

==--- New Items ---==

1 bug was opened -
( https://bugs.maemo.org/buglist.cgi?bug_id=12486 ):
* [12486] [fMMS] Failiure to retrieve or send mms from vodafone pt and
corruption of apns

Of these, 1 was a critical/blocker -
( https://bugs.maemo.org/buglist.cgi?bug_id=12486 ):
* [12486] [fMMS] Failiure to retrieve or send mms from vodafone pt and
corruption of apns

1 enhancement was opened -
( https://bugs.maemo.org/buglist.cgi?bug_id=12491 ):
* [12491] [Miniature] Seek Games Screen: Remeber last game search options


==--- Resolved Bugs ---==

7 bugs were resolved "fixed" -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=12366,12426,12432,12435,12464,12470,12481
):
* [12366] [Miniature] Change description in Miniature gitorious page
* [12426] [Miniature] Miniature doesn't handle draw requests
* [12432] [www2sms] vodafonesmscz is no longer compatible
* [12435] [Miniature] Miniature should recognize games forfeited on time
* [12464] [Miniature] Players with rating of less 1000 points cannot
reliably use Miniature
* [12470] [Miniature] Check mate needs to be parsed and processed in Miniature
* [12481] [OmWeather] Confirmation dialog when deleting a station

0 bugs were resolved "invalid".

0 bugs were resolved "wontfix".

0 bugs were resolved "duplicate".

2 bugs were resolved "worksforme" -
( https://bugs.maemo.org/buglist.cgi?bug_id=12418,12464 ):
* [12418] [Miniature] Show task switch button in the upper left corner
* [12464] [Miniature] Players with rating of less 1000 points cannot
reliably use Miniature (nc)
  ---
  (nc) indicates the bug no longer has listed status.

0 bugs were resolved "moved".


==--- Resolved Enhancements ---==

3 enhancements were resolved "fixed" -
( https://bugs.maemo.org/buglist.cgi?bug_id=12351,12479,12482 ):
* [12351] [Miniature] Make move confirmation an option or remove it
* [12479] [OmWeather] Missing translation "Enter search"
* [12482] [OmWeather] Missing translation for "Exit" menu item

0 enhancements were resolved "invalid".

0 enhancements were resolved "wontfix".

0 enhancements were resolved "duplicate".

2 enhancements were resolved "worksforme" -
( https://bugs.maemo.org/buglist.cgi?bug_id=12371,12438 ):
* [12371] [Miniature] Make FICS terminal output visible in frontend
* [12438] [Miniature] Component request: miniature-chess.org

0 enhancements were resolved "moved".


==--- Confirmed Items ---==

1 bug was confirmed -
( https://bugs.maemo.org/buglist.cgi?bug_id=12481 ):
* [12481] [OmWeather] Confirmation dialog when deleting a station

3 enhancements were confirmed -
( https://bugs.maemo.org/buglist.cgi?bug_id=12479,12480,12482 ):
* [12479] [OmWeather] Missing translation "Enter search"
* [12480] [OmWeather] Title in info screen should be translatable
* [12482] [OmWeather] Missing translation for "Exit" menu item


==--- Reopened Items ---==

1 bug was reopened -
( https://bugs.maemo.org/buglist.cgi?bug_id=12426 ):
* [12426] [Miniature] Miniature doesn't handle draw requests (nc)
  ---
  (nc) indicates the bug no longer has listed status.

0 enhancements were reopened.


==--- Unloved Items ---==

10 bugs were needing love -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=4612,7561,11034,10991,10603,12011,12031,12267,11498,11587
):
* [4612] [Canola] Video playback much slower than MPlayer
* [7561] [Zoutube] Audio loss while minimizing Zoutube
* [11034] [PyMaemo] hildon searchbar popup when typing into a hildon.Entry field
* [10991] [Conversations Inbox] Conversation Inbox app
* [10603] [PyGTKEditor] Indent settings not applied until after restart
* [12011] [Maemo 5 Community SSU] Tactile feedback when the phone secures itself
* [12031] [Maemo 5 Community SSU] Zoom out (ctrl-shift-f) goes one step too far
* [12267] [Hermes] Some LinkedIn images missing
* [11498] [cpumem-applet] Add more info when click on status area
* [11587] [OmWeather] Update interval does not work

10 enhancements were needing love -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=11729,8491,11414,11704,12104,9347,8754,11783,11148,8612
):
* [11729] [PyMaemo] python-alarm, cann't add attrs to event
* [8491] [TouchSearch] Multiple search engines on the desktop
* [11414] [Evopedia] Show HTML5 videos when connected to Internet
(just like images are shown)
* [11704] [seriesfinale] seriesfina

maemo.org Website Bug Jar 2011.45

2011-11-06 Thread Stephen Gadsby
A Quick Look at maemo.org Website in Bugzilla (https://bugs.maemo.org/).
2011-10-31 through 2011-11-06

As of 2011-11-07 maemo.org Website contains:
* total items: 1606
* total open items: 239
* open bugs: 179
* critical/blocker: 10
* "easyfix": 1
* "moreinfo": 0
* "crash": 0
* "patch": 0
* reopened: 3
* unconfirmed: 62
* open enhancements: 60
* "easyfix": 1
* "moreinfo": 0
* "patch": 1
* reopened: 2
* unconfirmed: 20

==--- New Items ---==

0 bugs were opened.

0 bugs were critical/blocker.

0 enhancements were opened.


==--- Resolved Bugs ---==

0 bugs were resolved "fixed".

0 bugs were resolved "invalid".

0 bugs were resolved "wontfix".

0 bugs were resolved "duplicate".

0 bugs were resolved "worksforme".

0 bugs were resolved "moved".


==--- Resolved Enhancements ---==

0 enhancements were resolved "fixed".

0 enhancements were resolved "invalid".

0 enhancements were resolved "wontfix".

0 enhancements were resolved "duplicate".

0 enhancements were resolved "worksforme".

0 enhancements were resolved "moved".


==--- Confirmed Items ---==

0 bugs were confirmed.

0 enhancements were confirmed.


==--- Reopened Items ---==

0 bugs were reopened.

0 enhancements were reopened.


==--- Unloved Items ---==

10 bugs were needing love -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=4792,4489,5446,10254,5219,5221,9411,10687,10597,11691
):
* [4792] [Downloads] Add discussions for each program in downloads
* [4489] [Talk] There is no "Today's Posts" link from the Minimalistic theme
* [5446] [General] Site search is missing Brainstorm filter
* [10254] [Packages] Thumbing up package does not update package karma
till reload.
* [5219] [Talk] list of thanks overlap the nickname of the next poster
in minimalism
* [5221] [Talk] thread subscription list missing checkboxes in minimalism
* [9411] [Brainstorm] Number bulletins aren't shown after submitting a solution
* [10687] [Brainstorm] RESOLVED / MOVED Bug Reports are stucking in
the Brainstorm system
* [10597] [Downloads] Description for unstable version appears on the
stable projects' page.
* [11691] [General] Garage Register, No maemo account created.

6 enhancements were needing love -
( https://bugs.maemo.org/buglist.cgi?bug_id=6952,6723,5131,10942,9729,12067 ):
* [6952] [Brainstorm] Add possibility to save bugzilla styled searches
* [6723] [Autobuilder] Would be great if it would be possible to see
build log of in-progress build
* [5131] [Talk] Poll edit or update on t.m.o.
* [10942] [Bugzilla] Easy way to list packages on bugzilla.
* [9729] [Downloads] Show full package page when only one search result
* [12067] [Talk] There should be CSSU dedicated sub-forum


==--- Keyworded Items ---==
( glossary: https://bugs.maemo.org/describekeywords.cgi )

0 bugs were tagged "crash".

0 bugs were tagged "easyfix".

0 bugs were tagged "moreinfo".

0 bugs were tagged "patch".

0 bugs were tagged "performance".

0 bugs were tagged "security".

0 enhancements were tagged "easyfix".

0 enhancements were tagged "moreinfo".

0 enhancements were tagged "patch".

0 enhancements were tagged "performance".


==--- Top Tens ---==

Ten biggest open bugs by number of votes (unchanged for 24 weeks) -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=6187,8702,6914,10959,11384,5035,5963,9090,10450,11445
):
1. (9%) [6187] [Downloads] XB-Maemo-Upgrade-Description is displayed
way too soon
2. (8%) [8702] [Downloads] GPG error when updating Extras from
repository.maemo.org
3. (7%) [6914] [Packages] Allow commenter to follow comments on a
package under testing
4. (7%) [10959] [Downloads] Popular projects should ordered (by popularity)
5. (5%) [11384] [Repositories] Diablo extras & extras devel badly
signed with Fremantle repository key
6. (4%) [5035] [Downloads] Please display XB-Maemo-Upgrade-Description
in maemo.org downloads
7. (4%) [5963] [Downloads] Applications without screenshots shouldn't
appear on front page of downloads
8. (4%) [9090] [Bugzilla] Unclear that FIXED means "Fixed internally"
and not "released for public"
9. (3%) [10450] [Autobuilder] libsdl-ttf2.0 missing from device repositories
10. (3%) [11445] [Repositories] Package libqt4-dev
4.7.0~git20100909-0maemo1+0m5_armel.deb contains Intel386 binaries
  ---
  Please visit https://bugs.maemo.org/ to vote. Registration is easy and free.

Ten biggest open enhancements by number of votes (unchanged for 59 weeks) -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=630,6565,1309,3432,4244,4441,4854,6721,7179,9759
):
1. (21%) [630] [Bugzilla] Increased Bugzilla transparency - get the
developers involved!
2. (10%) [6565] [General] maemo-announce should be used or shut down
3. (9%) [1309] [Bugzilla] garage accounts and bugzilla accounts should be merged
4. (7%) [3432] [Downloads] Comments on downloads.maemo.org should
autom

Re: Aegis/Harmattan - how to add permission?

2011-11-06 Thread Felipe Crochik
Surprisingly enough I actually had found the csd-call.conf file and tried
adding the Cellular credential. It didn't work when I first tried and then
I found a document on the harmattan-sdk web site that stated something
like: access to Cellular is restricted to applications where the source is
com.nokia.maemo.

Also, because the error message was somewhat misleading I assumed
"Cellular" hadn't worked. After your email I checked with "accli" my
application on the device and Cellular was not included. This is just
speculation but I think that to update aegis for a package you may need to
first remove the previous package or there is some issue with Qt creator
packaging or deployment when just the aegis file was changed (of course, it
may also have been something I did wrong or didn't do :) )

I deleted the debian folder on my project, rebuilt everything, removed the
package from the device, uploaded a new one and installed it using dpkg and
now it works.

Thanks,
Felipe

On Sun, Nov 6, 2011 at 3:09 AM,  wrote:

>  From error message, it looks you are trying to use com.nokia.csd.Call
> interface, so taking
> a look at /etc/dbus-1/system.d/aegis.csd-call.conf [1], by quick look it
> seems it only needs
> "Cellular", so you just need to add the line
>
>
>
> in the manifest request section.
>
> [1] The prefix "aegis." in DBus policy configuration just tells that this
> policy is automatically
> generated from the manifest of csd-call. It uses a new keyword "cred",
> which is just a generic
> way to reference any credential in the linux credentials set (not just
> "user" and "group",
> like standard DBus daemon).
>
>
>  --
> *From:* maemo-developers-boun...@maemo.org [
> maemo-developers-boun...@maemo.org] on behalf of ext Felipe Crochik [
> fel...@crochik.com]
> *Sent:* Saturday, November 05, 2011 10:23 PM
> *To:* maemo-developers@maemo.org
> *Subject:* Aegis/Harmattan - how to add permission?
>
>  I am trying to get my application to start a call using the good old
> dbus com.nokia.csd.Call.CreateWidth method but, of course, can't get aegis
> to grant me access to it.
>
> When I start it from QtCreator it works just fine. When I try to start the
> application on the phone I get:
>
> QDBusMessage(type=Error, service="", error
> name="org.freedesktop.DBus.Error.AccessDenied", error message="Rejected
> send message, 2 matched rules; type="method_call", sender=":1.2976"
> (uid=2 pid=9857 comm="/opt/callout/bin/callout ")
> interface="com.nokia.csd.Call" member="CreateWith" error name="(unset)"
> requested_reply=0 destination="com.nokia.csd.Call" (uid=3 pid=634
> comm="/usr/sbin/csd -z -p call autorej=0,autoans=0,ecall"))", signature="",
> contents=() )
>
> Qt creator was "nice enough" to create the aegis file for my package and
> even include the credentials to allow my app to access the address books
> using the mobility contacts but, as far as the dbus goes, it only tells me:
>  go figure out! :)
>
> Any hints?
>
> Thanks,
> Felipe
>
>
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Aegis/Harmattan - how to add permission?

2011-11-06 Thread Ext-Markku.Savela
>From error message, it looks you are trying to use com.nokia.csd.Call 
>interface, so taking
a look at /etc/dbus-1/system.d/aegis.csd-call.conf [1], by quick look it seems 
it only needs
"Cellular", so you just need to add the line

   

in the manifest request section.

[1] The prefix "aegis." in DBus policy configuration just tells that this 
policy is automatically
generated from the manifest of csd-call. It uses a new keyword "cred", which is 
just a generic
way to reference any credential in the linux credentials set (not just "user" 
and "group",
like standard DBus daemon).



From: maemo-developers-boun...@maemo.org [maemo-developers-boun...@maemo.org] 
on behalf of ext Felipe Crochik [fel...@crochik.com]
Sent: Saturday, November 05, 2011 10:23 PM
To: maemo-developers@maemo.org
Subject: Aegis/Harmattan - how to add permission?

I am trying to get my application to start a call using the good old dbus 
com.nokia.csd.Call.CreateWidth method but, of course, can't get aegis to grant 
me access to it.

When I start it from QtCreator it works just fine. When I try to start the 
application on the phone I get:

QDBusMessage(type=Error, service="", error 
name="org.freedesktop.DBus.Error.AccessDenied", error message="Rejected send 
message, 2 matched rules; type="method_call", sender=":1.2976" (uid=2 
pid=9857 comm="/opt/callout/bin/callout ") interface="com.nokia.csd.Call" 
member="CreateWith" error name="(unset)" requested_reply=0 
destination="com.nokia.csd.Call" (uid=3 pid=634 comm="/usr/sbin/csd -z -p 
call autorej=0,autoans=0,ecall"))", signature="", contents=() )

Qt creator was "nice enough" to create the aegis file for my package and even 
include the credentials to allow my app to access the address books using the 
mobility contacts but, as far as the dbus goes, it only tells me:  go figure out! :)

Any hints?

Thanks,
Felipe


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers