Empathy does not write chat-log-files when TpLogger under ~/.local/share is a symbolic link

Bug #889007 reported by CnlPete
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
telepathy-logger (Ubuntu)
New
Low
Unassigned

Bug Description

Since i want my Conversations synchronized, i have setup dropbox with some folder ~/Dropbox/IM/TpLogger and created a symbolic link under .local/share/TpLogger that points to ~/Dropbox/IM/TpLogger.
This worked in the past, but stopped working at some point in the past.

when i have empathy running and delete this link (by moving it to TpLogger.old for instance) a new TpLogger Folder is created and my logs are stored.

when run empathy with the TpLogger being a link and send/receive a message i get the attached log, where the interesting part is at 167:
(telepathy-logger:11067): tp-logger-CRITICAL **: _tpl_log_manager_add_event: logstore name=TpLogger: Couldn't open log file: /home/cnlpete/.local/share/TpLogger<email address hidden>/20111111.log. Event may not be logged properly.

however, running touch, less or nano on exactly this file, i can access and edit.

I did antother test, where i put a Folder TestDir under .local/share (cd ~/.local/share && mkdir testdir) and have a symbolic link with this target (ln -s testdir TpLogger).
Then trying to send a message results in the following debug-block:
(telepathy-logger:11551): tp-logger-DEBUG: tpl_entity_new: Self id: <email address hidden>/cnlpete, tok: (null)
(telepathy-logger:11551): tp-logger-DEBUG: tpl_text_channel_store_message: Logging message sent to <email address hidden> (<email address hidden>)
(telepathy-logger:11551): tp-logger-DEBUG: tpl_log_store_sqlite_add_message_counter: message received
(telepathy-logger:11551): tp-logger-DEBUG: tpl_log_store_sqlite_add_message_counter: account = gabble/jabber/cnlpete_40mitharas_2ede0
(telepathy-logger:11551): tp-logger-DEBUG: tpl_log_store_sqlite_add_message_counter: identifier = <email address hidden>
(telepathy-logger:11551): tp-logger-DEBUG: tpl_log_store_sqlite_add_message_counter: chatroom = 1
(telepathy-logger:11551): tp-logger-DEBUG: tpl_log_store_sqlite_add_message_counter: date = 2011-11-11
(telepathy-logger:11551): tp-logger-DEBUG: tpl_log_store_sqlite_add_message_counter: got row, count = 3
(telepathy-logger:11551): tp-logger-DEBUG: tpl_log_store_sqlite_add_message_counter: new count = 4, insert = 0
(telepathy-logger:11551): tp-logger-DEBUG: tpl_log_store_sqlite_add_event: returning with 1
(telepathy-logger:11551): tp-logger-DEBUG: add_text_event: writing text event from <email address hidden>/cnlpete (ts 20111111T09:43:14)
(telepathy-logger:11551): tp-logger-DEBUG: log_store_xml_set_basedir: logstore set to dir: /home/cnlpete/.local/share/TpLogger/logs
(telepathy-logger:11551): tp-logger-DEBUG: _log_store_xml_write_to_store: Creating directory: '/home/cnlpete/.local/share/TpLogger<email address hidden>'
(telepathy-logger:11551): tp-logger-DEBUG: tpl_entity_new: Unknown entity.
(telepathy-logger:11551): tp-logger-DEBUG: tpl_text_channel_store_message: Ignoring received delivery report message.
(telepathy-logger:11551): tp-logger-DEBUG: _tpl_log_store_sqlite_remove_pending_messages: Removing pending messages for channel gabble/jabber/cnlpete_40mitharas_2ede_2fHemera/MucChannel1
(telepathy-logger:11551): tp-logger-DEBUG: _tpl_log_store_sqlite_remove_pending_messages: - pending_id: 12

but the folder does not get created!
sending another message results in exactly the same debug-output, where empthy (or tplogger) tries to create the folder but does not get created...

running 11.10 with
$ empathy --version
Empathy 3.2.0.1
$ apt-cache policy telepathy-logger
telepathy-logger:
  Installiert: 0.2.10-2

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: empathy 3.2.0.1-0ubuntu1.1
ProcVersionSignature: Ubuntu 3.0.0-13.22-generic-pae 3.0.6
Uname: Linux 3.0.0-13-generic-pae i686
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Fri Nov 11 10:03:51 2011
ExecutablePath: /usr/bin/empathy
ProcEnviron:
 LANGUAGE=de_DE:de:en_GB:en
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/usr/bin/zsh
SourcePackage: empathy
UpgradeStatus: Upgraded to oneiric on 2011-10-13 (28 days ago)

Revision history for this message
CnlPete (cnlpete) wrote :
Revision history for this message
Bilal Shahid (s9iper1) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make

Changed in empathy (Ubuntu):
status: New → Confirmed
Changed in empathy:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Bilal Shahid (s9iper1) wrote :

moving it to telepathy logger.because not a empathy bug,

no longer affects: empathy
Revision history for this message
Bilal Shahid (s9iper1) wrote :

moving it to telepathy-logger,because it not a empathy bug.

affects: empathy (Ubuntu) → telepathy-logger (Ubuntu)
Changed in telepathy-logger (Ubuntu):
importance: Undecided → Low
status: Confirmed → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.