Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 363 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subject
  66913   Wed Sep 22 14:30:53 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionWindowsV2.8.0-231Re: Error Message in "Demo of database-like elog"

Robert Heine wrote:

Stefan Ritt wrote:

 

mike cianci wrote:

I attempted to remove the text editor (like you did in "Demo of database-like elog") using  "Show text = 0".

In both your Demo and my logbook when you hit  "New"  - Explorer generates the folowing error message

        Error: The Textarea with id or name set to "text" was not found.

Is there a solution or do we just live with it.

Thanks,    Mike

 

Thanks for reporting that bug. I fixed it in SVN revision 2188, and the fix will be contained in the next release. 

 I am getting the same message in the current version (V2.8.0-2312), if the "Preset text"  text body contains the equal sign '='. Then this message pops up and the HTML-editor dosn't show its menu bars, with the elog- or plain text editor this does not happen. It happens as well with firefox as with internet explorer.

 

best regards

Robert

I found a bug there, but am not 100% sure if it fixed your problem. Can you please try the current SVN version 2331? I made a new intermediate release elog280-4.exe for you. 

  66912   Wed Sep 22 14:21:50 2010 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.8.0Re: elog 2.8.0 as daemon crashes when editing selected threaded list

Mark Bergman wrote:

I recently upgraded elog from 2.7.8 to 2.8.0 (and moved servers, removed unused logbooks, etc.). I'm now having a problem where elog consistently crashes when attempting to edit multiple entries. This is a very common use case, as we use a "status" field, set to "open" or "closed" to track problems. When a problem is resolved, we will go to the "list" display, set it to "threaded", "select" the thread, and then edit it, to change the status field for all posts in the thread to "closed".

Now, as soon as the "edit" button is clicked, elog crashes. This happens on every thread and logbook that I've tried. The elog logfile itself doesn't show anything useful.

However, if eLog is run with "-v" in place of "-D", it does not crash.

 

Environment:

        CentOS 5.4

        eLog 2.8.0 built Aug  5 2010, 12:24:11

 

I tried to reproduce your problem with following simple configuration file:

[Bergman]
Attributes = Author, Status
Options Status = open, closed
Preset Author = $long_name

 

The result was that it worked fine (see attachments). Maybe there is another setting in your configuration file which causes the problem. Can you try the simple configuration and see if it still crashes?

  66911   Mon Sep 20 14:54:21 2010 Reply Stefan Rittstefan.ritt@psi.chInfoLinux2.8.0Re: Cannot bind to port 8080

marco meneghelli wrote:

good morning,

I have installed elog 2.8.0 from terminal but when I type

elogd -p 80

or simply

elogd

the system tells me

Cannot bind to port 8080

Can someone help me?

Thanks

Marco M

Under linux, only the "root" user can start programs on ports below 1024. If you get problems binding to ports above 1024 (such as 8080) it means that some other program uses already that port. You can check what is running usually with

netstat -l -p

 

  66910   Fri Sep 17 14:54:51 2010 Angy marco meneghellimarco.meneghelli@bo.infn.itInfoLinux2.8.0Cannot bind to port 8080

good morning,

I have installed elog 2.8.0 from terminal but when I type

elogd -p 80

or simply

elogd

the system tells me

Cannot bind to port 8080

Can someone help me?

Thanks

Marco M

  66909   Fri Sep 17 06:19:39 2010 Idea Stefan Rittstefan.ritt@psi.chInfoAll2.8.0-2328Custom input forms implementation

Dear ELOG users,

starting with SVN revision 2328, custom input forms are implemented. This allows application specific formats for check lists etc. In our specific case we had to implement a shift check list, which was quite long. Furthermore the check list should be optimized for an iPad, which we take in the field and record various checks and readings (in our case some gas pressure gauges at the PSI particle accelerator). Since the standard ELOG interface was too inflexible, a completely hand-written form was needed. The form can be activated by the new configuration options Custom New Form, Custom Edit Form and Custom Display Form, one for a new entry, an entry to edit and and entry to display. In our case we used the same form for all three cases. This is how the shift check list looks under the Safari Browser on a PC:

Capture.png 

And here is how it looks on the iPad:

IMAG0036.jpg

Each section can be collapsed and expanded (blue arrows at the left), and various internal checks are made before the check list can be submitted.

Implementing such forms is however more something for the advanced user, since you have to hand-write HTML with CSS and JavaScript code. It can then however be a powerful method for check lists. Please find in the attachments the elogd.cfg configuration for that logbook and the shiftcheck.html source code file. It is a bit complicated since the page is a static page, elogd just serves it from the file. This requires all the dynamic functions to be implemented inside the HTML file with JavaScript. To display an entry for example, the JavaScript loads the raw data with the "?cmd=Download" command and the populates the form fields. The collapsing and expanding is done by using CSS properties. The integrated style sheet was optimized for the rendering on an iPad. Rather large fonts were chosen so that the items can be checked easily with your finger tips. Various parameters are sent between the browser and the elogd program via hidden fields and cookies. So only something for experts! But if you go through the effort and hand-write the form, it can be very handy. Note that you have to upgrade to SVN revision 2328 for the three new options.

 

  66908   Fri Sep 17 00:59:16 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.8Re: Action after message submission

Mike Zuber wrote:

Is it possible to automatically go back to the list view in summary mode after submitting a new message instead of displaying the new message?

I know it's possible to display a page from a file after submitting a new message  by using "Submit Page = <file>". 
It would be nice to be able to use a command like "Submit Page = <command>" where I could insert "?cmd=Back" as in the "Start page" command.

Thanks,

Mike

I just implemented a new flag "List after submit = 1" which does exactly this. It brings you to the summary page after the submission of a new entry. I needed the function myself. The change is SVN revision 2327 and will be contained in the next release. 

  66907   Wed Sep 15 22:40:52 2010 Question Mike Zubermdz0739@yahoo.comQuestionWindows2.8Action after message submission

Is it possible to automatically go back to the list view in summary mode after submitting a new message instead of displaying the new message?

I know it's possible to display a page from a file after submitting a new message  by using "Submit Page = <file>". 
It would be nice to be able to use a command like "Submit Page = <command>" where I could insert "?cmd=Back" as in the "Start page" command.

Thanks,

Mike

  66906   Wed Sep 15 01:54:56 2010 Reply David PilgramDavid.Pilgram@epost.org.ukQuestionLinux | All2.8.0-2313Re: Searching Logbooks
Hi Stefan,

I was rather hoping that was *not* going to be your answer.

I much prefer the plain ascii file format, for it allows me to edit it for "mistakes" post submission, 
shall we say. 

> > Hi Stefan,
> > 
> > I'm starting to get a similar problem to Lance's ("SQL Database").  Searching is beginning to take time.
> > 
> > In searching, I either can search one logbook (still relatively quick), or all of them.
> > 
> > I have my logbooks in groups, and often I know which group I want to search, and it would make the searching
> > much quicker were the search confined to just that group.  I don't think I've missed anything in the
> > documentation on this matter.  
> > 
> > If not a change to the elog program, is there another way of (say) arranging the logbooks that will achieve this?
> 
> You can't do that right now. I would have to extend the functionality to allow searching in groups. Also have a look 
> at https://midas.psi.ch/elogs/Forum/66901. Maybe that helps a bit in meantime.
ELOG V3.1.5-3fb85fa6