Re: elogd Service exited with abnormal code: 1, posted by Alessio Sarti on Tue Apr 30 14:07:52 2019
|
Actually it is a little bit more difficult than that.
I have restarted elogd and got a crash but this time it seems related to a different logbook...
Below the stack trace.. |
Re: elogd Service exited with abnormal code: 1, posted by Stefan Ritt on Wed May 1 10:59:59 2019
|
Ok, that helped. It looks to me that the strlcpy() function from MacOSC does not like overlapping stings as parameters. Funny that this does not happen
on my Mac (Mojave 10.14.4). I fixed the two cases you reported (lines 18712 and 19021) and committed the changes to bitbucket, from where you can pull
and test it again (see https://elog.psi.ch/elog/download.html for instructions). If it happens |
Re: elogd Service exited with abnormal code: 1, posted by Alessio Sarti on Thu May 2 09:47:41 2019
|
Thanks a lot for providing a quick fix!
The elog is now happily running since two days without problems :)
I will get back to you in case anything else shows up. |
How to pre-fill an attribute that was added later, posted by Antonio Bulgheroni on Tue May 21 11:57:50 2019
|
Dear all,
I have a question about my logbook. I have recently added a new attribute to my logbook and I would like to prefill all previous entries with
a fixed value for this field. Is it possible? |
Re: How to pre-fill an attribute that was added later, posted by Stefan Ritt on Tue May 21 12:08:17 2019
|
Find all entries which have this attribute empty. Then click on Select, then select all, then click on Edit, then change all values. There might be a
limit how many entries you can select in one go, so you might have to do it in bunches.
Antonio |
Re: How to pre-fill an attribute that was added later, posted by Antonio Bulgheroni on Tue May 21 12:51:08 2019
|
Thanks, it worked great!
Stefan
Ritt wrote:
Find all entries which have this attribute empty. Then click on Select, |
Write by a .dll instead of the elog.exe, posted by Marcel Krenz on Tue May 21 15:05:25 2019
|
Dear All,
is it possible to write to the elog instead of the Command line throug a .dll |
Re: Write by a .dll instead of the elog.exe, posted by Stefan Ritt on Tue May 21 17:20:19 2019
|
I presume you want to write from another program. You can call a command line shell (done via the "system()" command under C) which then calls
the elog executable. If you absolutely want a DLL, you can einter try to compile one yourself using the fuctions in elog.c, or use the curl DLL with which
you can also submit elog entries. See elog:68597 for usage of curl. While curl is usually executed from the command line, there is |