maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] ProfileMatic for Harmattan (https://talk.maemo.org/showthread.php?t=79642)

Morpog 2012-03-10 18:07

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Just donated for this wonderful app!

ajalkane 2012-03-10 20:30

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Quote:

Originally Posted by Morpog (Post 1177531)
Just donated for this wonderful app!

Thank you!

There has been a couple other donations as well during the last few days. II'll use this opportunity to thank everyone who has donated. Thank you for the support. It means a lot.

tonyk 2012-03-12 08:25

Re: [Announce/WIP] ProfileMatic for Harmattan
 
The problem I mentioned earlier still seems to exist (accounts stays online).
I have tried to remove rules.conf and create those rules again, but it didn't help.
When I change order of rules or edit any rule in profilematic then accounts will go offline immediately if rule is still active.

chillip 2012-03-12 08:45

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Quote:

Originally Posted by tonyk (Post 1178222)
The problem I mentioned earlier still seems to exist (accounts stays online).
I have tried to remove rules.conf and create those rules again, but it didn't help.
When I change order of rules or edit any rule in profilematic then accounts will go offline immediately if rule is still active.

Hmm seems odd. Do you have developer mode enabled (and if you do can you do the following)?:

Code:

devel-su # Enter root password - typically rootme
/sbin/stop apps/profilematicd
exit # Switch back to regular user
/opt/profilematic/bin/profilematicd
# Now connect to the wifi which should trigger all accounts offline and check the log output
# You can restart normal operation after this by quitting the daemon via Ctrl + C afterwards:
devel-su
/sbin/start apps/profilematicd


tonyk 2012-03-12 09:10

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Quote:

Originally Posted by chillip (Post 1178235)
Hmm seems odd. Do you have developer mode enabled (and if you do can you do the following)?:

Code:

devel-su # Enter root password - typically rootme
/sbin/stop apps/profilematicd
exit # Switch back to regular user
/opt/profilematic/bin/profilematicd
# Now connect to the wifi which should trigger all accounts offline and check the log output
# You can restart normal operation after this by quitting the daemon via Ctrl + C afterwards:
devel-su
/sbin/start apps/profilematicd


RulesManager::_activateRule: activatingRule {f265afed-67db-436f-ab50-c361f70d4823}/Test
ActionProfile::activateRule for rule Test, profile general, volume 80 (previous /-1)
Setting profile to general
Return value 1
Setting profile general to volume 80
Return value 1
ActionFlightMode::activate not setting flight mode for rule Test
ActionPsmState::activate not setting power saving state for rule Test
ActionBlueTooth::activate: 0
ActionPresence::activate setting presence of all accounts online or offline
Now ma maaliskuuta 12 11:00:57 2012
Scheduling a timer to ma maaliskuuta 12 16:00:00 2012, interval 17942s
ConditionManagerLocationCell::monitorCellId(0)
tp-qt4 0.6.5 WARN: StatefulDBusProxy::uniqueNameFrom(): Failed to get unique name of "org.freedesktop.Telepathy.Connection.gabble.jabbe r.xxx"
tp-qt4 0.6.5 WARN: error: "org.freedesktop.DBus.Error.NameHasNoOwner" message: "Could not get owner of name 'org.freedesktop.Telepathy.Connection.gabble.jabbe r.xxx': no such name"

Both skype and google talk stayed online.

chillip 2012-03-12 09:24

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Quote:

Originally Posted by tonyk (Post 1178244)
RulesManager::_activateRule: activatingRule {f265afed-67db-436f-ab50-c361f70d4823}/Test
ActionProfile::activateRule for rule Test, profile general, volume 80 (previous /-1)
Setting profile to general
Return value 1
Setting profile general to volume 80
Return value 1
ActionFlightMode::activate not setting flight mode for rule Test
ActionPsmState::activate not setting power saving state for rule Test
ActionBlueTooth::activate: 0
ActionPresence::activate setting presence of all accounts online or offline
Now ma maaliskuuta 12 11:00:57 2012
Scheduling a timer to ma maaliskuuta 12 16:00:00 2012, interval 17942s
ConditionManagerLocationCell::monitorCellId(0)
tp-qt4 0.6.5 WARN: StatefulDBusProxy::uniqueNameFrom(): Failed to get unique name of "org.freedesktop.Telepathy.Connection.gabble.jabbe r.xxx"
tp-qt4 0.6.5 WARN: error: "org.freedesktop.DBus.Error.NameHasNoOwner" message: "Could not get owner of name 'org.freedesktop.Telepathy.Connection.gabble.jabbe r.xxx': no such name"

Both skype and google talk stayed online.

Ok that seems odd (especially because it works from the UI which should be the same code path). Can you please try disabling the "all offline" mode (i.e. ensure that the button is not checked and only force one of the accounts to offline (preferrably Skype first and if that works give the Google Talk one a try). Am I correct that the DBus interface above referenced your GTalk account (i.e. the part you have replaced by xxx)?

tonyk 2012-03-12 11:17

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Quote:

Originally Posted by chillip (Post 1178247)
Ok that seems odd (especially because it works from the UI which should be the same code path). Can you please try disabling the "all offline" mode (i.e. ensure that the button is not checked and only force one of the accounts to offline (preferrably Skype first and if that works give the Google Talk one a try). Am I correct that the DBus interface above referenced your GTalk account (i.e. the part you have replaced by xxx)?

Yep, I censored my gtalk account with xxx
I changed settings like you suggested and below are ActionPresence logs.
ActionPresence::activate setting selected accounts if any
ActionPresence::changeSelectedAccounts setting account offline "skype"

Still both accounts stayed online

zappAtom 2012-03-12 12:22

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Background connection

I saw this was asked before but i'd like to know about any updates on this?
It would be fantastic if this tool (better as daemon of course) could run all the time and checks for certain locations (e.g. home indicated by WiFi) or time and toggle the "Background connection" on/off!

I'm really lost with Nokias current implementation of having BG connection always on or not...without any network differenation etc.

Thanks a lot

ajalkane 2012-03-12 13:52

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Quote:

Originally Posted by zappAtom (Post 1178322)
Background connection

I saw this was asked before but i'd like to know about any updates on this?
It would be fantastic if this tool (better as daemon of course) could run all the time and checks for certain locations (e.g. home indicated by WiFi) or time and toggle the "Background connection" on/off!

I'm really lost with Nokias current implementation of having BG connection always on or not...without any network differenation etc.

Thanks a lot

Hi,

most likely you will be able to change "Background connection" in the next version by giving a custom command. The next version will include running of command-line scripts, and I think changing "Background connection" is possible from command-line. Haven't yet tested, but when I test I'll post instructions.

tonyk 2012-03-12 14:18

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Quote:

Originally Posted by chillip (Post 1178247)
Ok that seems odd (especially because it works from the UI which should be the same code path). Can you please try disabling the "all offline" mode (i.e. ensure that the button is not checked and only force one of the accounts to offline (preferrably Skype first and if that works give the Google Talk one a try). Am I correct that the DBus interface above referenced your GTalk account (i.e. the part you have replaced by xxx)?

Weird. If I make time based rule then everything works fine. All accounts goes to offline without a problem.
I also noticed that if I have set accounts to go offline mode in default rule and open 3G connection (default rule is activated) there's no problem.
So this problem seems to occur only with WLAN rules or else I'm doing something wrong :)


All times are GMT. The time now is 02:06.

vBulletin® Version 3.8.8