Notices


Reply
Thread Tools
Tiboric's Avatar
Posts: 433 | Thanked: 312 times | Joined on Nov 2009 @ U.K
#411
This may seem like a ridiculous question but is there such a thing as a hidden alarm?
Because every night between about 01:15 and 03:40 my phone will automatically go into offline mode and then back to online mode afterwards but I can't find a alarm entry anywhere
But I do remember testing such an alarm so my work couldn't call me at night but can't remember which program I used, it's not much of a problem normally as I'm asleep so had forgotten about it but last night I wasn't and a saw it happen and now I want to stop it.
I'm stumped and any help will be appreciated.
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#412
 

The Following 2 Users Say Thank You to nicolai For This Useful Post:
Posts: 123 | Thanked: 99 times | Joined on Sep 2010 @ Russia
#413
Originally Posted by shapeshifter View Post
So, as expected I finally have time again for things like this

I incorporated the two patches submitted so far and fixed a small bug, 2.0.1is now in extras-devel!

Thanks a lot for the contribution!
Why didn't you include this part of my patch? W/o it I can't save an event with non-english name.
Code:
--- /opt/alarmed/alarmed_gui.py 2011-02-06 15:22:23.000000000 +0300
+++ 1/alarmed/alarmed_gui.py 2011-02-01 23:34:57.000000000 +0300
@@ -563,9 +563,9 @@
         s = self.fields["schedules"]
         i = self.fields["intervals"]
         t = self.fields["types"]
-        eventInfo["schedule"] = str(self.schedulePicker.currentText())
-        eventInfo["type"] = str(self.typePicker.currentText())
-        eventInfo["title"] = str(self.titlePicker.text())
+        eventInfo["schedule"] = self.schedulePicker.currentText()
+        eventInfo["type"] = self.typePicker.currentText()
+        eventInfo["title"] = self.titlePicker.text()
         if self.schedulePicker.currentText() in [s["weekly"],
                                                  s["biweekly"]]:
             if not self.weekdays:
@@ -587,7 +587,7 @@
             dateTime = dateTime.addSecs(secs)
             eventInfo["ttime"] = int(dateTime.toTime_t())
             eventInfo["number"] = int(self.numberPicker.value())
-            eventInfo["interval"] = str(self.intervalPicker.currentText())
+            eventInfo["interval"] = self.intervalPicker.currentText()
         elif self.schedulePicker.currentText() == s["next"]:
             day = self.rWeekdayPicker.currentText()
             if day == mon: day = 1
@@ -622,7 +622,7 @@
             eventInfo["ttime"] = int(time.mktime(td.timetuple()))
             eventInfo["cron"] = cronstring
         elif self.schedulePicker.currentText() == s["date"]:
-            eventInfo["date"] = str(self.datesyntaxPicker.text())
+            eventInfo["date"] = self.datesyntaxPicker.text()
             ttime = alarmed_backend.interpretDateString(
                                     eventInfo["date"])
             if not ttime[0]:
@@ -641,13 +641,13 @@
         type = self.typePicker.currentText()
         content = ""
         if type == t["exec_type"]:
-            content = str(self.execPicker.text())
+            content = self.execPicker.text()
             eventInfo["content"] = content
         elif type == t["builtin_type"]:
-            content = str(self.builtinPicker.currentText())
+            content = self.builtinPicker.currentText()
             eventInfo["content"] = content
         elif type == t["profile_type"]:
-            content = str(self.profilePicker.currentText())
+            content = self.profilePicker.currentText()
             eventInfo["content"] = content
         if self.weekdays:
             eventInfo["weekdays"] = self.weekdays
I also found that using cli I can't list events if there is non-english name, error in alarmed.py:110, but I didn't fix it yet.
 
Tiboric's Avatar
Posts: 433 | Thanked: 312 times | Joined on Nov 2009 @ U.K
#414
Originally Posted by nicolai View Post
alarms are stored in
/var/cache/alarmd/alarm_queue.ini
http://talk.maemo.org/showpost.php?p...&postcount=358
Thanks nicolai will look for any thing amiss.

Edit: Yep it was in there, Thank you very much.

Last edited by Tiboric; 2011-02-06 at 17:05.
 
Posts: 123 | Thanked: 99 times | Joined on Sep 2010 @ Russia
#415
Originally Posted by ForeverYoung View Post
I also found that using cli I can't list events if there is non-english name, error in alarmed.py:110, but I didn't fix it yet.
line 110 of alarmed.py should be:
print "\t" + info + ": " + unicode(i[info]).encode("utf-8")
 
Posts: 187 | Thanked: 345 times | Joined on Nov 2009
#416
Originally Posted by x-lette View Post
does that mean you implemented the patch from #406 and deactivated support for tweakr-profiles? Or do they still work?
No, they will not work anymore. ProfilesX has the same (and better) functionality than tweakr and integrates much more nicely than tweakr. It's also still active while tweakr has been dead for the last 6 months. I suggest you either don't upgrade alarmed or switch to ProfilesX. Sorry.

Originally Posted by ForeverYoung View Post
Why didn't you include this part of my patch?
Whoops, sorry about that. I got errors when using that part of the patch but they were related to the fact that most interestingly, I've been using completely outdated pyside packages! They weren't upgraded because I didn't explicitly require them. So to say it out loud:

The pyside-* packages in the repo are obsolete and very old. If ever you need PySide packages, make sure you install the python-pyside.* packages!

I now included the fix and changed the dependencies of the alarmed package so now any users who accidentally still used the old version like I did should be upgraded.

I also included your small bugfix for -CL.

So now, build 2.0.1-2 is in -devel.
__________________
Author of:
  • The "Alarmed" scheduling and automation app. (Supports alarms, switching profiles, resetting the GPRS counter, setting custom commands to go off, cron syntax and much more. GUI and CLI).
  • "Reaction face-off", a two-player puzzle/knowledge/reaction game.
  • "ytcli", a simple but effective command line youtube client which allows you to play videos from the CLI instantly or download videos on a queue.
 

The Following User Says Thank You to shapeshifter For This Useful Post:
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#417
Originally Posted by shapeshifter View Post
No, they will not work anymore. ProfilesX has the same (and better) functionality than tweakr and integrates much more nicely than tweakr. It's also still active while tweakr has been dead for the last 6 months. I suggest you either don't upgrade alarmed or switch to ProfilesX. Sorry.
Sorry to hear that. As tweakr offers some more useful functions I'd keep using it anyway and I'm not sure wether both will work together. So I'll stay on current version for now and think over it.
 
Posts: 270 | Thanked: 37 times | Joined on Sep 2010
#418
@x-lette I uninstalled tweakr and installed profilesx and it is better. What are the "more useful functions"?
 
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#419
Originally Posted by iscio View Post
@x-lette I uninstalled tweakr and installed profilesx and it is better. What are the "more useful functions"?
Regarding the profiles I believe that there are better solutions. But other options tweakr offers are:
  • snap icons to grid
  • remapping of short-, long- and double press of power key
  • disabling of unlocking device when camera lens gets opened
I don't want to miss one of them. Maybe there are other apps offering similar functionality but why should I replace one app by two or three or even more? tweakr still works for me so I currently don't see a reason to change it.
 
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#420
I'm with x-lette. I'm quite happy using tweakr.

Would it be possible to include support for both tweakr and profilesx? Seems like some folks might get caught off guard if they aren't following the thread, and suddenly lose functionality.
__________________
*Consumer*, not a developer! I apologize for any inconvenience.
My script to backup /home and /opt
Samsung Galaxy S Vibrant, Huawei S7, N900(retired), N800(retired)
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:39.