Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 436 of 808  Not logged in ELOG logo
icon4.gif   Unsafe browsing, posted by Tim Schelfhout on Mon Jan 15 15:56:07 2018 
Hello there,

Can anyone point out to me how I can avoid the unsafe browsing when accessing our local ELOG?  
Browsing with chrome and always getting the unsafe browsing page. One has to go through the advanced
    icon2.gif   Re: Unsafe browsing, posted by Stefan Ritt on Mon Jan 15 16:27:19 2018 
Safety is getting more and more an issue these days. Normal browsers don't accept self-signed certificates any more. One possibility is to get a
certificate from https://letsencrypt.org/

Stefan
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.
icon5.gif   Adding New User Failed During Email Send, posted by Jason Moore on Wed Jan 17 18:11:49 2018 
The following error occured during the addition of new user, first time this occured:

"Cannot send email notification to "xxx@xxx.com" Sender address rejected: Domain not found

Please use your browser's back button to go back
    icon2.gif   Re: Adding New User Failed During Email Send, posted by Stefan Ritt on Wed Jan 17 19:51:49 2018 
This error comes from your email SMTP server, not from elog. It complains about the email address xxx@xxx.com which refers to a nonexisting domain. Just
read the message.

Stefan
    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
ELOG V3.1.5-3fb85fa6