Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 734 of 796  Not logged in ELOG logo
IDdown Date Icon Author Author Email Category OS ELOG Version Subject
  536   Mon May 10 21:57:49 2004 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.5.2Re: Extendable options
> the use of extendable options in the global section seem to "crash" elogd 
> when creating a new entry.
> My elogd.cfg is included
> the problem attribute is "Client"
> Should it be possible to have it extendable only in one specific logbook ?

Actually it was never foreseen to have extendable options in the [global]
section. I added now this functionality. The new windows version can be obtained
under

http://midas.psi.ch/elog/download/windows/elogd-snapshot.exe
  535   Mon May 10 00:00:06 2004 Warning Marc Neigerm.neiger@synergie-inf.comBug reportWindows2.5.2Extendable options
Hi,

the use of extendable options in the global section seem to "crash" elogd 
when creating a new entry.
My elogd.cfg is included
the problem attribute is "Client"
Should it be possible to have it extendable only in one specific logbook ?

Are extendable and conditionnal "compatible" on the same set of attributes ?

Cheers,
Marc
Attachment 1: elogd.cfg
[global]
logbook tabs = 1
port = 8081
; on reste en anglais car les textes francais sont trop longs
;Language = french
Date format = %d/%m/%y %H:%M
Password file = passwords.txt
Login expiration = 24
Self register = 0

SMTP host = archie.gsi.synergie-inf.com
Suppress Email to users = 1

; attributs communs
Options Client = CE Astrium, Cofogar, Deco Ouest, GA, Mairie StO, RTS, Subra, Swap-Data
Extendable options = Client

[Routeurs]
Theme = default
Comment = Gestion des routeurs
Attributes = Author, Client, Equipment, Category, Summary
Preset Author = $short_name
Options Category = Modification, Update, Correction, Installation, Autre
Required Attributes = Client, Equipment, Category
Locked Attributes = Author
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Client, Equipment, Category

[Liste Routeurs]
Theme = default
Comment = Liste des routeurs
Attributes = Client, Equipment, EqType, HostName
Required Attributes = Client, Equipment, EqType
Options EqType = FWL1, FWL2, VPN1, VPN2
Page Title = Equipement - $Equipment
Quick filter = Client, EqType
Menu commands = Back, New, Edit, Delete, Find, Help
Summary lines = 6

[Problems]
Theme = default
Comment = Problemes et Knowledgebase
Attributes = Author, PbType, PbStatus, Priority, Client, Equipment, Description
Options PbType = Event, System, Applic, Other
Options PbStatus = Reported, Confirmed, Investigating, Testing, Solved, Suspended
Options Priority = 1 Critical, 2 Urgent, 3 Normal, 4 Background, 5 Low
Required Attributes = Author, PbType, PbStatus, Priority, Description
Quick Filter = Author, PbStatus, PbType
Locked Attributes = Author
Fixed Attributes Reply = PbType
Preset Author = $short_name
Display mode = threaded
Reverse Sort = 1
Quote On Reply = 0

[ProblemsA]
Theme = default
Comment = Problemes et Knowledgebase, single entry
Attributes = Author, PbType, PbStatus, Revisions, Priority, Client, Equipment, Description
Options PbType = Event, System, Applic, Other
Options PbStatus = Reported, Confirmed, Investigating, Testing, Solved, Suspended
Options Priority = 1 Critical, 2 Urgent, 3 Normal, 4 Background, 5 Low
Required Attributes = Author, PbType, PbStatus, Priority, Description
Quick Filter = Author, PbStatus, PbType
Locked Attributes = Author, Revisions
Fixed Attributes Reply = PbType
Preset Author = $short_name
Menu commands = Back, New, Edit, Delete, Find, Help
Reverse Sort = 1
Subst on Edit Revisions = $Revisions
$date par $short_name
  534   Wed May 5 17:38:12 2004 Reply Stefan Rittstefan.ritt@psi.ch Linux2.5.2Re: safari browser issue
> we've experienced a problem when using the safari browser to do a search in
> our elog. whenever you do a search, the logbook returns an error and the
> elog deamon crashes. when we first experienced this problem we were running
> version 2.3.9. however, an upgrade to version 2.5.2 doesn't seem to fix the
> problem. searches with other browsers (mozilla, internet explorer, ...) go
> off without a hitch.
> has anyone else observed a similar problem or have any ideas on how to
> resolve this issue.
> thanks for the help.

I finally found some time to address this problem. It was related to the way I
do the page redirection. The "Location:" in the HTTP header used a relative
path, although the standard requires an absolute (full) path, which I just
discovered. Although most browsers accept a relative path, the safari browser
obviously does not. 

I changed the redirection to absolute paths, the new version can be obtained
via CVS.
  533   Sat May 1 00:21:20 2004 Idea Stefan Rittstefan.ritt@psi.chQuestionOther2.5.2Re: CSV importing
I implemented the feature to import the main entry text body from a CSV column labeled
"text". Please see the newest release
(http://midas.psi.ch/cgi-bin/cvsweb/elog/src/elogd.c?rev=1.319) and let me know if this
works for you.

I had to add code to break apart long text bodies after 78 characters in order not to
get too long lines. Please note that the maximum body size in the CSV import is limited
to 500 characters.
  532   Fri Apr 30 21:26:32 2004 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.5.2Re: can attrinute fields contain more that one line
> Is there any way to configure elog so that attribute fields can be edited 
> on more than line like the 'text' field? 
> 
> (This would be useful so that attributes could contain larger portions of 
> text including line breaks)

No, but this request is already on the wishlist
(http://midas.psi.ch/elog/wishlist.html) since some time. I added your vote.
  531   Fri Apr 30 12:58:54 2004 Reply Paul Harringtonpaul.harrington@oup.comQuestionOther2.5.2Re: CSV importing
> > However I'd like to import data from the CSV file, directly to the 'text' 
> > field, rather than just to one an attribute fields. Is it possible to do 
> > this?
> 
> Not yet, but I can implement it. Do you always have a column "text" in your
> CSV data or would you like to be able to select which column goes into the
> "text" field? Can you apend some sample CSV data so that I can have a look at it?

I've been trying an alternative approach which is basically to :

1. Import the data (not including the text field) into elog from a CSV file
2. Stop the elog server
3. Use a perl script to add each text entry to the appropriate record within the 
logbook file. 
(I.e. between the =============================== of the appropriate entry
and the next  '
  530   Tue Apr 27 17:40:25 2004 Question Paul Harringtonpaul.harrington@oup.comQuestionWindows2.5.2can attrinute fields contain more that one line
Is there any way to configure elog so that attribute fields can be edited 
on more than line like the 'text' field? 

(This would be useful so that attributes could contain larger portions of 
text including line breaks)

thanks

Paul
  529   Fri Apr 23 13:47:40 2004 Reply Stefan Rittstefan.ritt@psi.chQuestionOther2.5.2Re: CSV importing
> However I'd like to import data from the CSV file, directly to the 'text' 
> field, rather than just to one an attribute fields. Is it possible to do 
> this?

Not yet, but I can implement it. Do you always have a column "text" in your
CSV data or would you like to be able to select which column goes into the
"text" field? Can you apend some sample CSV data so that I can have a look at it?
ELOG V3.1.5-2eba886