Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 179 of 806  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  68959   Thu May 2 09:47:41 2019 Reply Alessio Sartialessio.sarti@uniroma1.itBug reportMac OSX3.1.4Re: elogd Service exited with abnormal code: 1

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.

Thanks a lot again.

Stefan Ritt wrote:

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 again, please report the line number in elogd.c like here (where it is 19021:7):

frame #8: 0x000000010006a7ac elogd`build_ref(ref="page6?&sort=Subject", size=256, mode="full", expand="", attach="", new_entries="") at elogd.c:19021:7

Good luck!

Stefan

 

  68980   Tue May 21 11:57:50 2019 Question Antonio Bulgheroniantonio.bulgheroni@gmail.comQuestionWindows3.1.4How to pre-fill an attribute that was added later

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? 

 

Thanks for your help and best regards,

toto

  68981   Tue May 21 12:08:17 2019 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows3.1.4Re: How to pre-fill an attribute that was added later

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 Bulgheroni wrote:

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? 

 

Thanks for your help and best regards,

toto

 

  68982   Tue May 21 12:51:08 2019 Reply Antonio Bulgheroniantonio.bulgheroni@gmail.comQuestionWindows3.1.4Re: How to pre-fill an attribute that was added later

Thanks, it worked great! 

Stefan Ritt wrote:

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 Bulgheroni wrote:

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? 

 

Thanks for your help and best regards,

toto

 

 

  68983   Tue May 21 15:05:25 2019 Question Marcel Krenzkrenz@fhi-berlin.mp.deQuestionWindows3.1.4Write by a .dll instead of the elog.exe

Dear All,

 

is it possible to write to the elog instead of the Command line throug a .dll

 

Best

MK

  68985   Tue May 21 17:20:19 2019 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows3.1.4Re: Write by a .dll instead of the elog.exe

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 also a curl library containing the same functionality. See https://curl.haxx.se/windows/

Marcel Krenz wrote:

Dear All,

 

is it possible to write to the elog instead of the Command line throug a .dll

 

Best

MK

 

  68986   Fri Jun 14 11:29:30 2019 Warning Sebastian Schenksebastian.schenk@physik.uni-halle.deBug reportAll3.1.4Find cannot find values with brackets

For demonstration, I created https://elog.psi.ch/elogs/Linux+Demo/8

The Find search for category aaa(bb) does not give results.
A quick filter corrects the value to aaa\(bb) and delivers results.

I made a simple fix and submitted it as PR to the bitbucket repository.

  68987   Fri Jun 14 12:43:04 2019 Reply Stefan Rittstefan.ritt@psi.chBug reportAll3.1.4Re: Find cannot find values with brackets

I‘m happy to merge the PR after a quick test next week.

Stefan

Sebastian Schenk wrote:

For demonstration, I created https://elog.psi.ch/elogs/Linux+Demo/8

The Find search for category aaa(bb) does not give results.
A quick filter corrects the value to aaa\(bb) and delivers results.

I made a simple fix and submitted it as PR to the bitbucket repository.

 

ELOG V3.1.5-3fb85fa6