Reply
Thread Tools
Posts: 44 | Thanked: 31 times | Joined on Dec 2009 @ Vienna, AT
#1
hey... i wrote my first small python script for the n900. itís a command-line tool, which copies all events (SMS and IM messages, phone calls) into an extra archive DB. this way, you can store all events by running the script, before you clean up your conversations and calling-history... theres also an output of counting all events grouped by event-type...
i want to write an graphical widget and a graphical tool to browse all archived events next year... you are welcome, if anyone want to help me (i'm new on python and GTK) :-)

here is the first version of the script: http://www.bananenfisch.net/?p=64
 

The Following 9 Users Say Thank You to bananenfisch For This Useful Post:
Posts: 44 | Thanked: 31 times | Joined on Dec 2009 @ Vienna, AT
#2
hi!

i wrote a gtk-frontend for this script now, with some additional output options. more infos here: http://www.bananenfisch.net/?p=120

hmm, im new here... should i upload my small app to the extras-devel repository??

greets from vienna,
markus
 

The Following 2 Users Say Thank You to bananenfisch For This Useful Post:
Posts: 432 | Thanked: 641 times | Joined on Mar 2009
#3
Originally Posted by bananenfisch View Post
hmm, im new here... should i upload my small app to the extras-devel repository??
Of course, feel free to add your application to extras-devel. Makes the installing and the testing easier. There is as well a wiki page with all the information and links you need.

Cheers Daniel
 

The Following 2 Users Say Thank You to danielwilms For This Useful Post:
Saturn's Avatar
Posts: 1,594 | Thanked: 1,937 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#4
Looks nice from the screenshoots. Please add it to the extras (and to garage) if you got the time.

Question, if I don't clean, concequtive runs of the script will create double entries?

Thanks for sharing.
 

The Following 2 Users Say Thank You to Saturn For This Useful Post:
Posts: 44 | Thanked: 31 times | Joined on Dec 2009 @ Vienna, AT
#5
yes, i will upload it to extras-devel and garage at the weekend...

Originally Posted by Saturn View Post
Question, if I don't clean, concequtive runs of the script will create double entries?
no, it only archive new (and changed) datasets... you only get an double entry for example, when you have an unread message, archive this, read the message, and archive again (because "is_read" flag get changed, so the data is not the same in the archive-db)...
 

The Following 2 Users Say Thank You to bananenfisch For This Useful Post:
Posts: 44 | Thanked: 31 times | Joined on Dec 2009 @ Vienna, AT
#6
ok, now you can find it at extras-devel, also here: https://garage.maemo.org/projects/glogarchive
 

The Following 2 Users Say Thank You to bananenfisch For This Useful Post:
Posts: 485 | Thanked: 248 times | Joined on Oct 2009
#7
Originally Posted by bananenfisch View Post
ok, now you can find it at extras-devel, also here: https://garage.maemo.org/projects/glogarchive
Thank you for developing this much needed application.

During the first run, it displays a message that "Archive not found, copying all from el.db". I assume that this happens very quickly, but there is no indication when the copy is finished. Perhaps a message on the next line, "Copying complete" or similar would be helpful for the new, first time user. and maybe for everyone else also.

Thank you again.
 

The Following User Says Thank You to j.s For This Useful Post:
Posts: 44 | Thanked: 31 times | Joined on Dec 2009 @ Vienna, AT
#8
yes, thats a good point... next version will do this...
i also want to make an CSV export, and maybe other useful features... any features you request?
 
Posts: 44 | Thanked: 31 times | Joined on Dec 2009 @ Vienna, AT
#9
ok... the new version is now in extras-testing. would be nice, if you test it
 

The Following User Says Thank You to bananenfisch For This Useful Post:
Saturn's Avatar
Posts: 1,594 | Thanked: 1,937 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#10
Thanks for the new version.

Like a lot that one can delete the archive with a click. I've accumulated a lot of entries and wanted to start from scratch but i was to lazy to open the xterm.

One issue (not blocker though) I notice is that events from contacts that have more than one number the archive shows the name only for the first number. All events with the second, thrird etc number show only the number (i.e. +123456789 (+123456789) : ...)
 
Reply

Tags
event, logging, python

Thread Tools

 
Forum Jump


All times are GMT. The time now is 00:15.