Re: Elog crashes with null Username, posted by Stefan Ritt on Mon Dec 19 12:28:47 2016
|
Ups. This bug must have lingered there since the beginning of time. Funny that nobody noticed in the last ten years or so. I have fixed it in the current
git revision.
Alan |
Re: Elog crashes with null Username, posted by Alan Grant on Mon Dec 19 19:42:05 2016
|
Thanks for the speedy fix.
FYI, our other Elog instances which are running ealrier versions do not exhibit this problem, as I confirmed that entering null
ID/password returns "Invalid Username or password" as expected. This may be why it wasn't mentioned by anyone else before. Maybe something |
Re: Elog source code giving errors when compiling about missing header files, posted by Stefan Ritt on Thu Dec 22 09:41:35 2016
|
You need the netdb.h header file to compile elog. I see that you compile under Windows. You have to make sure that your compiler installation comes with
all header files. The netdb.h file is usually in /usr/include under Unix.
rahul |
Re: elogd crashes during Find and Mirror operations under MacOS, posted by Andreas Luedeke on Tue Jan 3 09:20:23 2017
|
I have no experience with ELOG on OSX, therefore I can only give very vague and indirect support (sorry).
I suggest that you first try
an installation without actual logbook data (just move it to a save place for a while). Does a "find" still crash elogd?
If elogd
is still crashing, you should prune your configuration until it stops crashing. Submit the smallest config here that still crashes the logbook.
Since |
Re: elogd crashes during Find and Mirror operations under MacOS, posted by Stefan Ritt on Tue Jan 3 09:44:18 2017
|
The current GIT revision (c017d07) fixes the problem with
the strlcpy() function (macOS 10.12.2, XCode 8.2). Can you try if that fixes your other problems, too?
Plese remember to use the recursive clone to get that version: |
Re: elogd crashes during Find and Mirror operations under MacOS, posted by Andreas Warburton on Tue Jan 3 12:43:56 2017
|
Stefan
Ritt wrote:
The current GIT revision (c017d07) |
Re: elogd crashes during Find and Mirror operations under MacOS, posted by Andreas Warburton on Tue Jan 3 12:45:13 2017
|
Thank you very much (both Andreas and Stefan)! The build now runs without warnings, and I am now able to do Find operations without crashes. I
still am having some issues with the synchronization, but I suspect that this is elog-content related, so will in the coming days do some more testing
from CERN (where I have higher bandwidth with my home institution in Canada). Incidentally, I had to add a line to Makefile in order to be able to |
Re: elogd crashes during Find and Mirror operations under MacOS, posted by Stefan Ritt on Tue Jan 3 12:58:13 2017
|
Ah, thanks for telling me. I added that to the Makefile. I did not need this because I had in my .profiel following line
export C_INCLUDE_PATH=/opt/local/include
which I need also for other macports-based projects. But having this twice does not hurt. |