ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
2023
|
Fri Oct 27 19:11:32 2006 |
| Steve Jones | steve.jones@freescale.com | Bug report | All | 2.6.2-1723 | Interesting behavior with $shell |
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? |
67082
|
Wed Jun 15 11:10:01 2011 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Request | All | 2.9.0 | Integrate Latex Formula Editor plugin |
There is a nice js plugin to create formulas with a latex editor.
This plugin (Can be found at http://www.codecogs.com/latex/integration/ckeditor/install.php) is for the CK Editor.
Currently the FCK Editor is used, which has been superseded in 2009 by the CK Editor.
It would be nice to change ELOG to use the newer CKEditor, in order to be able to use the formula plugin (and
maybe other plugins as well later). |
481
|
Fri Feb 27 03:48:05 2004 |
| Raj | Elog+rajelio@yahoo.com | Question | Windows | 2.5 | Instant Edit Link |
How I can dynamically create a link when a new submission is entered that
will have a value of <ELOG_URL$message id?=Edit>
I want the users to be able to go straight from the main page to an edit
page. This would skip 1 step to get to the edit page.
Is this possible.
If that link could use one of the icons for the src image that would be
great.
Thanks.
:-) |
69642
|
Thu Feb 2 10:58:54 2023 |
| Daniel Sajdyk | daniel.sajdyk@gmail.com | Question | Linux | 3.1.4 | Installing Elog on Linux Oracle 9 and missing libssl.so.10 |
Hello,
I tried to install Elog 3.1.4 from rpm on Oracle Linux 9 with command:
sudo dnf localinstall elog-3.1.4-3.el7.x86_64.rpm
But I got error:
Last metadata expiration check: 0:08:06 ago on Thu 02 Feb 2023 10:35:13 CET.
Error:
Problem: conflicting requests
- nothing provides libssl.so.10()(64bit) needed by elog-3.1.4-3.el7.x86_64
- nothing provides libssl.so.10(libssl.so.10)(64bit) needed by elog-3.1.4-3.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Using dnf I installed libssl.so.11 (cannot find version 10) and it doesn't help. So my question is: can I use one of proposes by dnf solution as:
- --skip-broken
- --nobest
Does Elog will work stabilityy after that?
Best Regards |
68280
|
Fri Mar 11 17:19:02 2016 |
| Phil Rubin | rubinp@cern.ch | Question | Linux | 3.1.1 | Installation: Failed Dependencies |
Is there anything I can do about this?
kernel: 2.6.32-279.14.1.el6.x86_64
ldd (GNU libc) 2.12
/lib64/libc.so.6
/usr/lib64/libssl.so.10
rpm -i elog-latest.i386.rpm
error: Failed dependencies:
libc.so.6 is needed by elog-3.1.1-1.i386
libc.so.6(GLIBC_2.0) is needed by elog-3.1.1-1.i386
libc.so.6(GLIBC_2.1) is needed by elog-3.1.1-1.i386
libc.so.6(GLIBC_2.1.3) is needed by elog-3.1.1-1.i386
libc.so.6(GLIBC_2.3) is needed by elog-3.1.1-1.i386
libssl.so.6 is needed by elog-3.1.1-1.i386 |
68281
|
Fri Mar 11 17:29:47 2016 |
| Phil Rubin | rubinp@cern.ch | Question | Linux | 3.1.1 | Installation: Failed Dependencies |
Is there anything I can do about this?
kernel: 2.6.32-279.14.1.el6.x86_64
ldd (GNU libc) 2.12
/lib64/libc.so.6
/usr/lib64/libssl.so.10
rpm -i elog-latest.i386.rpm
error: Failed dependencies:
libc.so.6 is needed by elog-3.1.1-1.i386
libc.so.6(GLIBC_2.0) is needed by elog-3.1.1-1.i386
libc.so.6(GLIBC_2.1) is needed by elog-3.1.1-1.i386
libc.so.6(GLIBC_2.1.3) is needed by elog-3.1.1-1.i386
libc.so.6(GLIBC_2.3) is needed by elog-3.1.1-1.i386
libssl.so.6 is needed by elog-3.1.1-1.i386 |
69764
|
Thu Mar 21 15:23:52 2024 |
| Nina Bondarenko | nina.bondarenko@uu.se | Question | Linux | 3.1.5-1 | Installation with amp on Rocky Linux |
Hello all,
I am installing elog on an Rocky Linux instance. Have dependensy problem.
rpm -Uvh elog-latest.el7.x86_64.rpm
error: Failed dependencies:
liblber-2.4.so.2()(64bit) is needed by elog-3.1.5-1.el7.x86_64
libldap-2.4.so.2()(64bit) is needed by elog-3.1.5-1.el7.x86_64
libssl.so.10()(64bit) is needed by elog-3.1.5-1.el7.x86_64
libssl.so.10(libssl.so.10)(64bit) is needed by elog-3.1.5-1.el7.x86_64
Any clues from developers to resolve it and keep the software working. Thank you in advance!
Bests, Nina |
66016
|
Mon Oct 27 13:05:13 2008 |
| George B. | i93.borg@gmail.com | Bug report | Linux | 2.7.5 | Installation problems |
Hello,
I just upgraded to elog 2.7.5 from 2.6.4 on my Debian system. Here is some feedback:
1) "make" fails if libssl-dev package is not installed. Documentation does not mention SSL library requirements.
2) /etc/init.d/elogd: line 10: /etc/rc.d/init.d/functions: No such file or directory (I fixed this by commenting
out that line).
3) Starting elogd: /etc/init.d/elogd: line 34: echo_success: command not found (Fixed by search/replace "echo_"
to "echo ").
Hope this helps.
George. |