erroneus encoding, posted by Emiliano Gabrielli on Tue Feb 8 13:00:40 2005
|
elog sends wrong HTTP headers, charset is empty and not separed from the
next one "Connection: Keep-Alive ... this bug tells the browser that the
encoding is "connection:" ... that is wrong.
root@emc2:/home/albert# GET -USde http://midas.psi.ch/elogs/Forum/
GET http://midas.psi.ch/elogs/Forum/
User-Agent: lwp-request/2.06
GET http://midas.psi.ch/elogs/Forum/ --> 200 Document follows
Connection: close
Date: Tue, 08 Feb 2005 11:54:40 GMT
Pragma: no-cache
Server: ELOG HTTP 2.5.6-2
Content-Type: text/html;charset=Connection: Keep-Alive
Expires: Fri, 01 Jan 1983 00:00:00 GMT
.....
....
this is the problem from validator point of viev:
http://validator.w3.org/check?uri=http%3A%2F%2Fmidas.psi.ch%2Felogs%2FForum%2F&charset=%28detect+automatically%29&doctype=%28detect+automatically%29&ss=1&verbose=1 |
Re: erroneus encoding, posted by Emiliano Gabrielli on Tue Feb 8 15:41:55 2005
|
the following patch corrects the problem, plz apply :
--- elogd.c 2005-02-03 16:46:10.000000000 +0100
+++ elogd_albert.c 2005-02-08 15:40:36.000000000 +0100
@@ -6178,7 +6178,7 @@
if (getcfg("global", "charset", str, sizeof(str)))
rsprintf("Content-Type: text/html;charset=%s\r\n", str);
else
- rsprintf("Content-Type: text/html;charset=%S\r\n", DEFAULT_HTTP_CHARSET);
+ rsprintf("Content-Type: text/html;charset=%s\r\n", DEFAULT_HTTP_CHARSET);
if (use_keepalive) {
rsprintf("Connection: Keep-Alive\r\n");
@@ -11267,7 +11267,7 @@
rsprintf("Server: ELOG HTTP %s\r\n", VERSION);
rsprintf("Accept-Ranges: bytes\r\n");
rsprintf("Connection: close\r\n");
- rsprintf("Content-Type: text/plain;charset=%S\r\n", DEFAULT_HTTP_CHARSET);
+ rsprintf("Content-Type: text/plain;charset=%s\r\n", DEFAULT_HTTP_CHARSET);
rsprintf("Pragma: no-cache\r\n");
rsprintf("Expires: Fri, 01 Jan 1983 00:00:00 GMT\r\n\r\n"); |
Re: erroneus encoding, posted by Stefan Ritt on Sat Feb 12 17:31:46 2005
|
> elog sends wrong HTTP headers, charset is empty and not separed from the
> next one "Connection: Keep-Alive ... this bug tells the browser that the
> encoding is "connection:" ... that is wrong.
This has to do with the "%S" vs. "%s" bug described elsewhere in this forum.
I fixed that. The validator link above now also reports error free. |
Page not found after login or create useraccount, posted by Rob de Bruin on Tue Feb 8 10:38:39 2005
|
best all,
I'm having trouble with redirecting after creating an account or login.
For example when i create an account with an Admin user when i click on
Save i recieve the following error:
Error finding page!
And this is what de browser address tels me.
http://192.168.71.26/ZC004/?
cmd=Save&new_user_name=zcpvenema&new_full_name=Peter+Venema&new_user_email=p
venema@zernike.nl&email_notify=all&newpwd=123456&newpwd2=123456
But when i remove the line frome the ? and than press enter then i'll while
be able to just elog again.
here is my Global cfg file setting.
What did i do wrong??
########################################
Port = 80
Grp = elog
Usr = elog
Password file = /usr/local/elog/elog-2.5.6/passwd
User login = /usr/local/elog/elog-2.5.6/passwd
Admin user = rdbruin
Resource dir = /usr/local/elog/elog-2.5.6/
Logbook dir = /usr/local/bin/logbooks/
time format = %d %B %Y %H:%M
SMTP host = smtp.xs4all.nl
Main tab = Startpagina
Page Title = Logboeken Zernike College
IOptions Icon = icon1.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif,
icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
Submit page = /usr/local/elog/elog-2.5.6/bericht
Attributes = Author, Type, Category, Subject, Owner, Email
Group Zernike college = Desktops, Servers, Printers, Ribox, Switches,
Routers, Algemeen, Documentatie, XafaX
Options OS = Windows XP, Novell, Windows 2003, Windows 2000, Windows 98
Options Type = Software, Hardware, Besturingssysteem, Monitor
Group Desktops = Harmjan, Helperbrink, Julianalaan, Rummerinkhof,
Westersedrift
Group Helperbrink = ZC004, ZC006, ZC026, ZC155, ZC209, ZC241, ZC246, ZC247,
ZC248, ZC267, ZC288, ZC307, ZC308, ZC446, ZC475, ZC600, ZC601, ZC602,
ZC603, ZC604, ZC605, ZC606, ZC607, ZC608, ZC609, ZC610, ZC611, ZC612,
ZC613, ZC614, ZC615, ZC616, ZC617, ZC618, ZC619, ZC620, ZC621, ZC622,
ZC623, ZC624, ZC625, ZC626, ZC627, ZC628, ZC629, ZC630, ZC631, ZC632,
ZC633, ZC634, ZC635, ZC636, ZC637, ZC638, ZC639, ZC640, ZC641, ZC642,
ZC643, ZC644, ZC645, ZC646, ZC647, ZC648, ZC649, ZC650, ZC651, ZC652,
ZC653, ZC654, ZC655, ZC656, ZC657, ZC658, ZC659, ZC660, ZC662, ZC708,
ZC712, ZC707, ZC711, ZC900, ZC901, ZC902, ZC903, ZC904, ZC905, ZC906,
ZC907, ZC908, ZC909, ZC910, ZC911, ZC912, ZC913, ZC914, ZC915, ZC916,
ZC917, ZC918, ZC919, ZC920, ZC921, ZC922, ZC923
Group Servers = HJZ1, HPB2, HRN1, HRN2, RHF1, ZDL1, ZC-ROOT1, ZC-ROOT2
Group Ribox = HPB, HJZ, HRN, WD, ZDL
Group Printers = HP, Canon
Group HP = 4L, 6L, 2100, 4000, 4050, 4550 kleur, 8000
Group Documentatie = Administratief, Educatief, Systeembeheer, Software,
Hardware
Group Xafax = Pasjes, Chipnet, Smartprinter, Docs
################################################### |
Re: Page not found after login or create useraccount, posted by Rob de Bruin on Tue Feb 8 11:04:18 2005
|
As you can see the password is also visable in the addressbar??
> best all,
>
> I'm having trouble with redirecting after creating an account or login.
> For example when i create an account with an Admin user when i click on
> Save i recieve the following error:
> Error finding page!
> And this is what de browser address tels me.
>
> http://192.168.71.26/ZC004/?
> cmd=Save&new_user_name=zcpvenema&new_full_name=Peter+Venema&new_user_email=p
> venema@zernike.nl&email_notify=all&newpwd=123456&newpwd2=123456
>
> But when i remove the line frome the ? and than press enter then i'll while
> be able to just elog again.
>
> here is my Global cfg file setting.
>
> What did i do wrong??
>
> ########################################
>
> Port = 80
> Grp = elog
> Usr = elog
> Password file = /usr/local/elog/elog-2.5.6/passwd
> User login = /usr/local/elog/elog-2.5.6/passwd
> Admin user = rdbruin
> Resource dir = /usr/local/elog/elog-2.5.6/
> Logbook dir = /usr/local/bin/logbooks/
> time format = %d %B %Y %H:%M
> SMTP host = smtp.xs4all.nl
> Main tab = Startpagina
> Page Title = Logboeken Zernike College
> IOptions Icon = icon1.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif,
> icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
> Submit page = /usr/local/elog/elog-2.5.6/bericht
> Attributes = Author, Type, Category, Subject, Owner, Email
> Group Zernike college = Desktops, Servers, Printers, Ribox, Switches,
> Routers, Algemeen, Documentatie, XafaX
> Options OS = Windows XP, Novell, Windows 2003, Windows 2000, Windows 98
> Options Type = Software, Hardware, Besturingssysteem, Monitor
> Group Desktops = Harmjan, Helperbrink, Julianalaan, Rummerinkhof,
> Westersedrift
> Group Helperbrink = ZC004, ZC006, ZC026, ZC155, ZC209, ZC241, ZC246, ZC247,
> ZC248, ZC267, ZC288, ZC307, ZC308, ZC446, ZC475, ZC600, ZC601, ZC602,
> ZC603, ZC604, ZC605, ZC606, ZC607, ZC608, ZC609, ZC610, ZC611, ZC612,
> ZC613, ZC614, ZC615, ZC616, ZC617, ZC618, ZC619, ZC620, ZC621, ZC622,
> ZC623, ZC624, ZC625, ZC626, ZC627, ZC628, ZC629, ZC630, ZC631, ZC632,
> ZC633, ZC634, ZC635, ZC636, ZC637, ZC638, ZC639, ZC640, ZC641, ZC642,
> ZC643, ZC644, ZC645, ZC646, ZC647, ZC648, ZC649, ZC650, ZC651, ZC652,
> ZC653, ZC654, ZC655, ZC656, ZC657, ZC658, ZC659, ZC660, ZC662, ZC708,
> ZC712, ZC707, ZC711, ZC900, ZC901, ZC902, ZC903, ZC904, ZC905, ZC906,
> ZC907, ZC908, ZC909, ZC910, ZC911, ZC912, ZC913, ZC914, ZC915, ZC916,
> ZC917, ZC918, ZC919, ZC920, ZC921, ZC922, ZC923
> Group Servers = HJZ1, HPB2, HRN1, HRN2, RHF1, ZDL1, ZC-ROOT1, ZC-ROOT2
> Group Ribox = HPB, HJZ, HRN, WD, ZDL
> Group Printers = HP, Canon
> Group HP = 4L, 6L, 2100, 4000, 4050, 4550 kleur, 8000
> Group Documentatie = Administratief, Educatief, Systeembeheer, Software,
> Hardware
> Group Xafax = Pasjes, Chipnet, Smartprinter, Docs
>
> ################################################### |
Re: Page not found after login or create useraccount, posted by Rob de Bruin on Tue Feb 8 14:49:40 2005
|
Sorry people,
I did not use de - n host/ip syntax at the startup of elogd.
Now it's working properly.
> As you can see the password is also visable in the addressbar??
>
>
> > best all,
> >
> > I'm having trouble with redirecting after creating an account or login.
> > For example when i create an account with an Admin user when i click on
> > Save i recieve the following error:
> > Error finding page!
> > And this is what de browser address tels me.
> >
> > http://192.168.71.26/ZC004/?
> > cmd=Save&new_user_name=zcpvenema&new_full_name=Peter+Venema&new_user_email=p
> > venema@zernike.nl&email_notify=all&newpwd=123456&newpwd2=123456
> >
> > But when i remove the line frome the ? and than press enter then i'll while
> > be able to just elog again.
> >
> > here is my Global cfg file setting.
> >
> > What did i do wrong??
> >
> > ########################################
> >
> > Port = 80
> > Grp = elog
> > Usr = elog
> > Password file = /usr/local/elog/elog-2.5.6/passwd
> > User login = /usr/local/elog/elog-2.5.6/passwd
> > Admin user = rdbruin
> > Resource dir = /usr/local/elog/elog-2.5.6/
> > Logbook dir = /usr/local/bin/logbooks/
> > time format = %d %B %Y %H:%M
> > SMTP host = smtp.xs4all.nl
> > Main tab = Startpagina
> > Page Title = Logboeken Zernike College
> > IOptions Icon = icon1.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif,
> > icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
> > Submit page = /usr/local/elog/elog-2.5.6/bericht
> > Attributes = Author, Type, Category, Subject, Owner, Email
> > Group Zernike college = Desktops, Servers, Printers, Ribox, Switches,
> > Routers, Algemeen, Documentatie, XafaX
> > Options OS = Windows XP, Novell, Windows 2003, Windows 2000, Windows 98
> > Options Type = Software, Hardware, Besturingssysteem, Monitor
> > Group Desktops = Harmjan, Helperbrink, Julianalaan, Rummerinkhof,
> > Westersedrift
> > Group Helperbrink = ZC004, ZC006, ZC026, ZC155, ZC209, ZC241, ZC246, ZC247,
> > ZC248, ZC267, ZC288, ZC307, ZC308, ZC446, ZC475, ZC600, ZC601, ZC602,
> > ZC603, ZC604, ZC605, ZC606, ZC607, ZC608, ZC609, ZC610, ZC611, ZC612,
> > ZC613, ZC614, ZC615, ZC616, ZC617, ZC618, ZC619, ZC620, ZC621, ZC622,
> > ZC623, ZC624, ZC625, ZC626, ZC627, ZC628, ZC629, ZC630, ZC631, ZC632,
> > ZC633, ZC634, ZC635, ZC636, ZC637, ZC638, ZC639, ZC640, ZC641, ZC642,
> > ZC643, ZC644, ZC645, ZC646, ZC647, ZC648, ZC649, ZC650, ZC651, ZC652,
> > ZC653, ZC654, ZC655, ZC656, ZC657, ZC658, ZC659, ZC660, ZC662, ZC708,
> > ZC712, ZC707, ZC711, ZC900, ZC901, ZC902, ZC903, ZC904, ZC905, ZC906,
> > ZC907, ZC908, ZC909, ZC910, ZC911, ZC912, ZC913, ZC914, ZC915, ZC916,
> > ZC917, ZC918, ZC919, ZC920, ZC921, ZC922, ZC923
> > Group Servers = HJZ1, HPB2, HRN1, HRN2, RHF1, ZDL1, ZC-ROOT1, ZC-ROOT2
> > Group Ribox = HPB, HJZ, HRN, WD, ZDL
> > Group Printers = HP, Canon
> > Group HP = 4L, 6L, 2100, 4000, 4050, 4550 kleur, 8000
> > Group Documentatie = Administratief, Educatief, Systeembeheer, Software,
> > Hardware
> > Group Xafax = Pasjes, Chipnet, Smartprinter, Docs
> >
> > ################################################### |
Re: Page not found after login or create useraccount, posted by Rob de Bruin on Tue Feb 8 14:55:26 2005
|
Sorry people,
I did not use de - n host/ip syntax at the startup of elogd.
Now it's working properly.
> As you can see the password is also visable in the addressbar??
>
>
> > best all,
> >
> > I'm having trouble with redirecting after creating an account or login.
> > For example when i create an account with an Admin user when i click on
> > Save i recieve the following error:
> > Error finding page!
> > And this is what de browser address tels me.
> >
> > http://192.168.71.26/ZC004/?
> > cmd=Save&new_user_name=zcpvenema&new_full_name=Peter+Venema&new_user_email=p
> > venema@zernike.nl&email_notify=all&newpwd=123456&newpwd2=123456
> >
> > But when i remove the line frome the ? and than press enter then i'll while
> > be able to just elog again.
> >
> > here is my Global cfg file setting.
> >
> > What did i do wrong??
> >
> > ########################################
> >
> > Port = 80
> > Grp = elog
> > Usr = elog
> > Password file = /usr/local/elog/elog-2.5.6/passwd
> > User login = /usr/local/elog/elog-2.5.6/passwd
> > Admin user = rdbruin
> > Resource dir = /usr/local/elog/elog-2.5.6/
> > Logbook dir = /usr/local/bin/logbooks/
> > time format = %d %B %Y %H:%M
> > SMTP host = smtp.xs4all.nl
> > Main tab = Startpagina
> > Page Title = Logboeken Zernike College
> > IOptions Icon = icon1.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif,
> > icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
> > Submit page = /usr/local/elog/elog-2.5.6/bericht
> > Attributes = Author, Type, Category, Subject, Owner, Email
> > Group Zernike college = Desktops, Servers, Printers, Ribox, Switches,
> > Routers, Algemeen, Documentatie, XafaX
> > Options OS = Windows XP, Novell, Windows 2003, Windows 2000, Windows 98
> > Options Type = Software, Hardware, Besturingssysteem, Monitor
> > Group Desktops = Harmjan, Helperbrink, Julianalaan, Rummerinkhof,
> > Westersedrift
> > Group Helperbrink = ZC004, ZC006, ZC026, ZC155, ZC209, ZC241, ZC246, ZC247,
> > ZC248, ZC267, ZC288, ZC307, ZC308, ZC446, ZC475, ZC600, ZC601, ZC602,
> > ZC603, ZC604, ZC605, ZC606, ZC607, ZC608, ZC609, ZC610, ZC611, ZC612,
> > ZC613, ZC614, ZC615, ZC616, ZC617, ZC618, ZC619, ZC620, ZC621, ZC622,
> > ZC623, ZC624, ZC625, ZC626, ZC627, ZC628, ZC629, ZC630, ZC631, ZC632,
> > ZC633, ZC634, ZC635, ZC636, ZC637, ZC638, ZC639, ZC640, ZC641, ZC642,
> > ZC643, ZC644, ZC645, ZC646, ZC647, ZC648, ZC649, ZC650, ZC651, ZC652,
> > ZC653, ZC654, ZC655, ZC656, ZC657, ZC658, ZC659, ZC660, ZC662, ZC708,
> > ZC712, ZC707, ZC711, ZC900, ZC901, ZC902, ZC903, ZC904, ZC905, ZC906,
> > ZC907, ZC908, ZC909, ZC910, ZC911, ZC912, ZC913, ZC914, ZC915, ZC916,
> > ZC917, ZC918, ZC919, ZC920, ZC921, ZC922, ZC923
> > Group Servers = HJZ1, HPB2, HRN1, HRN2, RHF1, ZDL1, ZC-ROOT1, ZC-ROOT2
> > Group Ribox = HPB, HJZ, HRN, WD, ZDL
> > Group Printers = HP, Canon
> > Group HP = 4L, 6L, 2100, 4000, 4050, 4550 kleur, 8000
> > Group Documentatie = Administratief, Educatief, Systeembeheer, Software,
> > Hardware
> > Group Xafax = Pasjes, Chipnet, Smartprinter, Docs
> >
> > ################################################### |
repository of elog configuration files, posted by Anand Sengupta on Mon Feb 7 09:58:25 2005
|
Hi
Is there a repository of elog configuration files for newbies to lookup and
learn ? I have seen the 'contributions' elog - useful as it is ... it is not
much. I would appreciate if someone can point out such a site where people
have contributed their elog configuration files.
Thanks,
AnandO. |
Re: repository of elog configuration files, posted by Stefan Ritt on Mon Feb 7 10:00:42 2005
|
> Is there a repository of elog configuration files for newbies to lookup and
> learn ? I have seen the 'contributions' elog - useful as it is ... it is not
> much. I would appreciate if someone can point out such a site where people
> have contributed their elog configuration files.
Have a look at the elog:Config+Examples. The configuration of this Forum for
example is there, covering most of the available options.
- Stefan |
$user_email variable causes problems in Use Email From setting, posted by John Habermann on Sun Feb 6 04:12:52 2005
|
I am running into problems when I try and use the
Use Email From = $user_email
setting in my individual logbook configs. I had to set this field as I set a
Use Email From = real_email_address
in my global config so that the email would be sent out by the
CommunigatePro mail server.
When I made those changes though the mail was not sent and I got the
following errors in the elog log:
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} NEW entry #0
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} Email from
john.habermann@wilderness.org.au to john.habermann@wilderness.org.au,
SMTP host localhost:
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} 220
tanami.wilderness.org.au ESMTP CommuniGate Pro 4.2.8 is glad to see you!
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog}
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} HELO tanami.wilderness.org.au
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} 250
tanami.wilderness.org.au your name is not tanami.wilderness.org.au
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} MAIL FROM:
john.habermann@wilderness.org.au
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} 555 syntax error in MAIL
FROM parameters
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} RCPT TO:
<john.habermann@wilderness.org.au>
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} 501 Unknown command
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} DATA
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} 501 Unknown command
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} To:
john.habermann@wilderness.org.au
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} From:
john.habermann@wilderness.org.au
Subject: [twslog: Elog] will it work on tanami from konqueror
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} X-Mailer: Elog, Version
2.5.6-1
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} X-Elog-URL:
http://tanami.wilderness.org.au:8080/Elog/36
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} X-Elog-submit-type: web|elog
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} Date: Sun, 06 Feb 2005
13:48:34 +1100
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} Content-Type: TEXT/PLAIN;
charset=US-ASCII
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} .
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} 501 Unknown command
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} QUIT
06-Feb-2005 13:48:34 [john@137.219.117.245] {Elog} 501 Unknown command
It looks like Communigate Pro doesn't like what is being put in the From as
it complains about the syntax.
I tried the same elog.conf file on my laptop which uses a qmail server as
its SMTP and the mail was sent ok but I got mailto appearing in the from
header. I saw that elog:333 reported a similar problem but this was listed
as fixed. This is the headers from a message sent by the qmail server:
X-Gmail-Received: 04395b7bf4189dd6e4c23606ee6adbd5fdcb0e53
Delivered-To: john.haberman@gmail.com
Received: by 10.54.43.19 with SMTP id q19cs16478wrq;
Sat, 5 Feb 2005 18:44:47 -0800 (PST)
Received: by 10.54.43.11 with SMTP id q11mr64342wrq;
Sat, 05 Feb 2005 18:44:47 -0800 (PST)
Return-Path: <john.habermann@wilderness.org.au>
Received: from mx-1.netregistry.net (mx-1.netregistry.net [203.202.16.27])
by mx.gmail.com with ESMTP id 33si43805wra.2005.02.05.18.44.45;
Sat, 05 Feb 2005 18:44:47 -0800 (PST)
Received-SPF: neutral (gmail.com: 203.202.16.27 is neither permitted nor
denied by best guess record for domain of
john.habermann@wilderness.org.au)
Received: from mail.ngogeeks.com ([216.17.101.59])
by mx-1.netregistry.net with esmtp (Exim 4.20 #2 (Debian))
id 1CxcPj-0003zY-Io
for <john.habermann@wilderness.org.au>; Sun, 06 Feb 2005 13:44:43 +1100
Received: (qmail 5486 invoked by uid 1021); 6 Feb 2005 00:45:04 +0000
Received: from john.habermann@wilderness.org.au by ngogeeks.com by
uid 1012 with qmail-scanner-1.22-st-qms
(clamdscan: 0.75. spamassassin: 2.20. Clear:RC:1(10.3.0.2):.
Processed in 0.363281 secs); 06 Feb 2005 00:45:04 -0000
X-Antivirus-MYDOMAIN-Mail-From: john.habermann@wilderness.org.au via
ngogeeks.com
X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:1(10.3.0.2):. Processed in
0.363281 secs Process 5482)
Received: from unknown (HELO localhost) (10.3.0.2)
by mail.ngogeeks.com with SMTP; 6 Feb 2005 00:45:03 +0000
To:
john.habermann@wilderness.org.au
From: john.habermann@wilderness.org.au
Subject: [twslog: Email] test of new elog version
X-Mailer: Elog, Version 2.5.6-1
X-Elog-URL: http://localhost:8080/Email/79
X-Elog-submit-type: web|elog
Date: Sun, 06 Feb 2005 13:43:31 +1000
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Antivirus-MYDOMAIN-1.22-st-qms: added fake MIME-Version header
MIME-Version: 1.0
X-Antivirus-MYDOMAIN-Message-ID: <11076507048355482@ngogeeks.com>
Message-Id: <E1CxcPj-0003zY-Io@mx-1.netregistry.net>
X-Spam-Score: 0.3 (/)
X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/)
*1CxcPj-0003zY-Io*13Qgra0rAPA*
A new entry has been submitted on localhost
Logbook : Email
Author : John Habermann
Subject : test of new elog version
Type : Other
Todo :
Logbook URL : http://localhost:8080/Email/79
=================================
Testing |
Re: $user_email variable causes problems in Use Email From setting, posted by Stefan Ritt on Sun Feb 6 12:44:03 2005
|
> header. I saw that elog:333 reported a similar problem but this was listed
> as fixed.
Yes, this was fixed in revision 1.550 of elogd.c. You apparently have revision 1.54x
which does not yet contain the patch. You need to donwload the newest version from
CVS and compile it by hand (or wait for the next major release). |
Conditional attributes does not work in French, posted by Laurent S. Nadolski on Wed Feb 2 10:37:48 2005
|
Hi,
I am very much interested in using elog as a shift logbook for SOLEIL
accelerators.
I tested most of the options. Every thing works well except the conditional
attributs when French language is selected. In this case, I lost the
selected list option in the Field Equipement.
Here a simple exemple for testing.
NB: tests were done using the last and before last elog version.
I switched the language from English to French in Global options
Attributes = Accelerateur, Equipement
Options Accelerateur= Linac{1}, LT1{2}
{1}Options Equipement= cannon, section1
{2}ROptions Equipement= Alimentation, Diagnostics
I guess this is a simple bug since this problem does not exist for other
languages.
Best Regards,
Laurent Nadolski |
Re: Conditional attributes does not work in French, posted by Stefan Ritt on Thu Feb 3 16:48:41 2005
|
> I am very much interested in using elog as a shift logbook for SOLEIL
> accelerators.
Hey, elog made it to SOLEIL! You know, we run it here at the SLS...
> I tested most of the options. Every thing works well except the conditional
> attributs when French language is selected. In this case, I lost the
> selected list option in the Field Equipement.
There was indeed a bug which only happend when switching to French! Some
javascript code contained
confirm('Erreur: l'attribute .... ')
So the "'" in l'attribute finished the string and Javascript stopped working. I
changed the quotes to
confirm("Erreur: l'attribute .... ")
so it works now. The new version is under CVS.
- Stefan |
Finding Last Changed Entries, posted by Bee on Tue Feb 1 14:41:08 2005
|
Is there an inbuilt way to find the last entries changed in an elog?
I could add a "Last Mod" attribute and then config "Subst on edit Last Mod =
$date", but it occurred to me that this functionality might already be in
this wonderful tool somewhere, but I just haven't found it yet.
So, is it?
Best regards, Ralph. |
Re: Finding Last Changed Entries, posted by Stefan Ritt on Tue Feb 1 14:44:00 2005
|
> Is there an inbuilt way to find the last entries changed in an elog?
>
> I could add a "Last Mod" attribute and then config "Subst on edit Last Mod =
> $date", but it occurred to me that this functionality might already be in
> this wonderful tool somewhere, but I just haven't found it yet.
>
> So, is it?
No it isn't. Not everybody wants it. So you have to do it in the way you
outlined it. Also have a look at http://midas.psi.ch/elog/faq.html#11
- Stefan |
Automatic Export, posted by Tim Fowler on Thu Jan 27 19:09:55 2005
|
Is there any way to automatically export the logbook(s)? |
Re: Automatic Export, posted by Stefan Ritt on Fri Jan 28 08:33:49 2005
|
> Is there any way to automatically export the logbook(s)?
Kind of. You can use "wget" under Linux (use cygwin under Windows to get wget
under Windows). Then issue a
wget "http://midas.psi.ch/elogs/forum/?cmd=Search&mode=xml"
and you will get an XML export. Same works with CSV export. If you put that
command in cron, you have this on an automatic basis. |
Re: Automatic Export, posted by Tim Fowler on Fri Jan 28 18:04:03 2005
|
> > Is there any way to automatically export the logbook(s)?
>
> Kind of. You can use "wget" under Linux (use cygwin under Windows to get wget
> under Windows). Then issue a
>
> wget "http://midas.psi.ch/elogs/forum/?cmd=Search&mode=xml"
>
> and you will get an XML export. Same works with CSV export. If you put that
> command in cron, you have this on an automatic basis.
Thanks Stefan! That was exactly what I was looking for! |
mirroring specific logbooks, posted by John Habermann on Sun Jan 23 02:51:58 2005
|
Hi
I was just wondering if it is possible to define what logbooks you want
mirrored in the [Global] part of the elogd.conf file. I want to mirror the
logbooks that I use for work from my laptop to the work server but I have
set up other logbooks that I will use for uni and other non work projects.
I have set the mirroring up in [Global] using the cron based settings but I
am guessing that is going to try and mirror all the logbooks.
;The mirror settings
Mirror server = tanami:8080
;Mirror the contents of the elogd.conf file for individual logbooks but not
global settings
Mirror config = 1
;Mirror every hour between 07:00 and 20:00 during the week day
Mirror cron = 0 7-20 * * 1-5
Mirror user = john
I gather my personal logbooks won't sync across as I get an "error accessing
remote logbook" so that is fine but was just wondering if you can set it so
that you can define in global what logbooks you want to sync.
thank you
John |
Re: mirroring specific logbooks, posted by Stefan Ritt on Tue Jan 25 21:48:52 2005
|
> I was just wondering if it is possible to define what logbooks you want
> mirrored in the [Global] part of the elogd.conf file.
I added a new option
Mirror exclude = 1
which has to be put into the individual logbook section (not the [global] one).
The modification will be contained in the next release. |
Re: mirroring specific logbooks, posted by John Habermann on Wed Jan 26 07:40:46 2005
|
> > I was just wondering if it is possible to define what logbooks you want
> > mirrored in the [Global] part of the elogd.conf file.
>
> I added a new option
>
> Mirror exclude = 1
>
> which has to be put into the individual logbook section (not the [global] one).
> The modification will be contained in the next release.
Thank you very much Stefan. |
|