Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 688 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subject
  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 ...
  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.
  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.
  1021   Thu Mar 24 20:36:50 2005 Question David Egolfdegolf@fujicolor.comQuestionWindows 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.

Thanks for any input

David Egolf
  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.
  1019   Thu Mar 24 13:40:27 2005 Angy Emiliano GabrielliAlberT@SuperAlberT.itBug 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
> 
> The more annoing thing is that elogs hangs on this. a strace shows a select
> on fd n°3 and 5 that loops forever (returning a timeout error):
> 
> send(4, "<141>Mar 23 11:36:25 elogd[22189"..., 35, 0) = 35
> rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
> select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
> select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
> 
> 
> May be the better solution is, after fixing the bug for backward
> compatibility with already uploaded images, to implement a forced characters
> substitution at upload time, replacing spaces and every character not in a
> "allowed chars" list with an underscore

donno if the following is correlated, otherwise there is another problem I
guess :-)
I attached a strace of elog, hope you'll find it useful.

- 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

there should be some problem, may be in the socket ?
  1018   Thu Mar 24 13:21:28 2005 Warning Emiliano GabrielliAlberT@SuperAlberT.itBug reportAll2.5.8Re: HTML 4.1 transitional validation fails
> as this url shows http://www.htmlhelp.com/tools/validator/problems.html#amp
> it should be used an HTML entity instead of the ampersand sign.

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

  1017   Thu Mar 24 12:30:07 2005 Warning Emiliano GabrielliAlberT@SuperAlberT.itInfoLinux Re: New Debian package (2.5.8+r1592) -- needs testing
> Hi to all,
> 
> I've prepared a new Debian package.  This version will probably be the one
> which you'll find in Sarge/stable.
> 
> There are some invasive changes in this version which call for a serious
> test.  In accordance with a suggestion, I've changed the configuration
> mechanism.  For details, please read the NEWS.Debian file attached.
> 
> Could the Debian users who follow this forum test it and give some feedback?
> You can download the package from the following link:
> 
>   http://l10n-turkish.alioth.debian.org/debian/elog_2.5.8+r1592-1_i386.deb
> 
> Thanks in advance for your participation,

btw, what about in including in default/elog also a voice for the "-x" switch ??

It is a security related thing and may be passed only on the command line to the
daemon, so it should be governed by the system elog admin.
ELOG V3.1.5-3fb85fa6