ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66920
|
Thu Oct 14 17:50:56 2010 |
| Mike Zuber | mdz0739@yahoo.com | Bug report | Windows | 2.8 | Re: Elogd service crashes on "reply" with percent character in subject line |
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 |
Attachment 1: elogd.cfg
|
[global]
port = 8888
Theme = default
Guest menu commands = Login, Find, Help
Guest find menu commands = Login, Find, Help
List Commands = New, Find, Select, Last Day, Help
Menu commands = List, Edit, Delete, Reply, Duplicate, Help, Move to
Page title = PCC ELOG
Password file = _#####
Admin user = zubermd, Admin
Suppress Email to users = 1
Self register = 1
[PX-1]
Comment = PCC Logbook for PX-1
Display mode = summary
Attributes = Author, Date of Event, Type, Category, Callout, Subject
Preset Author = $long_name
; this attributes cannot be changed
Locked Attributes = Author
Options Type = PM, Project Work, Problem, Fix, Question, Info, Other
ROptions Callout = Yes, No
Preset Callout = No
Options Category = Hardware, Software, Other
Extendable Options = Category
Required Attributes = Subject, Type, Category
List Display = Date, Subject, Author
Type Date of Event = date
Preset Date of Event = $date
Time format = %m/%d/%Y, %H:%M
Page Title = ELOG - $subject
Reverse sort = 1
Thread display = $Subject, entered by $Author on $Entry time
;Preset on reply subject = Re: $Subject
Preset on reply author = $long_name
Quick filter = Date, Type, Category, Callout, Subtext
;users can only edit their own entries
Restrict edit = 1
|
66962
|
Tue Nov 30 19:30:31 2010 |
| Mike Zuber | mdz0739@yahoo.com | Question | Windows | 2.8 | Re: Action after message submission |
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! |
717
|
Sat Oct 9 14:25:23 2004 |
| Mike Stolove | mstolove@rogers.com | Bug report | Linux | 2.5.4-5 | deleting the sole single entry in log causes crash with xrealloc | 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. |
734
|
Thu Oct 14 16:33:51 2004 |
| Mike Stolove | mstolove@rogers.com | Request | Linux | 2.5.4-5 | Extra 'append on edit' action when adding attachment | 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. |
731
|
Thu Oct 14 16:33:51 2004 |
| Mike Stolove | mstolove@rogers.com | Request | Linux | 2.5.4-5 | Extra 'append on edit' action when adding attachment | 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. |
1809
|
Fri Apr 14 17:01:40 2006 |
| Mike Jackson | jacksonmf@hotmail.com | Question | Windows | 2.6.1 | Text Field color in Summary display | 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 |
68194
|
Fri Nov 20 10:28:41 2015 |
| Mike Giles | mike.giles@gmx.com | Question | Windows | 3.1.1 | log entries after a certain date not displayed - 3.1.1 | 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
|
68201
|
Tue Nov 24 09:18:40 2015 |
| Mike Giles | mike.giles@gmx.com | Question | Windows | 3.1.1 | Re: log entries after a certain date not displayed - 3.1.1 | 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
|
|
|
|