Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 574 of 808  Not logged in ELOG logo
    icon2.gif   Re: hosts allow, posted by Stefan Ritt on Mon Dec 11 13:16:32 2017 
Have you set

Resolve host names = 1

in the config file? If it still does not work, run "elogd -v" from the terminal and watch the output. You should see someting like:
icon5.gif   about attachment, posted by Xuan Wu on Fri Jan 12 09:54:41 2018 
Hi all,

Some elog users of our site(CSNS) mentioned some advice about attachment:

1.Can imagemagick create thumbnail for .bmp file now?
icon5.gif   Is there a python3 api to generate logbook entries from python?, posted by markus on Tue Jan 16 09:30:55 2018 
Dear elog community,

I wonder whether there is a python3 api or lib to generate and append entries (and attachments) to the logbook using scripts.
However, so far I did not find anything...
    icon2.gif   Re: Is there a python3 api to generate logbook entries from python?, posted by Stefan Ritt on Tue Jan 16 09:46:04 2018 
There are two options


Wrap the "elog" command line tool 
Use "curl". Ther is a PycURL library http://pycurl.io/docs/latest/ which
can be used, so you don't have to call any command line tool. The usage of curl is described in elog:68597


Stefan
    icon2.gif   Re: Is there a python3 api to generate logbook entries from python?, posted by Andreas Luedeke on Tue Jan 16 10:13:00 2018 
Have a look here: https://github.com/paulscherrerinstitute/py_elog

I haven't tried it myself, but it should allow you to add, reply, edit, delete elog entries from python (>= 3.5) via the http elog interface.
It's an anaconda package.
    icon2.gif   Re: Is there a python3 api to generate logbook entries from python?, posted by markus on Wed Jan 24 07:54:47 2018 
Thanks Andreas!
This is more or less exactly what I was looking for...

Regards
icon4.gif   Entries disappear after editing, posted by Peter K on Sat Jan 27 03:37:11 2018 
Dear elog community,

We have a problem with elog V3.1.2-bd75964.
Sometimes entries disappear from the list after editing.
    icon2.gif   Re: Entries disappear after editing, posted by Stefan Ritt on Mon Jan 29 09:14:35 2018 
Drafts are message which somebody started to edit, but did not complete, like leaving the page without saving. If you don't like this, you can set
"save drafts = 0".

The locking has a similar background. If you have locking on (vis "Use lock = 1"), then one person can "lock" a message,
ELOG V3.1.5-3fb85fa6