Shell substitution, especially interesting for running online experiments, posted by Stefan Ritt on Tue Dec 20 09:18:19 2005
|
Shell substitution has been introduced in an experimental state of the current SVN version of ELOG. It woks such that the subsititution list can contain $shell(<argument>) commands. The <argument> is passed to the shell of the operating system and the result is captured and subsituted. This is handy for online experiments, where one wants to pass information automatically to elog. Assume that there is a file /tmp/runnumber containing the current run number of the experiment. All one needs to put the current run number in an attribute "Run number" is the following line in the configuration file:
Preset Run number = $shell(cat /tmp/runnumber)
This subsitution works also for the main text body. Following option will put a calendar of the current month into the text body:
Preset text = $shell(cal)
note that shell subsitution works both on Windows and Unix, the "cat" and "cal" commands are however only present under Unix, but "cat" can be replaced with its Windows counterpart "type". |
Shell execution generating error, posted by Steve Jones on Tue Sep 19 20:37:59 2006
|
When started as root *but not running as a daemon* shell execution results in the following errors that are sent to Standard Error:
Cannot restore original GID/UID.
Cannot remove pidfile "/var/run/cr-elogd.pid"
; Permission denied
Cannot restore original GID/UID.
Cannot remove pidfile "/var/run/cr-elogd.pid"
; Permission denied
|
Shell execute, posted by Alan Grant on Tue May 14 06:07:07 2019
|
I have the line in my elog config to run a Powershell script when submitting a New entry. I just send an email as a test:
Execute New = "Powershell.exe -ExecutionPolicy Bypass D:\SendEmail.ps1"
Fyi, the Powershell statement itself (Send-MailMessage -From 'MeterElog@winnipeg.ca' -To 'alangrant@mts.net' -Subject 'New meter entry' -Body 'TEST' -Priority High -DeliveryNotificationOption OnSuccess, OnFailure -SmtpServer 'citygw') works fine and the email is received when running it from the Powershell ISE app directly from the same elog vm server but not from within Elog with the above statement.
I'd like to first confirm that the syntax of the line Execute New = is correct, ie, double quoting the entire command. Can anyone please confirm. |
Sharing logbooks among "Top Groups", posted by Satyajit Jena on Sun Aug 20 10:07:57 2017
|
Hi,
I am currently trying to configuring elog top groups, which are supposed to separate from each other. However, I would like to have a common logbook that should be visible in each group. Is there a way to share logbooks among Top Groups for example
Top Group Electronics = Elec1, Elec_EEE, Ele2
Top Group Processing = P_AA1, PPP2, Elec_EEE
Top Group Monitoring = Mon1, Mon2, Mon3, Mon4
Top Group Data = Data1, PPP2, Data2
I would like logbook to be viewed:
- Electronics:
- Processing:
- Monitoring:
- Data:
- Data1
- PPP2
- Data2
- Mon3
- Mon4
Could you please suggest me if it is possible to set in this way (Color codes t show the common sharing).
Many thanks and regards,
satyajit |
Shared logbook and elog.cfg file across multiple installations, posted by Anthony on Mon Nov 15 15:41:04 2021
|
Hi,
I'm wondering if it's possible to have a shared logbook and elog.cfg between multiple instances of elog. Ideally, I'd like to have my logbooks folder and elog.cfg hosted on a nextcloud instance while running the elog service locally. I've tried this using symlinks and shortcuts on windows with no luck. I was able to install elog into my mounted nextcloud folder, but this isn't ideal as I would like this to work from multiple computers.
Any ideas or thoughts on how I can do this (if I can actually do this)? |
Several drop down menu's for a field, posted by Niall Dooley on Sat Nov 22 13:08:59 2008
|
Hi,
I was wondering if it is possible to have several drop down menus associated with a particular field. My problem is as follows, currently I have a particular field where its value is a name of a person obtained from a list of names from a drop down menu. However, I would like to be able to select on certain occasions more than one name from this same drop down list of names.
The field name in question is "Call-out" as in the name of a person called out. I guess I could add another field say "Call-out 2" and have a drop down menu of names for this new field too but I would like to avoid this if possible. So I would like possiby to have two (or more) drop down menus side by side for this Call-out field which would each populate this one field with the names selected (if any) from each drop down menu. This way if only an a selection is made from the first drop down menu then it should work as it does currently but if an entry was also selected from the second drop down menu then both names should populate the field when the log is complete.
I hope I have been clear in my question/request? Many thanks in advance for any help or suggestions received. |
Several attachement at the same time, posted by stephane on Sat Jan 26 08:59:35 2008
|
Hello,
I would like to make several attachement at the same time. I would be great cause I have lot of attachements to do every day. I try wiht CTRL or SHIFT key but I failed in.
Is it possible at this moment ?
Kind regards
Stéphane |
Several Problems with 2.3.5, posted by Thomas Salein on Tue Apr 22 11:18:00 2003
|
We use ELOG 2.3.5 for Windows with a German language file and have found
some new problems:
. Certain strings are not translated.
Language error: string "Plese log on by clicking on following link and
change your password" not found for language "de"
Language error: string "A new password for user <i>"%s"</i> has been sent
to %s" not found for language "de"
While the first string is obviously written wrong, the second one misses a
quotation mark.
. If a user uses the new "password forgotten" function, he receives an
email, but after having clicked the URL in the mail, he gets the following
error message as simple text, i.e. not formatted by use of the CSS file:
Invalid URL: Notizen/?redir=%3Fcmd%3DChange%20password%26old_pwd%
3DE3ARcjI/&uname=sal&upassword=E3ARcjI/
Bitte benutzen Sie die Zurück-Taste Ihres Browsers ...
Nevertheless the new password was written into the specified password file.
(This behaviour as far as we know was also with earlier versions of ELOG.)
. If one could not log in through the button "Login", one does not receive
an error message, but will be pushed simply back to the main page,
status "Not logged in". (This was as far as we know was also with earlier
versions of ELOG.)
. If you want to change as an admin the passwords of several users, it
would be convenient, to get always back to the page, where you may choose
the next user ... but you will be pushed back to the main page with the
messages. (This was as far as we know was also with earlier versions of
ELOG.)
. But the simple change of passwords for users does not always succeed: I
have changed the password for a user A to "anuvis", the next user B should
have gotten the same new password, but this time it was not accepted.
Message "Wrong password". Might it be, that this goes only once because of
an initialisation problem ? I had to edit the password file manually.
. Opera browser 7.03 simply crashes, when choosing the direct URL to our
logbook, i.e. http://localhost:8080/logbook2. We have set a general
password file and a different read password for each of our logbooks.
If we choose http://localhost:8080/logbook1 everything is fine. We get a
window "Authentication required" and type in simply the read password, no
user name.
If we choose http://localhost:8080/logbook2 the behaviour is different. We
see the window "Authentication required" appear, then Opera crashes.
Change of the read passwords did not change this erroneous behaviour. This
problem was not with version ELOG 2.3.4.
In Internet Explorer 6 all is okay.
. NOWRAP tag in Date column
The date column takes quite a lot of space in the logs overview. As the
information is only of secondary importance I would prefer date and time
being wrapped like e.g. the contributors name. Of course, I could help
myself with a in my language file, but this would force a break also
on
the single message view. |
|