![]() |
Re: python script to archive all events
Quote:
|
Re: python script to archive all events
I just installed glogarchive from Extras-devel to archive my SMS/ IM/ Call Logs. http://maemo.org/packages/view/glogarchive/
Some questions: 1. Where does it store the backups? 2. How do I move it to my memory card/ PC? 3. Is there a way to restore from the archive? |
Re: python script to archive all events
Quote:
2. theres an export-to-csv function (you can open the csv-file with openoffice or excel). you can also copy the db-file directly - its a sqlite-file, which can be opened with sqlite-tools (e.g. sqlitebrowser). if you want the archive permanently at another place, copy the file to the new place (e.g. "cp /home/user/.rtcom-eventlogger/el_archive.db /home/user/MyDocs/archive.db") and set the new path in /opt/glogarchive/glogarchive.py at line 25: ARCHIVE_PATH = "/home/user/MyDocs/archive.db" 3. not now, maybe in one of the next versions :-( |
Re: python script to archive all events
Any way to get it to export an HTML file instead of CSV?
|
Re: python script to archive all events
Quote:
but the idea is good. maybe there will be a XML export in one of the next versions... |
Re: python script to archive all events
Hello!
Installed app while ago when using 1.1 and never worked. Tryed today with 1.2, updated to newest version first and it still crash (simply dissapear). Is there any special requirements to run app? dmesg is empty. Thanks, b. |
Re: python script to archive all events
hm... strange... it should work with the standard maemo python environment.
any output, when you start it via terminal? |
Re: python script to archive all events
Indeed. Here it is:
/home/user/# glogarchive process 10626: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757. This is normally a bug in some application using the D-Bus library. process 10626: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721. This is normally a bug in some application using the D-Bus library. Aborted /home/user/# |
Re: python script to archive all events
hmm... is "python-dbus" installed? (run "dpkg -l python-dbus")
what happens, when you try this: run-standalone.sh python2.5 /opt/glogarchive/glogarchive.py |
Re: python script to archive all events
I am on data conection, but I think installing python-dbus should work. Fail :S
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ sudo gainroot Root shell enabled BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # dpkg -i python-dbus dpkg: error processing python-dbus (--install): cannot access archive: No such file or directory Errors were encountered while processing: python-dbus /home/user # run-standalone.sh python2.5 /opt/glogarchive/glogarchive.py Traceback (most recent call last): File "/opt/glogarchive/glogarchive.py", line 596, in <module> listall(ui) File "/opt/glogarchive/glogarchive.py", line 309, in listall cur.execute("select events.event_type_id, count(events.id), events.outgoing from events group by events.event_type_id, events.outgoing order by events.event_type_id, events.outgoing") sqlite3.OperationalError: no such table: events /home/user # I'll try later at home on wifi. Have enabled maemo-devel, maemo-extras and maemo-extras-testing repos. Regards, b. |
All times are GMT. The time now is 04:57. |
vBulletin® Version 3.8.8