yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] tony.wheeler:
Problems - Actions and Tables

Dani,

With the last 2 versions my radio/phone has not been returned to the 'on' state when my 'Day' time scehedule was entered.

I have a 'Home' profile with 2 schedules: Night from 2200-0700 and Day from 0700-2200. I have defined 'on-enter' actions for both schedules. For Night the Phone (radio) is turned off and for 'Day' it should turn back on again. This all worked OK before but now (with no device changes except CMP upgrades) the radio is now not turned on at 0700. Even pressing the 'Get' button has no effect (although of course the radio is off) - any ideas why this should no start to be a problem? The radio is still turned off OK at 2200 by CMP.

I also notice that both the Event Log and the Cell History is self clearing. This morning I checked and it had only entries for this AM (from 0702) and now it has only entries from 0900 and none of the earlier ones from last night or even earlier this morning are there.

Regards
[Windows Mobile Apps and Games] danielherrero:
mmm, strange. Those features hasnt changed. Have you disable "awake to execute actions"?. I ve notices that It disabled then the phone doesnt turn on correctly (not always). This is because the process is lage (arround 20 seconds) and windows suspend the phone before. The logs shoudnt autoclean by them selves. Are you sure you have resetted the device?

Dani
[Windows Mobile Apps and Games] tony.wheeler:
Dani,

'Awake to execute actions' remains ticked. I have soft resetted the device - does that cancel the record of actions and cell changes? I'll let you know how things go tommorrow morning - do you have anything else I can check? I'll try creating a new timeschedule at home tonight to turn off phone then see if the next schedule can turn it back on again.

What is strange is that even though the phone/radio does not turn on it shows 'Home - Day' on the main window of CMP - where are the tables of data stored on the device? I can send you the results after tonights CMP activity.

Regards
[Windows Mobile Apps and Games] danielherrero:
Hi Tony. Cell history and cmp activity is stored on the lists (memory) and the log file. Exiting cmp (or resetting) loose memory information. But you can see the log file....

CMP goes to next schdule (day) because if no cell is avaible then It considers the last known place as current place. Could you send me the log file? It should contain what happened when CMP should have been turned on the phone....

Ps. there was a problem in log system when max file size was reached. Solved in 1.1.1c (no new texts on it).

http://www.commmgrpro.com/db5/00454...ad/CommMgrPro_V1.1.1c_Theme_SkizZO_SQUARE.CAB

http://www.commmgrpro.com/db5/00454...load/CommMgrPro_V1.1.1c_Theme_SkizZO_QVGA.CAB

http://www.commmgrpro.com/db5/00454/commmgrpro.com/_download/CommMgrPro_V1.1.1c_Theme_SkizZO_VGA.CAB
[Windows Mobile Apps and Games] Dirk L. A.:
Dani,

My phone was blocked on a black screen this morning. I did disable for Friday the "turn phone on" on "on exit" schedule. The log contains this:

2007-07-26 22:30:04 INFO. "En sortie" pour Genève-jour. Exécution action "en sortie" pour lieu Genève et période jour.

2007-07-26 22:30:04 INFO. "En entrée" pour Genève-nuit. Exécution action "en entrée" pour lieu Genève et période nuit.

2007-07-26 22:30:04 INFO. Changer Energie (cpu) en . Energie (cpu) tente de changer son état en .

2007-07-26 22:30:04 INFO. Changer Téléphone en éteint. Téléphone tente de changer son état en éteint.

2007-07-26 22:35:20 DEBUG. Cell/LAC détecté: [28509-19]. Le lieu a changé de [0-0] en [28509-19].

2007-07-26 22:35:22 INFO. Changer Energie (cpu) en . Energie (cpu) tente de changer son état en .

2007-07-27 06:30:00 INFO. "En sortie" pour Genève-nuit. Exécution action "en sortie" pour lieu Genève et période nuit.

2007-07-27 06:30:00 INFO. Téléphone ignoré. Le gestionnaire Téléphone n'exécutera pas l'action parce qu'elle est désactivée ou inactive aujourd'hui.

2007-07-27 06:30:01 INFO. Changer Energie (cpu) en . Energie (cpu) tente de changer son état en .

2007-07-27 06:30:01 INFO. Changer Energie (cpu) en . Energie (cpu) tente de changer son état en .

2007-07-27 06:30:01 INFO. "En sortie" pour Genève-nuit. Exécution action "en sortie" pour lieu Genève et période nuit.

2007-07-27 06:30:01 INFO. Téléphone ignoré. Le gestionnaire Téléphone n'exécutera pas l'action parce qu'elle est désactivée ou inactive aujourd'hui.

2007-07-27 06:30:02 INFO. Changer Energie (cpu) en . Energie (cpu) tente de changer son état en .

2007-07-27 06:30:02 INFO. Changer Energie (cpu) en . Energie (cpu) tente de changer son état en .

2007-07-27 06:30:02 INFO. "En entrée" pour Genève-silence. Exécution action "en entrée" pour lieu Genève et période silence.

2007-07-27 06:30:02 INFO. Changer Sonnerie en éteint. Sonnerie tente de changer son état en éteint.

Any possible idea on the problem? I had it now twice.

Thanks

-Dirk
[Windows Mobile Apps and Games] danielherrero:
HI. Could you translate the 06:30 lines? What was in the screen? could it be what tomy saw? (he talked about entering a password). Any idea how to reproduce it? have you disabled "awake to execute actions"?

Dani
[Windows Mobile Apps and Games] Dirk L. A.:
I couldn't see the screen, it won't light on. I had to reset (like the first time I saw it).

Yes I have the option "awake" disabled, all actions executed fine so far.

What is strange to me in the 6:30 lines is the telling that it tries to change the power status from something that seems to be unknown.

Dirk
[Windows Mobile Apps and Games] danielherrero:
I ve enabled again "Awake" option because yesterday CMP didnt turned off correctly the phone with that option disabled. I start to think that Its necessary to enable this option. Maybe consequences of executing actions in idle state and "unknown" because some of the actions need a higher level of energy and they arent executed correctly.

Anyway there was a bug formatting cpu log messages. It shouldnt be important but I ve fixed it to avoid memory overrun problems. If you see the problem again try enabling "awake" option....

ps. Sorry about so many version (1.1.1a, b, c) but its better to use different numbers to isolate problems better)

http://www.commmgrpro.com/db5/00454...ad/CommMgrPro_V1.1.1d_Theme_SkizZO_SQUARE.CAB

http://www.commmgrpro.com/db5/00454...load/CommMgrPro_V1.1.1d_Theme_SkizZO_QVGA.CAB

http://www.commmgrpro.com/db5/00454/commmgrpro.com/_download/CommMgrPro_V1.1.1d_Theme_SkizZO_VGA.CAB
[Windows Mobile Apps and Games] cmalberto:
Following this conversation. I have to say that I have been experiencing these same issues but what I think I have it isolated to is CMP hanging now when the PHONE is off. I have had to reboot 3 times today because of HANGs. What I just noticed was that after I manually stopped the Phone Radio, CMP has hung up. I can't event stop the process...thus having to reboot. I am running version 1.1 proper.

I noticed this start yesterday in the afternoon..which would have corresponding to my attempt to restart the radio. The radio would start but would not get a signal.

Looks like you just posted version D. Should I install in an attempt since you have changed somethings? Did I understand this correctly?

--Mickey
[Windows Mobile Apps and Games] danielherrero:
Hi Mickey.

It hangs when the phone is off or when you want to turn the radio off?

because I am turning on/off the phone in my tynt and athena but nothing(bad) happens...
[Windows Mobile Apps and Games] cmalberto:
The phone turns off fine but when I turn it back on manually.

I have also noticed that CMP wasn't able to turn on this morning. I had rebooted right before CMP automatically turned the radio off last night, so there wasn't much happening with the phone while I slept. So after CMP didn't start this morning, I manually tried to start the RADIO and it wouldn't connect. So I rebooted yet again.

Here at work today I isolated it down to an unresponsive CMP. Then I read the previous posts this morning and made me think it wasn't me(ha).

--Mickey
[Windows Mobile Apps and Games] danielherrero:
Ok.

By the moment I havent been to replicate it. I will continue trying it. If someone has any clue of how to reproduce it please post it:)
[Windows Mobile Apps and Games] cmalberto:
Oh yeah...another I have noticed is that I cannot keep CMP from restarting. If I EXIT, moments later, CMP will restart itself. It used to be at the beginning of a timeframe, CMP would start but now that is not the case. I suspect this may be something with the fact that I am running withe REFRESH OPTION enabled ever 3 minutes. Do you think this might have anything to do with the lock ups when the RADIO is off? This is something new that I have been doing since the last couple of days.

--Mickey
[Windows Mobile Apps and Games] danielherrero:
You re right but It was solved in v1.1.1b. Update to latest version ;)
[Windows Mobile Apps and Games] tony.wheeler:
Dani,

Log file sent to your e-mail address. The problem is there in the file and as you can see CMP does not even appear to have tried to turn on the radio at 0700 for the last few days. I have not changed the schedules.

Feature Request: Like many I have an application that actually allows me to close apps when I press the x button. I know this has been discussed, including by me, but if you cannot stop CMP being actually closed down with such a press could you make CMP ask the question "are you sure..." as it does if you select the exit command from CMP?

Regards
[Windows Mobile Apps and Games] danielherrero:
tomy could you send me your database to simulate your case?

Thanks ;)
[Windows Mobile Apps and Games] ULI22:
Idea

HI

If we would put all translated texts which may appear in Log-Files/lists into a separate language-file, it would be easy to switch language leaving logging in english...

regards

ULI
[Windows Mobile Apps and Games] danielherrero:
Hi ULLI.

I ve been thinking about it but Its not easy because, as you know, the texts stored in language files(xml) are templates like "HI, my name is %s and I am %d years old. ON the fly thoses templates are processed to generate: "Hi, my name is Daniel Herrero and I am 33 years old.". And this is the text stored in the lists and log file. So once generated its not easy to convert them to other languages.... But I will think about it :)
[Windows Mobile Apps and Games] ULI22:
What I thought is:

You split your language file (english.xml) in two files: english.xml +logging.xml

Of course you have to load both sequentially.

But I, working in german, would replace the second file (logging texts) with the english one (by renaming to logging_de.xml), so I would see logging in english...

ULI

PS: I think the easiest way is to NOT translate those logging-texts in german.xml...

PPS: In my german.xml I just replaced all texts betwenn <!-- 2007-07-20 --> and <!-- 2007-07-23 --> by coresponding lines of english.xml. So I have an english Log now...
[Windows Mobile Apps and Games] tony.wheeler:
Dani,

I think it may be the ROM then. As you can see from my signature block I am using the Black SATIN ROM so this would seem to be the problem. I only changed to it 5 days ago so it seems fairly obvious it is the cause. That is interesting because although it is 'cooked' it is actually based upon the official HTC WM6 ROM!

I was with Black MAJIK and CMP worked perfectly with that so I'll go back to that and let you know how I get on then - never mind this ROM upgrading is self inflicted so it's all my own fault I know:(. I will try changing the radio back to 1.43 before the OS ROM change and report back on that too.

Thanks for looking at it. You know the strange thing is that I can use CMP manually to do everything and that includes turning on and off the radio. Answers to your questions:

1. OS = Black SATIN and Radio = 1.48

2. I have 58 notifications of which the same 3 keep being repeated - I use SK Tools to fix this.
[Windows Mobile Apps and Games] tony.wheeler:
Dani,

Just done some testing like you did by changing the device clock and I found the results were not consistant. I changed the clock to be 2 mins before the Night Period (2058) and then 2 mins before the Day period (0658) - in each case I watched the time pass the change-over time and then observed CMP actions and phone changes. To ease monitoring of the actions I set the on enter action of vibrate 2 secs for each period.

These are the results when CMP was on and showing on screen:

Entering Night Period: within 1 sec the actions completed OK (but the actions for executing end of day period were actioned twice (I have none assigned but there are 2 entries in the log rather than 1)

Entering Day Period: Although CMP recognised the change of time (it showed Home - Day) no actions were started and there were no entries in the event log. The Cell ID and LAC code were both showing 0 - but if I pressed 'Get' the cell ID changed to 64405 and th LAC to 1021 (presumably the latest codes seen) even though the radio remained off.

I then exited CMP whilst in the day period (now 10 mins into) and when I re-started CMP all the on enter actions for day period worked quite OK (incl radio on)!!! How is that? With CMP minimised I then simply kept cycling the time between times in the day period and times in the night period to see how CMP behaved. On every occasion the period was displayed correctly on the CMP main window - it cycled from Home - Day to Home - Night to Home - Day etc... Clearly CMP sees the changes BUT it is making no attempt to execute ANY actions (no vibrate and no Log entries). I thought this problem was initially with the radio off only but in fact the problem is there almost every time.

It appears that only if I exit CMP then re-start it will execute the actions - stop, just found that it also works if you let the device power down to idle/stanby then turn it back on (then CMP actually executes the on-enter actions as required). I am completely confued Dani.

I will wait for your responses before I install another ROM. I cannot but feel that the problem lies with CMP now. Why should it see the time change and show the correct period but not try to execute the actions :confused:.

Regards
[Windows Mobile Apps and Games] Blowfish64:
Hey Daniel,

Do you have any plans to make a skinning program for this application? It'd help a lot, as the current skin just doesn't go very well with my current theme.
[Windows Mobile Apps and Games] JohnDoe01:
Nope it does not. And on the top of it I tried everything I could :

- uninstall

- special uninstall using specialized software

- killing the task before unsinstalling

- uninstalling then cleaning by hand the registry

- cleaning the notfication queue

etc etc etc...

How can I get rid of this sotfware ?

This stupid remaining popup is driving me mad.
[Windows Mobile Apps and Games] JohnDoe01:
Seems it uninstall fine on the latest d version :D
[Windows Mobile Apps and Games] danielherrero:
nice john!!. sosrry for the problems and thank for your support. latest version was modified trying to help you and I am happy to know It fixed the problem :)
[Windows Mobile Apps and Games] danielherrero:
Hi.

The program is totally skinable. In fact my skin was ugly(My art drawing is poor) but skizzo theme loved many people. If you want to create a new skin contact me or skizzo and we will help help you. You only need new images and a new skin.xml definig the style of each component (fonts,colors.width,etc)
[Windows Mobile Apps and Games] danielherrero:
I answered hours ago privately but I ve new thoughts.....My live would be bored without these enigmatic issues. I am going to install your rom. But probably the problem is more complex. maybe rom + database + software installed + memory available + position of the sun :)

I must recognize that my test devices (tynt athena artemis s200 and microsoft emulator) are always recently formatted. I hope the problem are because of it. I use cmp in my regular day but my athena has 128 ram. Maybe memory low in 64 mb devices? I've set your schedule in my tynt waiting for fails in the next days. I will add more trace log lines in nedxt version. In my regular jobs with java big train real time systems is exiciting to see that little programs have so much differences between users ;)

tony. There is one reason because you are having these problems. And probably other users are having same problem. But I am sure we will get the answer, like we have fixed all the problem the last 5 months.;)

ps: My wife (Isabel) will have out first daughter very soon. Scheduled date:08-11. Maximum date:08-26. I will post any new when it happens :)
[Windows Mobile Apps and Games] tony.wheeler:
Dani,

Interestingly CMP worked OK this morning (turning on the radio at 0700) with no change of device configuration on my part. I'll keep 'playing' and see if I can better isolate the issues. The fact that (during my tests posted yesterday) CMP could see the period change but appeared not to make any attempt to complete actions appears to be the main issue here.

I appreciate that we cannot exclude this issue being caused by an OS ROM (cooked as well) but perhaps it might be worth looking at the code to see why it is that CMP can present a location and period/schedule without even trying to execute actions assigned to that perio and place - is there seperate code looking after each element?

Regards
[Windows Mobile Apps and Games] danielherrero:
Hi Tomy.

Its interesting what you say. When CMP detects a change of profile/schedule then starts to execute their actions. One posibility would be a crash in the code that iterates over all the actions. Actions are executed in different threads but if this loop crashes then actions arent executed. But if there was a crash then It would happens always. And sometimes your home schedules are executed. And I ve debugged the schedule with you database and there wasnt crashes. But who knows. Other interesting thing is these lines of your log file:

2007-07-26 06:59:51 INFO. Executing end actions for Home-Night. Executing end actions for place Home and schedule Night.

2007-07-26 07:34:56 DEBUG. [64405-1021].Position changed.. The location changed from [0-0] to [64405-1021].

Maybe windows was suspended before CMP started to execute day-start. I am going to put more debug lines. Maybe it helps.

Dani
[Windows Mobile Apps and Games] Dirk L. A.:
Hi Dani,

I do still have troubles too with my over night schedule.

I planned "on entry" a phone off and a power state to standby.

I turned on "Awake to execute actions".

The log shows entries with "is changing", but none "has changed".

And the location changed several times, that's definitely showing that the phone wasn't off.

The phone was fresh rebooted a few hours before.

I don't know in which continue to search for my problem.

Regards

-Dirk

PS: my log is displaying a "Idle state" that is not in the translation list.
[Windows Mobile Apps and Games] danielherrero:
Hi Dirk.

Dont mix phone actions with cpu "stand by" because this action suspend the device and the phone-off action wont be executed or will be executed wrongly. Dont use cpu "stand by" by now until the feature "delay" is ready. In fact, dont use this action except if It is the only one action for that schedule.

I ve left the database of Tomy in my hermes. Again this night all worked correctly. I ve left his schedule in my hermes device hoping to see his problems.

2007-07-29 22:00:01 INFO. Executing end actions for Home-Day. Executing end actions for place Home and schedule Day.

2007-07-29 22:00:02 INFO. Executing end actions for Home-Day. Executing end actions for place Home and schedule Day.

2007-07-29 22:00:02 INFO. Executing begin actions for Home-Night. Executing begin actions for place Home and schedule Night.

2007-07-29 22:00:02 INFO. Changing WIFI Manager to Off state. The element WIFI Manager will try to change Its status to Off.

2007-07-29 22:00:02 INFO. Changing Bluetooth Manager to Off state. The element Bluetooth Manager will try to change Its status to Off.

2007-07-29 22:00:02 INFO. Changing Speaker Manager to On state. The element Speaker Manager will try to change Its status to On.

2007-07-29 22:00:02 INFO. Changing Phone Manager to Off state. The element Phone Manager will try to change Its status to Off.

2007-07-29 22:00:05 DEBUG. [803-2817].Position changed.. The location changed from [0-2817] to [803-2817].

2007-07-29 22:00:06 DEBUG. Phone Manager changed to Off. The element Phone Manager changed its status from On to Off.

2007-07-29 22:03:30 DEBUG. [803-2817].Position changed.. The location changed from [0-0] to [803-2817].

2007-07-30 07:00:01 INFO. Executing end actions for Home-Night. Executing end actions for place Home and schedule Night.

2007-07-30 07:00:02 INFO. Executing end actions for Home-Night. Executing end actions for place Home and schedule Night.

2007-07-30 07:00:02 INFO. Executing begin actions for Home-Day. Executing begin actions for place Home and schedule Day.

2007-07-30 07:00:05 INFO. Changing Speaker Manager to On state. The element Speaker Manager will try to change Its status to On.

2007-07-30 07:00:05 INFO. Changing Phone Manager to On state. The element Phone Manager will try to change Its status to On.

2007-07-30 07:00:05 INFO. Ringtone \Windows\OldPhone .wma. The ringtone will be changed to \Windows\OldPhone .wma, type av0pw3r and initial volumen 3.

2007-07-30 07:00:17 DEBUG. [803-2817].Position changed.. The location changed from [0-0] to [803-2817].

2007-07-30 07:00:18 DEBUG. Phone Manager changed to On. The element Phone Manager changed its status from Off to On.

2007-07-30 07:00:18 DEBUG. [803-2817].Position changed.. The location changed from [0-0] to [803-2817].

2007-07-30 07:00:20 DEBUG. [6552-2817].Position changed.. The location changed from [803-2817] to [6552-2817].

2007-07-30 07:02:58 DEBUG. [803-2817].Position changed.. The location changed from [6552-2817] to [803-2817].