Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 48 of 238  Not logged in ELOG logo
icon5.gif   Elog not see image magick, posted by Daniel Sajdyk on Wed Nov 30 14:32:00 2016 
Hello.

I finally try add ImageMagick to ELOG.

I downloaded latest version (ImageMagick-7.0.3-Q16) and installed it. Everything looks ok, but when I start Elog service it says that "ImageMagick
    icon2.gif   Re: Elog not see image magick, posted by Stefan Ritt on Wed Nov 30 14:53:41 2016 
The detection in elogd works by executing the command "convert" and check if the program executes. If you start elogd as a service, the program
might see another path variable. Maybe reboot Windows or start the service in the environment of a real user instead of system, where it might miss your
modified "path".
       icon2.gif   Re: Elog not see image magick, posted by Daniel Sajdyk on Tue Dec 6 13:48:48 2016 
Ok. It take me a while, but I reinstalled ImageMagick with marked option "convert". Now, when I start elog, it can see ImageMagick, but
screenshots attached to elog entries are still in original sizes. And, I don't see buttons for rotating, resizing images. 

I look into elog cfg options, but only what I found is Thumbnail size which, it looks, don't work.
          icon2.gif   Re: Elog not see image magick, posted by christian on Mon Mar 27 11:11:31 2017 
Hi,

Maybe the post is outdated already, but I want to share my experience anyway. I faced the same problem as Daniel: The most recent ImageMagick
package was not detected by elogd even though it was installed. I could trace back the problem to the following issue:
             icon2.gif   Re: Elog not see image magick, posted by christian on Mon Mar 27 12:42:07 2017 
Update:

While the image scaling via ImageMagick works when running elog manually it doesn't when running elog as a service. The service
is hosted in the same user environment that allows image scaling with elog started manually. What else could go wrong?
                icon2.gif   Re: Elog not see image magick, posted by Stefan Ritt on Wed Apr 5 13:16:34 2017 
Must be your PATH environment variable. You have usually different paths when running interactively or as a service. Try to change the path seen by services,
or put the ImageMagick executable in the same directory as elogd.

Stefan
                   icon2.gif   Re: Elog not see image magick, posted by christian on Fri Apr 7 09:58:33 2017 
This I do not fully understand: To my understanding the PATH environment variable (includes the ImageMagick path) is a system variable
and should be accessable from any account and should be valid under any conditions. Am I wrong? Additionally, I tried adding the system
Path variable to the user specific variables for that user that runs the service (Path = %Path%) in the system settings. Finally, I tried copying the imdisplay.exe
                      icon2.gif   Re: Elog not see image magick, posted by Stefan Ritt on Fri Apr 7 10:22:03 2017 
I don't undersand myself fully how services see the environment. Like if they see the PATH at all. In some occations it helped to run the service
not under the SYSTEM account, but under the (admin) account of a real user.

Stefan
                         icon2.gif   Re: Elog not see image magick, posted by Stefan Ritt on Fri Apr 7 10:24:31 2017 
Ah sorry. I recall now: Under Windows, calling subprocesses from a service does not work at all. After a couple of days of work I was not able to get
this running. If somebody has some idea, I'm happy to try it. So most people use the elogd daemon in the background only under Linux.

Stefan
                            icon2.gif   Re: Elog not see image magick, posted by christian on Fri Apr 7 11:46:09 2017 
Ok, this explains why it doesn't work.

Thank you for the support anyway. ELOG is a great piece of software.

Christian
icon5.gif   pre defined Find as Home page, posted by Paraic Fahey on Fri Mar 24 15:36:55 2017 
This command makes the Homepage a FIND page: Start page = ?cmd=Find

My question is: can we pre-populate some of the search fields and execute the search so that the homepage becomes the SEARCH RESULTS
    icon2.gif   Re: pre defined Find as Home page, posted by Andreas Luedeke on Thu Apr 6 11:01:30 2017 
It's very simple, no need for the find command. E.g.: Start page = ?Author=luedeke&Category=Question&mode=summary

in this forum would do https://midas.psi.ch/elogs/Forum/?Author=luedeke&Category=Question&mode=summary




Paraic
icon5.gif   Elog stopped working, posted by John Becker on Wed Mar 29 14:48:40 2017 
Dear all,

 

I have elog version 3.12-bd75964 installed on an Ubuntu OS. We started working with it yesterday and today I was informed that the users could
    icon2.gif   Re: Elog stopped working, posted by David Pilgram on Wed Mar 29 15:11:22 2017 
I don't know if you can get elog to generate a log file - check the documentation, I don't bother.  But I do have some experience with this
matter.

There are two related circumstances I know of that can arise which will cause elog to crash.
    icon2.gif   Re: Elog stopped working, posted by Andreas Luedeke on Thu Mar 30 09:14:13 2017 
I have a crontab set-up for root:

crontab -e

* * * * *       if ! ps -C elogd >/dev/null;then /sbin/service elogd restart;fi
icon5.gif   Issue with zero-length mail attachments, posted by Andrew Daviel on Sat Mar 18 02:10:33 2017 
We have elog-2.7.5-1.i386 on SL 5

If I create an elog entry using the web interface, and include an inline image,  email is sent with a zero-length named attachment - the
MIME header is present, but no content.
    icon2.gif   Re: Issue with zero-length mail attachments, posted by Andrew Daviel on Mon Mar 20 22:44:27 2017 
 




Andrew
Daviel wrote:



We have elog-2.7.5-1.i386 on SL 5
icon7.gif   Possible misuse of email headers Message-Id and In-Reply-To, posted by fbretel on Wed Feb 8 16:38:15 2017 
Hi,

As mentionned before, we happen to fail to receive email messages related to updates on
elog entries at our site. My understanding is that the SMTP header Message-Id MUST be unique for each email message. Whereas all elogd email
    icon2.gif   Re: Possible misuse of email headers Message-Id and In-Reply-To, posted by Stefan Ritt on Wed Feb 8 18:16:30 2017 
A pull request would be highy appreciated, because you can then test it thoroughly on your side. Adding a random number to the message id is simple.
"Reply-to" indeed does not make sense since elog cannot receive emails. Most sites use a generic "noreply@<domain>" to indicate
to the user that a reply does not make sense. I guess the "Reply-to" does not have to be unique, right?
       icon2.gif   Re: Possible misuse of email headers Message-Id and In-Reply-To, posted by fbretel on Wed Mar 15 16:04:13 2017 
Pull-request posted. Cheers.
          icon2.gif   Re: Possible misuse of email headers Message-Id and In-Reply-To, posted by Stefan Ritt on Wed Mar 15 16:42:35 2017 
Pull-request merged.




fbretel
wrote:



Pull-request posted.
icon5.gif   Is it possible change content of the notifying mail content (attachements...) ?, posted by Christine Quicot on Tue Feb 7 18:45:08 2017 
Hello all,

I would like to configure the email that is sent to notify users, when an entry is submitted:

- Is it possible to attach to the mail the files attached to the entry ?
    icon2.gif   Re: Is it possible change content of the notifying mail content (attachements...) ?, posted by Stefan Ritt on Tue Feb 7 18:54:00 2017 
Please look in the manual under "Email Format" and "Use Email Subject".




Christine
Quicot wrote:



Hello all,
       icon2.gif   Re: Is it possible change content of the notifying mail content (attachements...) ?, posted by Christine Quicot on Wed Feb 8 09:34:39 2017 
Hello,

I'm sorry but that's a part of the manual I've read many times, and I'm not interested in changing the subject of the email,
but only body and attachements.
          icon2.gif   Re: Is it possible change content of the notifying mail content (attachements...) ?, posted by Stefan Ritt on Wed Feb 8 13:09:58 2017 
I'm sorry but you are only half right. The mail contenct cannot be changed. But if your email notifications are sent as HTML, they contain a 1:1
copy of the elog entry, which does not make sense to change. For the attachment to be attached to the email, you need the flags of "Email Format".
The default there is 63, which means that elog attachments ARE sent as mail attachments.
icon6.gif   calculate diff of 2 date(s), posted by Alex Kühnel on Wed Sep 28 18:48:04 2016 
hi

I have an elogsystem for documenting emergency services. I have a starttime and an endtime. Is it possible to calculate the diff between the
2 timestamps and convert it to minutes?
    icon2.gif   Re: calculate diff of 2 date(s), posted by Alex Kühnel on Fri Sep 30 11:21:44 2016 
I found the solution in the forum :-)

subst Einsatzzeit = $shell(/usr/local/elog/diff.sh \"$Einsatzbeginn\" \"$Einsatzende\")

and diff.sh is
       icon2.gif   Re: calculate diff of 2 date(s), posted by Alex Kühnel on Fri Sep 30 11:25:08 2016 
is ist possible that subst only works for the initial create of a logbook entry? when I change/edit one of the parameter "Einsatzbegin"
or "Einsatzende" the "Einsatzzeit" is not changed.

regards
          icon2.gif   Re: calculate diff of 2 date(s), posted by Stefan Ritt on Fri Sep 30 12:33:38 2016 
There is the "subst on edit = ..." option you should use in addition.

Stefan




Alex
             icon2.gif   Re: calculate diff of 2 date(s), posted by Alex Kühnel on Mon Oct 3 10:01:53 2016 
thx!




Stefan
Ritt wrote:



There is the "subst on edit = ..." option you should use in
icon5.gif   How can change the justification of a column?, posted by fabio vitale on Mon Jan 30 17:52:20 2017 
It is possible to change the justification for a column/attribute in the list mode (left-aligned, centered, right-aligned)?

Right now Elog treats each colum of a list as centered,

 
    icon2.gif   Re: How can change the justification of a column?, posted by Stefan Ritt on Mon Jan 30 17:58:11 2017 
You can do that chaning the CSS of the underlying theme. But you need some experience with CSS.




fabio
vitale wrote:



It is possible to change the justification for a column/attribute
       icon2.gif   Re: How can change the justification of a column?, posted by fabio vitale on Mon Jan 30 18:30:30 2017 
I need to set text-align:left but only for an attribute in the List mode, For example, say that FirstName column must be left justified in list view.
What is the name of the cell content in the default elog.css?




Stefan
          icon2.gif   Re: How can change the justification of a column?, posted by Andreas Luedeke on Tue Jan 31 08:42:54 2017 
You might tell your browser to show you the source code of an ELOG page in list mode. There you'll find the class name you're looking for.

Cheers, Andreas




fabio
          icon2.gif   Re: How can change the justification of a column?, posted by Stefan Ritt on Tue Jan 31 09:20:07 2017 
The CSS class for the list display table "listframe". If you want the second column to be left-aligned, you put following into elog.css:

.listframe td:nth-child(2) {
   text-align:left;
             icon2.gif   Re: How can change the justification of a column?, posted by fabio vitale on Tue Jan 31 18:10:29 2017 
Thank you Stefan: it worked!

Now I am wondering if there is some syntax to force this behaviour at the attribute level in elog.cfg, without the need to modify the css, I
mean simply based on the attribute name (not its content). The syntax Style <attribute> <value> = <style>
                icon2.gif   Re: How can change the justification of a column?, posted by Stefan Ritt on Tue Jan 31 21:38:44 2017 
This is currently not possible.

/Stefan




fabio
ELOG V3.1.5-3fb85fa6