ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
2039
|
Fri Nov 3 14:40:36 2006 |
| David Spindler | dsspindler@gmail.com | Bug report | Windows | 2.6.2-1734 | Re: Bug? Password file location changed |
Steve Jones wrote: |
David Spindler wrote: |
David Spindler wrote: | I just tried to upgrade from 2.6.1-1633 to 2.6.2-1734. Whenever I tried to access the elog, it showed my password to be invalid. I tried this on 2 machines and same results. I did notice on the second one when I started it from a command prompt that it was creating a new empty password file in a different location.
I have a password file called pwd.txt. It resides in the main elog directory, in my case, c:\elog, along with the elgod.exe and elogd.cfg. Apparently, the new version looks for it in the logbooks directory. I adjusted my path to the file and it works fine.
I am reporting this as a bug because it is my guess that this is not an expected result. I would expect the old elogd.cfg file to work without altering in the newer version.
Thanks, keep up the great work, Stefan. You have a great program.
David Spindler |
I also just noticed that the text files I use for presetting the text window also have to be in the logbooks directory. |
Quote: | The relocation was a documented change that Stefan made intentionally. Yes, it caught me too  |
|
Thanks. I checked the changelog and the documentation for any such changes but did not see them. I just looked again, and still do not see them. Anyway, I know what to expect, now, and will adjust. Again, thanks! |
2048
|
Tue Nov 7 09:22:52 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Windows | 2.6.2-1734 | Re: Bug? Password file location changed |
David Spindler wrote: | Thanks. I checked the changelog and the documentation for any such changes but did not see them. I just looked again, and still do not see them. Anyway, I know what to expect, now, and will adjust. Again, thanks! |
That change was actually made in SVN revision 1708 on Aug. 1st, 2006, which was after the release of 2.6.2. So it will be made official in 2.6.3 and documented accordingly. |
69364
|
Tue May 4 15:24:56 2021 |
| Sebastian Schenk | sebastian.schenk@physik.uni-halle.de | Bug report | Linux | 3.1.2 | Re: Bug: "Append on edit" triggers too often | I can confirm the issue also for "prepend on edit".
To be more precise, it gets executed everytime the condition state changes, if placed in the config without condition, or if placed in a condition, everytime the condition gets activated.
Faith wrote: |
The command "Append on edit = " is getting executed everytime, when a dropdown menu is changed. This happens even at the first creation of an entry, so the append text stucks up multiple times in the text body.
|
|
68668
|
Mon Aug 21 12:16:05 2017 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Bug report | All | 3.1.3-aded4ae | Re: Bug with Drafts and Language German | I've quickly checked: there are a couple more commands in the source code that are not language encoded. I guess some of them needs correction.
> egrep -n "cmd=[A-Za-z]" elogd.c
10293: rsprintf(" r.open('GET', '?jcmd=Unlock&edit_id=%d', true);\n", message_id);
11784: ("<label for=\"ELCode\"><a target=\"_blank\" href=\"?cmd=HelpELCode\">ELCode</a> </label>\n");
13663: "\r\n%s URL : %s?cmd=Config&cfg_user=%s&unm=%s\r\n", loc("Logbook"),
14562: redirect(lbs, "?cmd=Config");
14625: sprintf(str, "../%s/?cmd=Config", getparam("lbname"));
14678: sprintf(str, "../%s/?cmd=Config", lbn);
15703: combine_url(lbs, host, "?cmd=GetMD5", url, sizeof(url), &ssl);
16378: strcat(str, "?cmd=GetConfig"); // request complete config file
16380: strcat(str, "?cmd=Download"); // request config section of logbook
16570: strcat(str, "?cmd=GetPwdFile"); // request password file
17575: rsprintf("<br><b><a href=\"../%s/?cmd=Synchronize&confirm=1\">", lbs->name_enc);
17577: rsprintf("<br><b><a href=\"%s/?cmd=Synchronize&confirm=1\">", lbs->name_enc);
17579: rsprintf("<br><b><a href=\"../%s/?cmd=Synchronize&confirm=1\">", lbs->name_enc);
18959: if (strstr(ref, "cmd=Search&"))
18960: strlcpy(strstr(ref, "cmd=Search&"), strstr(ref, "cmd=Search&") + 11, sizeof(str));
26728: rsprintf("<a href=\"?cmd=Synchronize\">%s</a></td>\n", loc("Synchronize all logbooks"));
Andreas Luedeke wrote: |
Hi Stefan,
when one creates a new entry, and a draft entry exists for the logbook, then a menu appears (see attachment).
If one select "Neuen Eintrag anlegen" then it should ignore the draft and create a new entry.
This feat is done by adding a "&ignore=1" to the "new" command: "<URL>/?cmd=New&ignore=1".
The problem is, that it should not be "cmd=New&..." but "cmd=Neu", since the commands are part of the translation.
Due to this, no new entry can be created as long as a draft exists; at least not in any language other than english.
This problem apparently existed since the beginning of drafts, but it only created problems at our site recently.
Kind Regards
Andreas
PS: Here's a patch that works:
diff elogd.c elogd.c-orig
9575,9576c9575,9576
< rsprintf("<input type=button value=\"%s\" onClick=\"window.location.href='?cmd=%s&ignore=1';\">\n", loc("Create new entry"),
< loc("New"));
---
> rsprintf("<input type=button value=\"%s\" onClick=\"window.location.href='%s';\">\n", loc("Create new entry"),
> "?cmd=New&ignore=1");
|
|
373
|
Tue Jun 17 12:52:34 2003 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 2.3.8 | Re: Bug Found | > Correct Way prior to 2.3.8
>
> http://192.168.0.1:99/Provisioning%20Request/35
>
> Broken way with new version
>
> http://192.168.0.1:99/Provisioning Request/35
Exactly this problem has been fixed between 2.3.7 and 2.3.8, so can it be
that you mixed up these two versions? To be precise, the fix happend in
Revision 1.113 from 2003/06/04 08:17:35. So are you sure that you use a
version of elogd after that modification? I tried to reproduce your problem
with the official 2.3.8 version, but I got the correct result. |
377
|
Fri Jun 20 10:40:43 2003 |
| nickc1 | nick@nick.com | Bug report | Linux | 2.3.8 | Re: Bug Found | > > Correct Way prior to 2.3.8
> >
> > http://192.168.0.1:99/Provisioning%20Request/35
> >
> > Broken way with new version
> >
> > http://192.168.0.1:99/Provisioning Request/35
>
> Exactly this problem has been fixed between 2.3.7 and 2.3.8, so can it be
> that you mixed up these two versions? To be precise, the fix happend in
> Revision 1.113 from 2003/06/04 08:17:35. So are you sure that you use a
> version of elogd after that modification? I tried to reproduce your
problem
> with the official 2.3.8 version, but I got the correct result.
Im using the plain RPM from 2.3.8, i uninstalled the 2.3.7 RPM before this
upgrade, the only thing I kept was my own stylesheets and the config file.
One thing I just noticed is that if you dont have the URL statement set
under global properties, some machines quote the hostname of the machine at
which point this breaks the link. if you define the URL to the IP address
the problem goes away.
However even without the URL setting undefined, it works for some people
but not for others, I tried from 2 seperate machines and got 2 lots of
results, so I suspect it might be DNS related somewhere along the lines. |
378
|
Mon Jun 23 10:53:55 2003 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 2.3.8 | Re: Bug Found | > Im using the plain RPM from 2.3.8, i uninstalled the 2.3.7 RPM before this
> upgrade, the only thing I kept was my own stylesheets and the config file.
>
> One thing I just noticed is that if you dont have the URL statement set
> under global properties, some machines quote the hostname of the machine at
> which point this breaks the link. if you define the URL to the IP address
> the problem goes away.
>
> However even without the URL setting undefined, it works for some people
> but not for others, I tried from 2 seperate machines and got 2 lots of
> results, so I suspect it might be DNS related somewhere along the lines.
The only place I can see this problem could arise from is the "Referer:"
statement in the HTTP header. This is sent by the browser to elogd, so if the
included URL contains a blank, this could cause the problem in case no "URL"
statement is present in elogd.cfg. Can you please run "elogd -v" to see the
communication betwen elogd and your browser and check this? Maybe it depends
from the browser, or even from the history of previous accesses. If you
confirm that the "Referer:" statement contains blanks, I can put in a fix. |
2150
|
Thu Mar 1 22:19:22 2007 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Windows | V2.6.3-176 | Re: 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 
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  |
|