ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66995
|
Thu Jan 20 08:52:43 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | All | 2.8.0 | Re: New entries are not visible from other logbooks based on the same logbook dir through Subdir |
JacekK wrote: |
Hi,
I have two logbooks based on the same data directory through "Subdir" option and when I add new entry in one logbook, then that entry is not visible in other logbook.
I suppose it is a bug in el_submit function, where I think the new message should be added to message index of every logbook based on the same data directory as the one, where the message was physically created.
There is a piece of code, which I think should do this automatically
/* if other logbook has same index, update pointers */
but it seems the other logbooks does not have the same index.
I'm new to elog and the sources are also new to me, so my guess to the ground of the problem may be wrong.
Let me know is this bug possible to fix in near future.
Best regards,
Jacek
|
Well, having two logbooks in the same subdirectory was initially a planned feature but really never worked. I re-visited this issue and made it working in the current SVN version. So the next release will contain the fix. |
66994
|
Thu Jan 20 08:51:13 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | V2.8. | Re: Modification aren't accepted |
David Pilgram wrote: |
Let me report when I see this behaviour.
If I use a text editor on elog.cfg directly, while elog is running, then when I save the file, the new elog.cfg is in place,
but the running elog is still running with the old configuration. You have to restart elog for it to read the new config file and
use the new settings.
This does not apply if you edit elog.cfg via the "config" option in the menu command, where elog will read the new elog.cfg
just after it has been saved.
The reason I sometimes edit the file directly is if I want to create a new logbook, but with all the configuration of another logbook,
and it's quickest to cut-and-paste, change the heading, create a new directory and restart elog.
This may be completely off what is being reported.
|
Minor changes you do externally to the elogd.cfg file are reflected immediately under Windows (under Linux you have to send a HUP signal to the process to re-read the configuration). But if you make major changes like adding a new logbook, you have to restart elogd. |
66993
|
Wed Jan 19 18:19:49 2011 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Windows | V2.8. | Re: Modification aren't accepted |
bob wrote: |
Stefan Ritt wrote: |
bob wrote: |
hello,
At home, when I change the config *. cfg, the modifications are not taken in consideration
Have you got a idea ?
Thanks a lot ! 
Bob
|
Not really, you are the first one reporting this issue. Just some thoughts:
- Can you see the changes if you look at elogd.cfg with a text editor such as notepad?
- Some write protection of elogd.cfg
- Do you have more than one server running at the same time and changing the wrong one's config?
- Stefan
|
>- Can you see the changes if you look at elogd.cfg with a text editor such as notepad?
I change the configuration directly on elogd.cfg, (after i save and update my web page, and i not modification immediately)
>- Some write protection of elogd.cfg
no
- Do you have more than one server running at the same time and changing the wrong one's config?
i have one server with elog
|
Let me report when I see this behaviour.
If I use a text editor on elog.cfg directly, while elog is running, then when I save the file, the new elog.cfg is in place,
but the running elog is still running with the old configuration. You have to restart elog for it to read the new config file and
use the new settings.
This does not apply if you edit elog.cfg via the "config" option in the menu command, where elog will read the new elog.cfg
just after it has been saved.
The reason I sometimes edit the file directly is if I want to create a new logbook, but with all the configuration of another logbook,
and it's quickest to cut-and-paste, change the heading, create a new directory and restart elog.
This may be completely off what is being reported. |
66992
|
Wed Jan 19 16:19:56 2011 |
| bob | bobgrang@gmail.com | Question | Windows | V2.8. | Re: Modification aren't accepted |
Stefan Ritt wrote: |
bob wrote: |
hello,
At home, when I change the config *. cfg, the modifications are not taken in consideration
Have you got a idea ?
Thanks a lot ! 
Bob
|
Not really, you are the first one reporting this issue. Just some thoughts:
- Can you see the changes if you look at elogd.cfg with a text editor such as notepad?
- Some write protection of elogd.cfg
- Do you have more than one server running at the same time and changing the wrong one's config?
- Stefan
|
>- Can you see the changes if you look at elogd.cfg with a text editor such as notepad?
I change the configuration directly on elogd.cfg, (after i save and update my web page, and i not modification immediately)
>- Some write protection of elogd.cfg
no
- Do you have more than one server running at the same time and changing the wrong one's config?
i have one server with elog |
66991
|
Wed Jan 19 16:10:58 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | V2.8. | Re: Modification aren't accepted |
bob wrote: |
hello,
At home, when I change the config *. cfg, the modifications are not taken in consideration
Have you got a idea ?
Thanks a lot ! 
Bob
|
Not really, you are the first one reporting this issue. Just some thoughts:
- Can you see the changes if you look at elogd.cfg with a text editor such as notepad?
- Some write protection of elogd.cfg
- Do you have more than one server running at the same time and changing the wrong one's config?
- Stefan |
66990
|
Wed Jan 19 16:03:38 2011 |
| bob | bobgrang@gmail.com | Question | Windows | V2.8. | Modification aren't accepted | hello,
At home, when I change the config *. cfg, the modifications are not taken in consideration
Have you got a idea ?
Thanks a lot ! 
Bob |
66989
|
Wed Jan 19 14:47:15 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 2.8.0-2313 | Re: elog command creates always UTF-8 encoded entries | > If I create an entry via the web-interface, the defined encoding of the browser is used.
> If I create an entry via "elog", it is always stored in UTF-8 encoding.
> For the text I can overcome that with HTML encoding, but for attribute values the encoding does not show properly.
> The only solution I found was to convert the whole logbook to UTF-8 encoding:
>
> define "charset=UTF-8" in elogd.cfg
> iconv --from-code=ISO-8859-1 --to-code=UTF-8 elogd.cfg >tmp;mv tmp elogd.cfg
> iconv --from-code=ISO-8859-1 --to-code=UTF-8 resources/eloglang.german >tmp;mv tmp resources/eloglang.german
>
> Has anyone any idea why ISO8859-1 does not work for me?
>
> Or can anyone advice me of an editor similar to NEdit that is capable to display UTF-8? :-)
I just tried it submitting to the Demo logbook:
https://midas.psi.ch/elogs/Linux+Demo/15
using some German Umlauts, and saw that it works fine. "elog" does not do any conversion, just submits the text as is.
If your text is ISO-8859-1 encoded, it will be submitted as such, and your browser will correctly display it. Have you
tried removing the "charset=UTF-8" from your elogd.cfg? |
66988
|
Wed Jan 19 13:30:48 2011 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Bug report | Linux | 2.8.0-2313 | elog command creates always UTF-8 encoded entries | If I create an entry via the web-interface, the defined encoding of the browser is used.
If I create an entry via "elog", it is always stored in UTF-8 encoding.
For the text I can overcome that with HTML encoding, but for attribute values the encoding does not show properly.
The only solution I found was to convert the whole logbook to UTF-8 encoding:
define "charset=UTF-8" in elogd.cfg
iconv --from-code=ISO-8859-1 --to-code=UTF-8 elogd.cfg >tmp;mv tmp elogd.cfg
iconv --from-code=ISO-8859-1 --to-code=UTF-8 resources/eloglang.german >tmp;mv tmp resources/eloglang.german
Has anyone any idea why ISO8859-1 does not work for me?
Or can anyone advice me of an editor similar to NEdit that is capable to display UTF-8? :-) |
|