Re: Elogd service crashes on "reply" with percent character in subject line, posted by Mike Zuber on Thu Oct 14 17:50:56 2010
|
Stefan Ritt wrote: |
Mike Zuber wrote: |
My logbook kept crashing whenever I tried to reply to an existing entry. I found that the percent sign "%", when used in the subject line, will crash the elogd service when you try to reply to the entry. This appears to only happen with windows installations. I tested this on your Linux logbook and it didn't crash.
Here is the message taken from the Windows event viewer after the crash:
An unhandled win32 exception occurred in elogd.exe [5224].
Thank you for Elog, you have done a good job with it. It is a great logbook.
Mike
|
I could not reproduce your problem. I tried the very simple config file:
[Demo]
Attributes = Author, Subject
and the problem did not occur (see attachment). Can you try the most recent version (elog280-4.exe) with this simple configuration. Maybe you have a more complicated configuration which causes the problem. In that case please send it to me, so that I can reproduce the problem.
|
Thank you Stefan for your help on this. I am using version 2.8.0 built Aug 2, 2010 rev 2312. I tried your configuration file and the problem did not occur. Using my config file the elogd crashes using the % sign in the subject when replying to the entry. So the problem is something in my config file. After checking through my config file and remming out individual lines and testing, I found that the following statement is causing the problem:
Preset on reply subject = Re: $Subject
I was using this to put the "Re:" on the replies.
The only problem now is I don't get the "Re:" in the subject on replies. Am I doing something wrong to cause this? My config file is attached.
Thanks,
Mike |
Re: Action after message submission, posted by Mike Zuber on Tue Nov 30 19:30:31 2010
|
Stefan Ritt wrote: |
Mike Zuber wrote: |
Is it possible to automatically go back to the list view in summary mode after submitting a new message instead of displaying the new message?
I know it's possible to display a page from a file after submitting a new message by using "Submit Page = <file>".
It would be nice to be able to use a command like "Submit Page = <command>" where I could insert "?cmd=Back" as in the "Start page" command.
Thanks,
Mike
|
I just implemented a new flag "List after submit = 1" which does exactly this. It brings you to the summary page after the submission of a new entry. I needed the function myself. The change is SVN revision 2327 and will be contained in the next release.
|
Sorry so long getting back to you, Stefan. Just wanted to say "thank you". This new function works great! |
deleting the sole single entry in log causes crash with xrealloc, posted by Mike Stolove on Sat Oct 9 14:25:23 2004
|
When creating new logbooks, I will create a single entry to test the
configuration. After revising the configuration I want to delete that
single entry and create a new one based on the revised config.
elogd will crash every time upon deleting that single entry with an
xrealloc error. Here are the syslog entries leading up to the crash:
Oct 9 08:09:41 obstin8 elogd[20614]:
GET /Support/1?cmd=Delete&nextmsg=0&confirm=Yes HTTP/1.1^M Connection:
Keep-Alive^M User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux)
(KHTML, like Gecko)^M Referer: http://localhost:8080/Support/1?cmd=Delete^M
Accept: text/html, image/jpeg, image/png, text/*, image/*, */*^M
Accept-Encoding: x-gzip, x-deflate, gzip, deflate^M Accept-Charset:
iso-8859-1, utf-8;q=0.5, *;q=0.5^M Accept-Language: en^M Host:
localhost:8080^M Cookie: urem=0; upwd=dDRubjNyBDI=; unm=mstolove
Oct 9 08:09:41 obstin8 elogd[20614]: xrealloc: not enough memory
This is on a Slackware 10 box using kernel 2.6.7. Elogd is accessed
directly, not through an Apache proxy. |
Extra 'append on edit' action when adding attachment, posted by Mike Stolove on Thu Oct 14 16:33:51 2004
|
I have the following in a local logbook config:
append on edit = "\n\n[$date: $short_name]\n"
When I upload an attachment to an entry, it appears like the page is
getting refreshed in the browser and the 'append on edit' action is called
again. This results in two appended strings in the text entry, one for the
initial edit and one for the upload.
Is this by design or an inadvertent result of uploading an attachment?
My preferred handling of this - and perhaps a more intuitive behavior -
would be to have the append/prepend actions happen once and only once for
each edit or reply.
BTW Stephan, many thanks for the great program. |
Extra 'append on edit' action when adding attachment, posted by Mike Stolove on Thu Oct 14 16:33:51 2004
|
I have the following in a local logbook config:
append on edit = "\n\n[$date: $short_name]\n"
When I upload an attachment to an entry, it appears like the page is
getting refreshed in the browser and the 'append on edit' action is called
again. This results in two appended strings in the text entry, one for the
initial edit and one for the upload.
Is this by design or an inadvertent result of uploading an attachment?
My preferred handling of this - and perhaps a more intuitive behavior -
would be to have the append/prepend actions happen once and only once for
each edit or reply.
BTW Stephan, many thanks for the great program. |
Text Field color in Summary display, posted by Mike Jackson on Fri Apr 14 17:01:40 2006
|
Is it possible to have the text field be the same color as the other attributes in the summary display? What I mean is how each line is a different color, but the text field is always white. I would like the text field to match the rest. I changed the .summary in the css file but it changes all the text fields, it doesn't allow them to alternate colors like the other fields on the summary display |
log entries after a certain date not displayed - 3.1.1, posted by Mike Giles on Fri Nov 20 10:28:41 2015
|
Hi,
I'm having an issue with Elog 3.1.1 on windows 10 not displaying all log entries (after a certain date) in a logbook directory.
The logbook is saved in a Dropbox folder and the entries were created on a windows 8.1 PC with 3.1.1 also.
I created an entry in windows 10, this created a new log file (new day) with a duplicate ID, deleted the log file and then the windows 10 pc displayed all entries.
Is there any way to ensure Elogd picks up all log files ?
Thanks & Regards,
Mike
|
Re: log entries after a certain date not displayed - 3.1.1, posted by Mike Giles on Tue Nov 24 09:18:40 2015
|
Thanks very much for your comments. I will take a look at the mirror server functionality.
I have only been running one elogd at a time, restarting elogd (on Windows 10) doesn't seem to pick up the changes made on Windows 8.1 PC (stopped elogd after changes made and log file updated)
Mike
Stefan Ritt wrote: |
Besides the commen Andrea made I would like to add that you can convince elog to show all files if you simply restart it, then it will re-scan all files. But as Andreas said, if two elogd instances write to the same directory, you will get a mess with double IDs of entries.
Stefan
Mike Giles wrote: |
Hi,
I'm having an issue with Elog 3.1.1 on windows 10 not displaying all log entries (after a certain date) in a logbook directory.
The logbook is saved in a Dropbox folder and the entries were created on a windows 8.1 PC with 3.1.1 also.
I created an entry in windows 10, this created a new log file (new day) with a duplicate ID, deleted the log file and then the windows 10 pc displayed all entries.
Is there any way to ensure Elogd picks up all log files ?
Thanks & Regards,
Mike
|
|
|