reassign 526055 libsqlite3-0

Xavier MAILLARD wrote:
> Package: gajim
> Version: 0.12.1-2
> Severity: normal
> 
> --- Please enter the report below this line. ---
> When starting with an empty .gajim directory, gajim will fail if
> the /home directory is mounted with NFS.
> 
> Traceback:
> 
> x...@homer:~$ gajim
> crée le répertoire /home/xma/.gajim
> crée le répertoire /home/xma/.gajim/vcards
> crée le répertoire /home/xma/.gajim/avatars
> création de la base de donnée de l'historique
> Traceback (most recent call last):
>   File "gajim.py", line 3356, in <module>
>     check_paths.check_and_possibly_create_paths()
>   File "/usr/share/gajim/src/common/check_paths.py", line 133, in
> check_and_possibly_create_paths create_log_db()
>   File "/usr/share/gajim/src/common/check_paths.py", line 98, in
> create_log_db '''
> sqlite3.OperationalError: database is locked
> Error in atexit._run_exitfuncs:
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/atexit.py", line 24, in _run_exitfuncs
>     func(*targs, **kargs)
>   File "gajim.py", line 408, in on_exit
>     gajim.interface.save_config()
> AttributeError: 'NoneType' object has no attribute 'save_config'
> Error in sys.exitfunc:
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/atexit.py", line 24, in _run_exitfuncs
>     func(*targs, **kargs)
>   File "gajim.py", line 408, in on_exit
>     gajim.interface.save_config()
> AttributeError: 'NoneType' object has no attribute 'save_config'
> 
> If I create a directory on a local disk, say in /tmp/gajim and ln
> -s /tmp/gajim ~/.gajim it will run successfully.
> 
> Sounds like there is something with the hsitory database and NFS mounts.

It's a sqlite limitqation.
from pysqlite FAQ (http://www.sqlite.org/faq.html#q5):
"But use caution: this locking mechanism might not work correctly if the
database file is kept on an NFS filesystem. This is because fcntl() file
locking is broken on many NFS implementations."
-- 
Yann



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to