ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66207
|
Fri Feb 13 03:58:46 2009 |
| ermirza erekose | mirza98@fastmail.net | Question | Linux | 2.7.5-2130 | Re: Internal error, no valid header! |
Stefan Ritt wrote: |
ermirza erekose wrote: |
I got this error message when trying to upload 17K text file as attachment. Any idea why ? It's a fresh installed elog and not much configuration done yet.
|
No, no idea. I usually put several MB attachments into elogs without problems. Can you try with the demo logbook https://midas.psi.ch/elogs/Linux+Demo/. Maybe you have an old version of elog?
|
No problem attaching big files on F10 or CentOS 4.7. The one that is having issue was on JeOS-8.0.4 - Ubuntu ;-). All tested with ELOG version 2.7.5 build 2130.
|
66209
|
Sat Feb 14 17:49:59 2009 |
| ermirza erekose | mirza98@fastmail.net | Question | Linux | 2.7.5-2130 | Re: Internal error, no valid header! |
ermirza erekose wrote: |
Stefan Ritt wrote: |
ermirza erekose wrote: |
I got this error message when trying to upload 17K text file as attachment. Any idea why ? It's a fresh installed elog and not much configuration done yet.
|
No, no idea. I usually put several MB attachments into elogs without problems. Can you try with the demo logbook https://midas.psi.ch/elogs/Linux+Demo/. Maybe you have an old version of elog?
|
No problem attaching big files on F10 or CentOS 4.7. The one that is having issue was on JeOS-8.0.4 - Ubuntu ;-). All tested with ELOG version 2.7.5 build 2130.
|
Correction. The OSes are OK. But don't use Opera when uploading big files. |
68918
|
Fri Mar 22 11:52:46 2019 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Linux | latest | Re: Interfaced with SSO | ELOG understands kerberos authentication (See https://elog.psi.ch/elog/config.html#access).
If your SSO works with kerberos, then your SSO user name and password can be used to sign in to ELOG. But I'm not sure if that is what you are asking for...
Cheers, Andreas
Patricia Mendez Lorenzo wrote: |
Dear Supporters,
I am evaluating the elog software as lobgook for high energy pgysics and I was just wondering the interface with SSO from the login point of view. Once euthenticated with SSO, can this authentication be also recognized by elog?
Thank you so much
Best Regards,
PAtricia
|
|
2024
|
Sun Oct 29 16:04:05 2006 |
| Steve Jones | steve.jones@freescale.com | Bug report | All | 2.6.2-1723 | Re: Interesting behavior with $shell |
Steve Jones wrote: | eLog does not do math so I am trying to leverage the $SHELL function to perform the math. I am using GAWK to perform the math -- I started trying to use CONDITIONAL ATTRIBUTES to assign numeric values to attributes but with loading up the ATTRIBUTES with all of the options brings elog to its knees in terms of performance -- the parsing of attributes is simply too string intensive.
So, I embedded the numeric score in the OPTIONS of the ATTRIBUTE and leveraged the text processing prowess of GAWK:
Options WhoIsEffected = 1:...Single User, 5:...Project, 10:...Department, 50:...Site
Options ServiceOutage = 1:...0-1 Minutes, 2:...10 Minutes, 10:...20 Minutes, 30:...30 Minutes, 100:...gt60
Then pass the following command to GAWK:
Preset TotalScore = $shell(gawk 'BEGIN{split(\"$WhoIsEffected:$ServiceOutage\",scores,\":\");print scores[1]+scores[3]}' )
The interesting result is this works - the proper summation is returned but apparently elog parsing also returns everything after the first ')' as something that also needs to be returned. So the resulting contents of TotalScore is 2;print scores[1]+scores[3]}' ) assuming one chose the first option of both attributes (the output pasted here are real results).
Before getting to this point I tried using the GAWK internal variable of $0 - but this did not work because apparently $0 in elog is defined as the OS shell!
Stefan, is it possible for you to try creating a logbook on the elog demo site that shows people how to perform math and in the process discover what the $SHELL function is doing? |
Steve Jones wrote: |
So, in order to quickly get around the problem I did the following:
Preset TotalScore = $shell(echo \"$WhoIsEffected:$ServiceOutage\" | gawk -f <gawkscript>' )
This works since all of the script logic is contained in an external script but removes the logic from the elog config, so if anything changes one has to remember to change the script (which is in a comment).
|
|
482
|
Fri Feb 27 09:15:07 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.5 | Re: Instant Edit Link | I have added that functionality according to your request. In elogd.cfg, you
can specify
List Display = ID, Edit, Delete, Date, Author, ... <other attributes>
which gives you two colums, one to edit and entry and one to delete one. See
the attached picture. I presume that's what you want. This works on the
newest version
http://midas.psi.ch/cgi-bin/cvsweb/elog/src/elogd.c?rev=1.272
and you need the two icons
http://midas.psi.ch/cgi-bin/cvsweb/elog/themes/default/edit.gif?rev=1.1
http://midas.psi.ch/cgi-bin/cvsweb/elog/themes/default/delete.gif?rev=1.1
to be put under your elog/themes/default/ directory. Or you wait for the
next official release (;-) |
Attachment 1: moz.gif
|
|
487
|
Sun Feb 29 18:31:47 2004 |
| Raj | rajelio@yahoo.com | Question | Windows | 2.5.1 | Re: Instant Edit Link | I have done all that you suggested and all I get is the Message ID # that takes
me to the message.
I even upgraded to the 2.5.1 version. Then I placed the elogd.c in the SRC
folder. Also placed the images in the themes folder.
When I edit the List Display line it throws all my columns off by 1.
No luck so far.
Any suggestions?
PS
Thanks for such a quick reply!
> I have added that functionality according to your request. In elogd.cfg, you
> can specify
>
> List Display = ID, Edit, Delete, Date, Author, ... <other attributes>
>
> which gives you two colums, one to edit and entry and one to delete one. See
> the attached picture. I presume that's what you want. This works on the
> newest version
>
> http://midas.psi.ch/cgi-bin/cvsweb/elog/src/elogd.c?rev=1.272
>
> and you need the two icons
>
> http://midas.psi.ch/cgi-bin/cvsweb/elog/themes/default/edit.gif?rev=1.1
> http://midas.psi.ch/cgi-bin/cvsweb/elog/themes/default/delete.gif?rev=1.1
>
> to be put under your elog/themes/default/ directory. Or you wait for the
> next official release (;-) |
489
|
Mon Mar 1 08:29:19 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.5.1 | Re: Instant Edit Link | > I even upgraded to the 2.5.1 version. Then I placed the elogd.c in the SRC
> folder. Also placed the images in the themes folder.
As I wrote, you have to get the latest elogd.c, revision 1.272 and *COMPILE* it
(or wait for the next official release). If you cannot compile elogd.c, let me
know and I can send you the executable. |
497
|
Fri Mar 5 17:26:29 2004 |
| Raj | rajelio@yahoo.com | Question | Windows | 2.5.1 | Re: Instant Edit Link | I must have misunderstood what you meant. That aside, I don't know how to compile
the elogd.c so any help would be appreciated. I would like to learn how to also.
Thanks.
> > I even upgraded to the 2.5.1 version. Then I placed the elogd.c in the SRC
> > folder. Also placed the images in the themes folder.
>
> As I wrote, you have to get the latest elogd.c, revision 1.272 and *COMPILE* it
> (or wait for the next official release). If you cannot compile elogd.c, let me
> know and I can send you the executable. |
|