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 |
[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
|