Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 181 of 807  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  1000   Tue Mar 22 13:46:57 2005 Reply Stefan Rittstefan.ritt@psi.ch Windows2.5.7-1Re: Unable to enter/edit time in user defined $date field?
> I have defined a new field called "Record Date" to accept the dates from a
> previous logging system. I am not too concerned with the timestamp
> associated with these old imported entries. But for new entries...
> There is no way I am able enter/edit the time into my new field. They all
> show as having a time of 12:00. What am I doing wrong? Here is a portion of
> my config

Date is "date", and not "date-time" unfortunately. There is no way right now to
enter a time. I plan however to add a new format "datetime", which allows that
option. So stay tuned.

- Stefan
  1007   Wed Mar 23 20:35:55 2005 Warning Stefan Rittstefan.ritt@psi.chBug reportLinuxr1592Re: wrong handling of attachment names
> When an attached image name contains a space in its filename and attachment
> display is enabled elog builds a wrong url to the image:
> 
> http://arcolog.roma2.infn.it:8080/ARCO/050309_170709/peeling+002.jpg
> 
> instead of the correct one:
> 
> http://arcolog.roma2.infn.it:8080/ARCO/050309_170709_peeling+002.jpg

This is on purpose. If you want to save an attachment locally and right click on
the attachment, and select "Save link as..." in your browser, then the default
file name is taken from the link. If your original file namw was "peeling
002.jpg", then you want again the same name, and not "050309_170709_peeling
002.jpg, because you would have to delete the date/time part of the file name
each time which would be annoying. That's why I have chosen to put an artificial
"/" between the date/time and the original file name. On the elog side, it's
converted correctly back to the file name.

The problem with blanks in attachment names I could not reproduce. See this
post, which contains an attachment with a blank in it. As you can see, this does
not crash the server. 
Attachment 1: back 42.jpg
back 42.jpg
  1009   Thu Mar 24 10:39:00 2005 Smile Stefan Rittstefan.ritt@psi.chBug reportLinux Re: Crash with Protect Selection page = 1
> Using 2.5.8, if I set "Protect Selection page" to 1, then elogd seg faults
> as soon as it is accessed.

Thanks for reporting this bug. I fixed it and committed the change to CVS.

- Stefan
  1014   Thu Mar 24 11:47:58 2005 Smile Stefan Rittstefan.ritt@psi.chBug reportLinux Re: Crash with Protect Selection page = 1
> Logins work OK if the username/password is valid.  However, if I try to login
> with invalid authentication, the server crashes.  If I turn off the protect
> selection page, then invalid authentication does not crash elogd.

Ok, it's me, Speedy Gonzales again (as Emiliano says... (;-))

I fixed that as well and committed the changes.

Greetings to JLab (I once worked at UVa in Charlottesville...). Is David Abbott
still there?

- Stefan
  1020   Thu Mar 24 13:59:06 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportAll2.5.8Re: HTML 4.1 transitional validation fails
> Stefan, the validation still fails on the ampersand ...
> here is an example of your online Demo elog:
> http://validator.w3.org/check?verbose=1&uri=http%3A//midas.psi.ch/elogs/Forum/920

Ok, I fixed that, the validation link above show a valid page.
  1022   Thu Mar 24 21:17:28 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows Re: Database type logbook entry creation
> I would like to create a paper waste logbook. I need to have a column that 
> shows a weight in pounds and another column with a calculation from those 
> pounds to dollars.  pounds x $4.00 = cost  I was wondering if this was 
> possible? 
> 
> All other fields would be just Date, Batch#, Operator, Reason, Process 
> Operator, Manager, Lbs, and Cost,  I would also like to total this cost if 
> possible, on a search selected basis. Similar to Excel.

Unfortunately not. But your request is on the wishlist since some time, I added
your vote.
  1023   Fri Mar 25 00:30:57 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportLinuxr1592Re: wrong handling of attachment names
> - Irestarted the daemon
> - attached strace to it
> - requested the list for a testin logbook, few entries some quite big images 
>   (two thumbnails, the other are old images get resized my the browser)
> - repeted previous point a couple of times
> - press F5 (mozilla-firefox)  the browser hangs 4ever
> - stop the load
> - repeat point 3, all right
> - F5 => hangs
> - F5 => hangs

I tried to reproduce this problem, but everything was fine. This problem was never
reported by anyone else as well.
  1024   Fri Mar 25 00:33:51 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportLinuxr1592Re: wrong handling of attachment names
> It seems that uploading files with spaces in the name *now* works well... so the
> problem should be somewhere in the handling of existing attachments, not rised when
> the attachment is uploaded with the current version of elog ... it's quite strange

Can you send me one of this old xxxxxxa.log files which causes that crash, I can then fix
it in elogd.c ...
ELOG V3.1.5-3fb85fa6