Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 193 of 806  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  2137   Fri Feb 16 17:01:45 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | WindowsV2.6.3-177Re: About Extendable

bob wrote:
Hi,

I have a problem and I do not understand why

my config is

"
{tdl} Show Attributes = De, He, Auteur, Ten, TDL
{tdl} Options TDL = de, fr, gt
{tdl} Extendable Options = TDL
"

I play with {tdl}, i add TDL (toto),

and after that, i open my config:

"{tdl} Show Attributes = De, He, Auteur, Ten, TDL
{tdl} Options TDL = de, fr, gt, toto, toto
{tdl} Extendable Options = TDL
"
And my preview is wrong !!

why 2 * toto thus?

thanks a lot

Bob


I tried it myself and did not get two "toto"'s. Maybe you hit "Submit" twice or so? One thing I would recommend however is not to name an attribute "TDL" and a condition {tdl} the same. And also make sure you have the newest version of elog. I remember there was once a problem with the "Preview" button adding extended attributes more than once.
  2138   Fri Feb 16 17:14:53 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.3-1762Re: Setting From: for registration/password e-mails

Stefan Ritt wrote:
Right. The logic in the program and the documentation disagreed. The program uses the "Use Email From" address always if it's there, while the documentation gives preference to the user's email address. I change that in the program so that it agrees with the documentation. The modification is in SVN revision 1789 and will be contained in the upcoming next release.


Actually I had to change it once more. Some installations do want to have always a pre-defined email address, such as this forum, which uses noreply@psi.ch. So I added a new option Default Email From. The precedence is now in decreasing order

  • Use Email from
  • user's email address
  • Default Email from

So only when a user is not logged in, the Default Email from setting is used if present.
  2139   Fri Feb 16 17:19:30 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | WindowsV2.6.3-177Re: Required and {}

bob wrote:
generally, can one handle "Required" and "{}" or "{ , }", ...


For simple configuration files, that should work. If I have for example:
Attributes = Author, Type, Category, Subject
Options Type = Routine{r}, Software Installation{s}, Problem Fixed{p}, Configuration, Other

{r} Required Attributes = Author

Then the attributes "Author" is only required if "Type" equals "Routine".
  2141   Mon Feb 19 11:29:03 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.3-1762Re: Preset of a drop-down box entry with a "%" character

Tobias Bagger wrote:
How do I preset a drop-down box entry which contains a % character?


The problem was that '%' is used in auto-generated preset tags like XYZ-%Y-%b-### (see documentation). I made the auto-generation a bit more clever such that it only tries to interprete any '%' if there is any '#'. The fix is in elog version 2.6.4.
  2142   Mon Feb 19 20:46:39 2007 Reply bobbobgrang@yahoo.frQuestionLinux | WindowsV2.6.3-177Re: Required and {}

Stefan Ritt wrote:

bob wrote:
generally, can one handle "Required" and "{}" or "{ , }", ...


For simple configuration files, that should work. If I have for example:
Attributes = Author, Type, Category, Subject
Options Type = Routine{r}, Software Installation{s}, Problem Fixed{p}, Configuration, Other

{r} Required Attributes = Author

Then the attributes "Author" is only required if "Type" equals "Routine".



you are right, I try to re-examine my configuration and I will say to you
  2144   Tue Feb 20 21:10:28 2007 Reply Stefan Rittstefan.ritt@psi.chCommentLinux2.6.4Re: Hardcoded Path in Makefile

Martin Killenberg wrote:
I tried to compile ELOG on Scientific Linux Cern 4.4 and found that make quits because uname is not located in /usr/bin (like it is hardcoded in the makefile) but in /bin.
Later I found that this is only the case in the svn version, in the "latest.tar.gz" from 2007/02/20 the path is /bin.
Why do you have the absolute path in the Makefile? uname should be in the default path on any system. (The same applies to "rm")

I also was confused that you only provide one rpm Package (except for debian) without mentioning for which distribution. You try to avoid dependencies, but the elogd is linked against the basic libraries libc and ld-linux, which might vary.


Ups. The hard-coded /usr/uname somehow sneaked in from some temporary test. I removed it in the current SVN.

Indeed the RPM package I provide is built under Scientific Linux. The Debian port is done by someone else. Unfortunately I don't have ten boxes with all possible distributions laying around, so my possibilities are quite limited and I depend on third party help. If you want to contribute additional RPMs you are welcome.
  2149   Thu Mar 1 22:10:11 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.4.1801Re: Conditional Email Notification by a text file

An Thai wrote:

Dear Stefan,
could you enable it for the install download file for Windows?


I tried, but it does not work. A windows service does not let you start a internal command line shell. No way. Use Linux Wink
  2150   Thu Mar 1 22:19:22 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportWindowsV2.6.3-176Re: Bug

Robert-Jan Schrijvers wrote:
when i was editting my Admin file, by mistake i typed the next line:

[a}Options Sessies = p-zis-pr1{1}, p-szh-pro{2}, p-dia-pro{3}, a-zis-ac1{1}, a-zis-ac2{2}, a-dia-acc{3}, ---------------------, Anders
{b} Options Sessies = FSC Pro{4}, FSC Acc{4}, Risc/Bus/Sms Pro{5}, Risc/Bus/Sms Acc{5}, ---------------------, Anders
{c} Options Sessies = BAO, BEH, BAOMPSO, BEHMPSO, Demonstrator, AFS, PTG, BSN, ---------------------, Anders
{d} Options Sessies = Wijziging, Storing


the next thing happened was that eLog created a new log which wasn't editable at all, the only thing i could do was deleting it (i created a monster...;-)
The first line/rule with the [ become the title, all other entries in the Admin file were used as a new Admin file.


You shot yourself in the foot Wink

I agree that a clever syntax check on the config file would be nice, but it's very hard to imagine how many mistakes humans (including myself) can do, I would probably never catch all possible wrong cases. Giving my limited time, I will more work on new features and kindly ask you to be a bit careful in what you enter. I'm absolutely sure you will never make this mistake again Big grin
ELOG V3.1.5-3fb85fa6