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: |
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? |
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... |
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 |
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. |
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 |
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. |
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, |