ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
67591
|
Mon Oct 28 11:21:19 2013 |
| Alexander Nozik | altavir@gmail.com | Question | Linux | 2.9.2-2455 | Attachment file names encoding |
Hello,
I am trying to move elog from old FreeBSD system to a new Ubuntu server and stuck with attachment encoding problem. The elog entries as well as attachments ашду тфьуы are mostly in koi8-r or cp1251 encoding. While it is relatively easy to configure log entries to display correctly, I still can't manage to deal with attachments. In old elog all attachments with Cyrillic file names are "not found" by elog web interface while files are present in the directory (though previous admin could have done something with the encoding).
If I am creating a new elog with default koi8-r charset, then new cyrrilic attachments are uploaded and displayed normally but after download the file name encoding is broken. Does elog do something with attachment name encoding? |
67593
|
Wed Oct 30 10:15:13 2013 |
| Alexander Nozik | altavir@gmail.com | Question | Linux | 2.9.2-2455 | Re: Attachment file names encoding |
Thank you for reply.
I am not very experienced linux user so it could be a problem with the file system. Let me just describe what I do and what I see as a result.
I created a new elog just for the testing purpose, it has "Charset = koi8-r" line in the config file. Than I post a new entry to this elog with russian text and a file with russian file name from windows (so I expect that charset is cp1251). Now I open this entry. The text is fine and the filename is fine on the page (the same russian text I expect to see), but when I try to download it, the actual file name is broken and to restore it I need koi8-r -> cp1252 transformation. The file itself is readable.
If I look in the actual logbook directory, then in the entry file the file name is readable (entry file encoding is koi8-r), but the attachment file name contains many "?" and not readable by file system.
So first my question is what happened to the file name incoding in a logbook directory, and the second one: what should I do to make attachments download as they were uploaded?
Thank you in advance. |
1668
|
Thu Feb 9 00:37:29 2006 |
| Alan Stone | alstone@fnal.gov | Question | Linux | 2.6.1-1622 | menu commands - user list does not match config list |
I am attempting to configure the Elog for use at the CMS Remote Operations Center
at Fermilab. I included the following option:
Menu commands = List, New, Reply, Duplicate, Find, Last day, Config, Admin, Login, Logout, Help
but the available list (after restarting the elog daemon) gives me:
CMS ROC Logbook, Page 1 of 1 Logged in as "Alan Stone" ELOG Home
New | Find | Select | CSV Import | Config | Logout | Help
Did I miss a step in the syntax instructions?
Thanks, Alan |
1804
|
Mon Apr 10 20:28:37 2006 |
| Alan Stone | alstone@fnal.gov | Question | Linux | 2.6.1-1684 | How can I configure to prevent empty entries? |
I have accidentally created a couple of entries recently. It is pretty easy. I
fill in the header, type in a Subject, and then hit Enter, instead of TAB.
I have turned off the edit option intentionally.
I want to avoid this in the future. Is there a configuration option which would
confirm that the user before submitting an entry without a Body? I know I can require
attributes like Author and Subject. I am not sure I want to require a Body, in case
someone submits an entry with just an attachment (and a Subject).
Thanks, Alan |
1829
|
Wed May 17 23:39:23 2006 |
| Alan Stone | alstone@fnal.gov | Question | Linux | ELOG V2.6. | Linking two sets of logbooks |
I would like to link the CMSROC ELOG at Fermilab:
http://nippon.fnal.gov:8081/
with the CMS ELOG at CERN:
https://cmsdaq.cern.ch/elog/
I am the administrator of the former. I want to keep the CMSROC logbook content
local, but I would like to make a link to the CMS CERN logbook visible from
http://nippon.fnal.gov:8081/
and ideally to have it show up as a tab from any sub-page.
Thanks in advance for any help.
Alan |
1856
|
Thu Jun 22 16:01:58 2006 |
| Alan Stone | alstone@fnal.gov | Question | Linux | ELOG V2.6. | Change default for suppressing email notification and/or targeting entries manually |
I want to change the default for suppressing email notification.
I want to be able to send email to Elog subscribers and to other people
not yet subscribed to the Elog. However, after polling the current
subscribers, they do NOT want to receive email notification for every
new Elog entry by default.
Instead of toggling the "Suppress Email notification", I would like
to toggle "Send Email notification".
I would also like the option to add additional email addresses on the fly.
Thanks in advance for any help.
Alan |
1858
|
Thu Jun 22 20:43:39 2006 |
| Alan Stone | alstone@fnal.gov | Question | Linux | ELOG V2.6. | Re: Change default for suppressing email notification and/or targeting entries manually |
Thank you for your response. I do not think I posed my questions clearly. Let me try a different way.
If I set the following logbook configuration:
Suppress Email to users = 0
then, every time someone makes a new entry to that logbook, all subscribers get an email, unless
someone checks the "Suppress Email notification" box.
I want to preserve the configuration option. However, I want to invert the default check box, so
that no email is sent to subscribers unless someone takes the extra step to check a box which might
read "Send Email notification".
> You have to change the config file to add new email addresses or you have to add new users.
That would not work for non-admins. I was looking for a non-required
"email to/cc/send to" attribute. Obviously, one can just cut and paste
the entry into your email application.
Stefan Ritt wrote: |
Alan Stone wrote: | I want to be able to send email to Elog subscribers and to other people
not yet subscribed to the Elog. However, after polling the current
subscribers, they do NOT want to receive email notification for every
new Elog entry by default. |
The admin user can change the email subscriptions to all users in the Config page, so you just have to go through each user. Alternatively, you can stop the elog server, change the password file manually in any editor, and then restart the elog server.
Alan Stone wrote: | I would also like the option to add additional email addresses on the fly. |
You have to change the config file to add new email addresses or you have to add new users. |
|
1874
|
Wed Jul 12 17:52:45 2006 |
| Alan Stone | alstone@fnal.gov | Question | Linux | ELOG V2.6. | Setting Subject for ELog email notification |
Hi,
I have the following elogd.cfg syntax:
; Email notification
Suppress Email to users = 1
Omit Email To = 1
User Email Subject = $subject
Use Email Heading Edit = $subject
Email Report Notify-CMSROC = alstone@fnal.gov
However, the resulting email is not exactly what I want:
*****************************************
Date: Wed, 12 Jul 2006 10:43:09 -0500
From: Alan Stone <alstone@fnal.gov>
To: ELOG@fnal.gov
Subject: New ELOG entry
A new entry has been submitted on nippon.fnal.gov:
Logbookcmsroc
AuthorAlan Stone
SystemAdmin
ReportNotify-CMSROC
Subjecttest email subject again
Logbook URLhttp://nippon.fnal.gov:8081/cmsroc/85
***************************************************
1) The subject is using some default, instead of capturing the $subject string (as
it does with Reply).
2) I want to control the output header "A new entry...".
3) The formatting of email body is awkward. For example, "AuthorAlan Stone"
should have at least a space, and maybe a hyphen or colon, "Author: Alan Stone"
Any help would be appreciated.
Thanks, Alan |