← Back to team overview

desktop-packages team mailing list archive

[Bug 889007] Re: Empathy does not write chat-log-files when TpLogger under ~/.local/share is a symbolic link

 

** Attachment added: "empathy trying to log a send message, when TpLogger under ~/.local/share is a symbolic link"
   https://bugs.launchpad.net/bugs/889007/+attachment/2592974/+files/emp.log

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to empathy in Ubuntu.
https://bugs.launchpad.net/bugs/889007

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

Status in “empathy” package in Ubuntu:
  New

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/logs/gabble_jabber_cnlpete_40mitharas_2ede0/chatrooms/care@xxxxxxxxxxxxxxxxxxxxxx/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: care@xxxxxxxxxxxxxxxxxxxxxx/cnlpete, tok: (null)
  (telepathy-logger:11551): tp-logger-DEBUG: tpl_text_channel_store_message: Logging message sent to care@xxxxxxxxxxxxxxxxxxxxxx (care@xxxxxxxxxxxxxxxxxxxxxx)
  (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 = care@xxxxxxxxxxxxxxxxxxxxxx
  (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 care@xxxxxxxxxxxxxxxxxxxxxx/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/logs/gabble_jabber_cnlpete_40mitharas_2ede0/chatrooms/care@xxxxxxxxxxxxxxxxxxxxxx'
  (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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/889007/+subscriptions


References