Entries disappear after editing + UTF16 problem, posted by Peter K on Wed Jan 31 09:06:10 2018
|
I found a sequence which hides the message from the list.
In addition this sequence corrupts UTF encoding of the text.
create new message
submit it
Edit this message again
click SAVE and then exit the editor (click Logbook |
Re: Entries disappear after editing + UTF16 problem, posted by Stefan Ritt on Thu Feb 1 10:34:42 2018
|
The message is not lost, but becomes a "draft". This works similar in most email systems. When you edit an email and son't send it, it
stays in your "draft" email folder and does not show up in your "sent" folder. Same here. You are suppost to "submit" you
entry, the "save" is just a temporary safety backup. If you do not submit (if you press BACK or your browser crashes), the entry is not submitted |
Re: Entries disappear after editing + UTF16 problem, posted by Peter K on Thu Feb 1 14:55:24 2018
|
Dear Stefan,
Thanks for quick reply.
I checked List drafts = 1 in config file - it does not show drafts in the list in my case. |
Re: Entries disappear after editing + UTF16 problem, posted by Stefan Ritt on Fri Feb 2 08:31:35 2018
|
You might have to update to the current elog version. This feature was implemented in Dec. 2016.
Stefan
Peter |
Re: Entries disappear after editing + UTF16 problem, posted by Peter K on Tue Feb 6 10:15:29 2018
|
We installed our elog from .apk in November 2017.
Version V3.1.2-bd75964
I suppose it already contains List drafts feature. |
Re: Entries disappear after editing + UTF16 problem, posted by Stefan Ritt on Tue Feb 6 10:23:26 2018
|
The -bd... number must be from the .apk package, which I don't have control over. You have to check the elog git hash code. You see it at the bottom
of each elog web page. For this forum server, it's ELOG V3.1.2-7933898 with
7 digit number at the end. |
Re: Entries disappear after editing + UTF16 problem, posted by Peter K on Wed Feb 7 14:22:23 2018
|
yes, that is exactly where I got this V3.1.2-bd75964 version!
Do you recommend to download it again from your site and compile?
Stefan |
Re: Entries disappear after editing + UTF16 problem, posted by Stefan Ritt on Wed Feb 7 14:26:01 2018
|
Tell me your current seven digit number and I can check if your version is too old.
Peter
K wrote:
yes, that is exactly where I got this V3.1.2-bd75964 version! |
Re: Entries disappear after editing + UTF16 problem, posted by Andreas Luedeke on Wed Feb 7 15:28:47 2018
|
Hi Stefan,
I think there is a misunderstanding: there is an ELOG commit with the GIT ID bd75964.
It is from Sep. 2016,
so: Peter, you should download a newer version.
Cheers
Andreas
https://bitbucket.org/ritt/elog/commits/all?search=bd75964
Stefan Ritt
|
Re: Entries disappear after editing + UTF16 problem, posted by Peter K on Thu Feb 8 15:09:42 2018
|
Dear Stefan and Andreas,
We have updated our elog to V3.1.3-7933898, now I see the drafts in
the list! |
v3.1.3 does not work with logbooks from v2.9.2?, posted by Yves on Thu Feb 1 03:12:03 2018 
|
I have just upgraded elog from 2.9.2 -> 3.1.3.
3.1.3 runs fine with new logbooks. However, when trying to run 3.1.3 with my logbooks created with 2.9.2 things stop working.
Here is the command I run for testing [attachment 1]: first of all it takes a very long time (~ 10 minutes) for it to index the logbooks. When |
Re: v3.1.3 does not work with logbooks from v2.9.2?, posted by Andreas Luedeke on Thu Feb 1 10:14:55 2018
|
Hi Yves,
just my two pence, maybe they help you to figure out what's going on:
versions 2.* had all entries of one
logbook in one directory. Version 3.* create a subdirectory for each year. This had been added for me: if you use AFS for logbook storage, then you have
a limit on how many files you can put into a single directory.
So the first time you start elogd 3.* with data from an elogd 2.* it should |
Re: v3.1.3 does not work with logbooks from v2.9.2? - solved, posted by Yves on Fri Feb 2 00:02:54 2018
|
Hi Andreas,
Thanks - you pointed me in the right direction. It appears that my logbooks were a combination of the two versions. I had all the year-directories
(version 3) but also all the entry files in the main logbook directory. Seems version 2 does not care but version 3 does not like it. After carefully checking |
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, |
Re: Entries disappear after editing, posted by Peter K on Tue Jan 30 14:26:24 2018
|
Thanks for fast response!
I LIKE locking and saving drafts.
The only problem is that the locked message disappeared from the list. |
Re: Entries disappear after editing, posted by Stefan Ritt on Tue Jan 30 14:35:23 2018
|
I also experienced various sproradic issues with locking, so I usually keep it off.
Stefan
Peter |
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 |
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 |
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 |
Drop down order, posted by Alan Grant on Mon Jan 15 16:46:58 2018
|
Can you please make a change to have the Quick Filter ComboBox controls reference the field type for ordering purposes?
For example, if attribute Lot Number is Type Numeric then the ComboBox should be listed in numerical order instead of alphanumeric (eg: 1,2,3,11,21
vs 1,11,2,21,3). |
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 |
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 |
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? |