Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 282 of 808  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  69066   Mon Nov 25 16:25:21 2019 Reply Stefan Rittstefan.ritt@psi.chBug reportMac OSX3.1.4Re: Trouble on Catalina

The Makefile is kind of obsolete, I switched to CMake. So the Makefiel is mostly there as backup. To compile elog, do

elog$ mkdir build; cd build
elog/build$ cmake ..
elod/build$ make install

that should also find your openssl library, since CMake is more clever.

I personally have not yet switched to MacOS Catalina, since I have too many 32-bit programs running there and wait until all of these get updated. Only then I will be able to test elog under Catalina.

Stefan

John S. Haggerty wrote:

I decided to rebuild elog 3.1.4 in Catalina (MacOS 10.15.1), XCode 11.2.1.  As in previous builds, I needed to add to the Makefile pointers to openssl:

CFLAGS += -I/usr/local/opt/openssl/include

LIBS += -L/usr/local/opt/openssl/lib

The make builds cleanly, no errors, no warnings.  After make/make install, elogd segfaults immediately.  I saw the same behavior with the version in gitlab.  I kept my (very) old build and was able to make install it without recompiling and it still works.

I'll crack out the debugger when I have a chance to get more information, but has anyone else seen this problem?  

 

  1797   Wed Apr 5 22:48:49 2006 Reply Steve Jonessteve.jones@freescale.comQuestionAll2.6.1-1684Re: Triggering Re: Triggering $shell question

Steve Jones wrote:
Should this work? rev1684 now allows $shell to pass attribute contents to the shell command and whenever a new entry is submitted or when one Edits/Replys the Subst is triggered, but I would like to be able to trigger this whenever a new value in the options pulldown is selected (assume Risk2 and Risk3 are identical to Risk1). Being able to trigger a regular Preset works fine (like {1} preset Date = $date ) but I would like to trigger the Subst. Maybe a better question, what actions (Subst, Preset, Change, Execute, etc.) I've tried Subst and Preset but not much luck.

##################################################
# Define Risk1
#
Options Risk1 = 10{30}, 20{31}, 30{32}, 40{33}, 50{34}, 60{35}, 70{36}, 80{37}, 90{38}, 100{39} 
{30,31,32,33,34,35,36,37,38,39} Subst TotalRisk = $shell(gawk 'BEGIN{ print $Risk1 + $Risk2 + $Risk3 }' )



Hmm, maybe I can answer my own question - until the form is saved with the new value selected the old values still exist. I guess what I really need is to trigger the $shell anytime a save happens or logentry is pulled in for edit. I think I do the latter with Subst on edit/Subst on Reply, but how on any save?

. . . Except that when I change an options field that has a dependencies, doesn't the javascript force a server-side revalidation?
  67737   Tue Jan 6 09:20:44 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows3.0.0Re: Translation problem

Maybe 

language = indonesia

instead

language : indonesia

???

Banata wrote:

Hello, I try to translate elog using 2.9 version, I never try on 2.9 until new version 3.0 released

I translate 2 files here : elcode_indonesia.html and eloglang.indonesia,

after new version 3.0 I try to load those translation to the latest version using :

Language : indonesia

but language still in English, What I'm missing here?

 

 

 

  67738   Wed Jan 7 08:04:08 2015 Reply Banatajogjacard@yahoo.comQuestionWindows3.0.0Re: Translation problem

sorry, this is the elog.cfg on my server

Theme = default
Comment = Logbook Balai Sabo
Attributes = Author, Category
Options Category = Rutin, Litbang
Required Attributes = Author, Category
Page Title = LOGBOOK
Reverse sort = 1
Quick filter = Date, Category, Author
self register = 1
Time format = %d %B, %Y
Password file = pass.txt
Self register = 1
Admin user = Banata
Allow delete = Banata
Preset Author = $long_name
Locked Attributes = Author
Login expiration = 1000
Restrict edit = 1
Language = indonesia

 

and still I cant load my language, any idea?

 

Stefan Ritt wrote:

Maybe 

language = indonesia

instead

language : indonesia

???

Banata wrote:

Hello, I try to translate elog using 2.9 version, I never try on 2.9 until new version 3.0 released

I translate 2 files here : elcode_indonesia.html and eloglang.indonesia,

after new version 3.0 I try to load those translation to the latest version using :

Language : indonesia

but language still in English, What I'm missing here?

 

 

 

 

  67739   Wed Jan 7 09:07:49 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows3.0.0Re: Translation problem

The Language = ... setting has to be under the [global] section as written in the documentation: http://midas.psi.ch/elog/config.html

Banata wrote:

sorry, this is the elog.cfg on my server

Theme = default
Comment = Logbook Balai Sabo
Attributes = Author, Category
Options Category = Rutin, Litbang
Required Attributes = Author, Category
Page Title = LOGBOOK
Reverse sort = 1
Quick filter = Date, Category, Author
self register = 1
Time format = %d %B, %Y
Password file = pass.txt
Self register = 1
Admin user = Banata
Allow delete = Banata
Preset Author = $long_name
Locked Attributes = Author
Login expiration = 1000
Restrict edit = 1
Language = indonesia

 

and still I cant load my language, any idea?

 

Stefan Ritt wrote:

Maybe 

language = indonesia

instead

language : indonesia

???

Banata wrote:

Hello, I try to translate elog using 2.9 version, I never try on 2.9 until new version 3.0 released

I translate 2 files here : elcode_indonesia.html and eloglang.indonesia,

after new version 3.0 I try to load those translation to the latest version using :

Language : indonesia

but language still in English, What I'm missing here?

 

 

 

 

 

  67740   Fri Jan 9 08:59:38 2015 Reply Banatajogjacard@yahoo.comQuestionWindows3.0.0Re: Translation problem

ah really thanx, this is the one I missed,

oh btw, can I send this language to you?, if you want to add it as distribution on next version maybe, Indonesian language

Stefan Ritt wrote:

The Language = ... setting has to be under the [global] section as written in the documentation: http://midas.psi.ch/elog/config.html

Banata wrote:

sorry, this is the elog.cfg on my server

Theme = default
Comment = Logbook Balai Sabo
Attributes = Author, Category
Options Category = Rutin, Litbang
Required Attributes = Author, Category
Page Title = LOGBOOK
Reverse sort = 1
Quick filter = Date, Category, Author
self register = 1
Time format = %d %B, %Y
Password file = pass.txt
Self register = 1
Admin user = Banata
Allow delete = Banata
Preset Author = $long_name
Locked Attributes = Author
Login expiration = 1000
Restrict edit = 1
Language = indonesia

 

and still I cant load my language, any idea?

 

Stefan Ritt wrote:

Maybe 

language = indonesia

instead

language : indonesia

???

Banata wrote:

Hello, I try to translate elog using 2.9 version, I never try on 2.9 until new version 3.0 released

I translate 2 files here : elcode_indonesia.html and eloglang.indonesia,

after new version 3.0 I try to load those translation to the latest version using :

Language : indonesia

but language still in English, What I'm missing here?

 

 

 

 

 

 

  67741   Fri Jan 9 09:12:12 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows3.0.0Re: Translation problem

Sure.

Banata wrote:

ah really thanx, this is the one I missed,

oh btw, can I send this language to you?, if you want to add it as distribution on next version maybe, Indonesian language

 

  67743   Mon Jan 12 04:04:57 2015 Reply Banatajogjacard@yahoo.comQuestionWindows3.0.0Re: Translation problem

here you go language translation for Indonesia, if you find any mistakes or missing things please contact me

Stefan Ritt wrote:

Sure.

Banata wrote:

ah really thanx, this is the one I missed,

oh btw, can I send this language to you?, if you want to add it as distribution on next version maybe, Indonesian language

 

 

Attachment 1: eloglang.indonesia
ELOG V3.1.5-3fb85fa6