Re: [Gajim-devel] Running both a dev and a stable profile

2010-01-28 Thread Yann Leboulanger

Le 28/01/2010 09:07, Michael Elsdörfer a écrit :

I'm using the advice on the wiki:


Indeed the devel and stable release don't have the same database 
structure. (0.13.2 and devel have, you must be using 0.12.5?)


if you want to run both, you have to use 2 separate database. To do that 
you can use the -c option, which specify the config folder.


something like gajim -c ~/.gajim-devel

This will create a completly separate config / database / cache.
--
Yann
___
Gajim-devel mailing list
Gajim-devel@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/gajim-devel


[Gajim-devel] Running both a dev and a stable profile

2010-01-28 Thread Michael Elsdörfer

I'm using the advice on the wiki:

$ ./launch.sh -p dev
Traceback (most recent call last):
  File "gajim.py", line 402, in 
interface = Interface()
  File 
"/home/michael/Documents/Dev/projects/theirs/gajim/src/gui_interface.py", line 
3142, in __init__

cfg_was_read = parser.read()
  File 
"/home/michael/Documents/Dev/projects/theirs/gajim/src/common/optparser.py", 
line 78, in read

self.update_config(old_version, new_version)
  File 
"/home/michael/Documents/Dev/projects/theirs/gajim/src/common/optparser.py", 
line 223, in update_config

caps_cache.capscache.initialize_from_db()
  File 
"/home/michael/Documents/Dev/projects/theirs/gajim/src/common/caps_cache.py", 
line 364, in initialize_from_db

self._remove_outdated_caps()
  File 
"/home/michael/Documents/Dev/projects/theirs/gajim/src/common/caps_cache.py", 
line 376, in _remove_outdated_caps

self.logger.clean_caps_table()
  File 
"/home/michael/Documents/Dev/projects/theirs/gajim/src/common/logger.py", line 
907, in clean_caps_table

self.simple_commit(sql)
  File 
"/home/michael/Documents/Dev/projects/theirs/gajim/src/common/logger.py", line 
152, in simple_commit

self.cur.execute(sql_to_commit)
sqlite3.OperationalError: no such column: last_seen

Am I doing something wrong? I think the problem here might be that was 
far as I can tell, the profile option only applies to the config file - 
the database file remains the same. Wouldn't it be better if a 
completely separate profile folder were used?


Michael
___
Gajim-devel mailing list
Gajim-devel@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/gajim-devel