After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 604708 - Sametime account does not log chat transcripts properly
Sametime account does not log chat transcripts properly
Status: RESOLVED OBSOLETE
Product: empathy
Classification: Core
Component: Accounts
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2009-12-16 11:56 UTC by dilkington
Modified: 2018-05-22 13:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description dilkington 2009-12-16 11:56:12 UTC
Create a sametime account, log on and send some messages to other contacts.

Log files (chat transcripts) are created using the contact identifier which can be something like CN=John Smith, O=OrgName.
Chats sent to John Smith are logged under ~/.local/share/Empathy/logs/<acct>/CN=John Smith/O=OrgName

The Empathy UI for previous transcripts only seems to look in the directory associated with the user e.g. CN=John Smith, so only looks for log files in ~/.local/share/Empathy/logs/<acct>/CN=John Smith, and the previous conversations tab is always empty.

Copying the log files from ~/.local/share/Empathy/logs/<acct>/CN=John Smith/O=OrgName to ~/.local/share/Empathy/logs/<acct>/CN=John Smith means they magically then appear in the UI.
Comment 1 Ivan Suftin 2009-12-18 14:38:14 UTC
I have the same bug using Empathy 2.28.1.1
The logs for my contacts are kept in:
~/.local/share/Empathy/logs/[account]/CN=User Name/OU=[OU name]/OU=[OU name 2]/O=[O name]/YYYYMM/*.log

YYYYMM = year + month of log file
Comment 2 Ivan Suftin 2009-12-18 14:40:09 UTC
An edit to the previous comment, should be:

The logs for my contacts are kept in:
~/.local/share/Empathy/logs/[account]/CN=User Name/OU=[OU name]/OU=[OU name
2]/O=[O name]/YYYYMMDD.log

There is not a directory beneath the organization name.
Comment 3 Guillaume Desmottes 2009-12-18 17:38:02 UTC
I have no idea how sametimes works but do you know why the contact idenitifier is changed?
Comment 4 dilkington 2009-12-21 09:06:22 UTC
Hi,

the contact id is related to the ldap structure which actually stores the person record.

For me, it's O=ORG_NAME, CN=NAME

but as you can see from the posting above it could be a number of levels.
Groups as follows :

O=Organisation
OU=Organisational Unit
CN=Common Name

Ivan could you confirm the Identifier tag on your setup reflects this ? - on my setup the Identifier is the path that should be used relative to the ~/.local/share/Empathy/logs/<acct>/ directory - I see the Identifier by right clicking on a sametime contact and "information".
Comment 5 Ivan Suftin 2009-12-21 19:55:08 UTC
My grouping is as follows:
Identifier: CN=[Common Name]/OU=[Org Unit]/OU=[Org Unit]/O=[Org]

So it seems fairly arbitrary depending on the organization.
Comment 6 dilkington 2009-12-22 09:57:26 UTC
Ok, so that confirms that the Identifier can provide the folder structure for searching for log files I guess.

Let me know if you need more info, but as Ivan says the ldap structure could be any structural organisation and consist of many levels depending on how your data is set up in ldap.
Comment 7 Tobias Mueller 2010-07-01 01:17:06 UTC
Reopening as I think the requested information has been provided.
Comment 8 Ivan Suftin 2010-07-07 17:43:09 UTC
Also, this bug is still plaguing Empathy when using SameTime.
Comment 9 st.schoenberg 2010-07-09 12:28:56 UTC
I've the same problem (2.30.1.1)
If you are still interested of the Sametime Identifier Syntax:

Syntax User database via notes.nsf (Sametime on Domino):
CN=user name/O=organisation

Syntax User database via ldap:
O=organisation, CN=name

So the Identifier depends of user management of sametime server.
Comment 10 Guillaume Desmottes 2010-09-13 13:45:42 UTC
So, if the internal structur of the server's data are changed, the contacts are renamed and logs are "lost". Is that a fair descrption of this issue?
Comment 11 Ivan Suftin 2010-09-24 14:18:17 UTC
Currently with Empathy, as far as my system goes, I am unable to see any logs for anyone at any time. When clicking on Previous Conversations, I see a list of people in my left-hand pane, but clicking on any of them results in a blank window in the right pane.
Comment 12 st.schoenberg 2010-09-24 17:42:45 UTC
Hi Ivan,
you are right, You see in the list your bodies up to the fist "/".
e.g. cn=tom jones (if the complete username is cn=tom jones/o=music).
The logging function has a problem with a "/" in username. The logger create a user in the account this is a folder but the "/" will create a sub folder and the log file is placed in to the sub folder. So the history gui of empathy will not look in the sub folder. It looks for the log file direct under the user folder.
If you copy the log file direct to the user folder (e.g. cn=tom jones) it will show up in the gui. I've written a small cronjob with copy all log file form sub folder to root dir of the user.

Other good news:
Ubuntu Mavarick fixed the problem. Guess emapthy version 2.32.x but not sure.
This version replace all "/" with "_".
In my example it means:  cn=tom jones/o=music -> cn=tom jones_o=music
So the logger will not create sub folder in user.
Comment 13 Tobias Mueller 2010-12-20 02:38:52 UTC
Reopening as I think the requested information has been provided.
Comment 14 GNOME Infrastructure Team 2018-05-22 13:54:50 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/empathy/issues/158.