Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 26 of 238  Not logged in ELOG logo
icon5.gif   Upload attachment with py_elog, posted by Bruno Schuler on Tue Oct 20 16:05:40 2020 

Hello,

How can one add an attachment to a new or existing entry with py_elog?
E.g. if I want to upload an image.

Thanks for the help!

icon5.gif   Up-to-date windows-version, posted by Sergei Gavrilov on Sun Oct 18 16:59:38 2020 

Dear colleagues,
Can someone compile an up-to-date windows-version or write a manual how to do it in Windows without compiling errors?
Thank you.

icon5.gif   Is it possible to visually group attributes with border, posted by Daniel Sajdyk on Thu Oct 8 12:29:55 2020 Elog_question_about_group_attributes.jpg

Hello,

I'm working on new logbook and in one category I'll have many attributes (many more than in attached screenshot).

So here is my question. Is it possible to visually group such attributes with some border, or something like that?

In screenshot you can see what I want to achieve.

Best Regards

Daniel

    icon2.gif   Re: Is it possible to visually group attributes with border, posted by Stefan Ritt on Thu Oct 8 12:40:52 2020 

Nope, this is not possible. Sorry.

Stefan

Daniel Sajdyk wrote:

Hello,

I'm working on new logbook and in one category I'll have many attributes (many more than in attached screenshot).

So here is my question. Is it possible to visually group such attributes with some border, or something like that?

In screenshot you can see what I want to achieve.

Best Regards

Daniel

 

icon5.gif   moving eLog to another computer, posted by Ekaterina Korobkina on Wed Sep 30 18:57:44 2020 

Our Unix server died, so we decided to move our old eLog to the new server, running Mac OSX. Elog version is earlier then 2013, I can not say

I read that on OSX  eLog must be intalled through "make" command

if I need to install eLog first, how to add all old information later?

 

    icon2.gif   Re: moving eLog to another computer, posted by Andreas Luedeke on Sat Oct 3 11:08:27 2020 
  • you need to copy your logbooks into the "logbooks" directory.
  • you need to copy your elog.cfg logbook config file to the new elog folder and reference it at start-up (something like "elogd -c /usr/local/elog/elogd.cfg ...")

Some people modify other stuff (CSS, java scripts) but if you had you would know what you did.

If the old ELOG was a 2.x version and the new is 3.x, then on the first start-up all logbook data files are copied into sub-folders for each year.
This is only done (automatically) during the first start-up, afterwards you can not use a 2.x version anymore (you won't want that anyway).

Ekaterina Korobkina wrote:

Our Unix server died, so we decided to move our old eLog to the new server, running Mac OSX. Elog version is earlier then 2013, I can not say

I read that on OSX  eLog must be intalled through "make" command

if I need to install eLog first, how to add all old information later?

 

 

icon4.gif   Loose of Data, posted by Lahreche Abdelmadjid on Sun Sep 27 16:03:48 2020 

Hi,

Since few days I Notice that I've some data who disappear from ELOG (software).

I find them on ELog/Logbooks, but can't view them in the application ELOG !

Is there a solution ?

Thanks.

    icon2.gif   Re: Loose of Data, posted by Lahreche Abdelmadjid on Sun Sep 27 16:10:06 2020 

Oh! I can view all data but only from the PC where ELOG is Installed !

From the other PC data missed.

Lahreche Abdelmadjid wrote:

Hi,

Since few days I Notice that I've some data who disappear from ELOG (software).

I find them on ELog/Logbooks, but can't view them in the application ELOG !

Is there a solution ?

Thanks.

 

       icon2.gif   Re: Loose of Data, posted by Lahreche Abdelmadjid on Sun Sep 27 16:40:16 2020 

The solution is in the reindex 

Lahreche Abdelmadjid wrote:

Oh! I can view all data but only from the PC where ELOG is Installed !

From the other PC data missed.

Lahreche Abdelmadjid wrote:

Hi,

Since few days I Notice that I've some data who disappear from ELOG (software).

I find them on ELog/Logbooks, but can't view them in the application ELOG !

Is there a solution ?

Thanks.

 

 

icon5.gif   Bug report. "Submit" button misbehave, posted by Andrey on Tue Sep 22 18:54:04 2020 

Hi. 

I am an IT guy of the AMS collaboration at CERN. We have been using your wonderful elog software for about 10 years now. Thanks! It served us so well that I guess we never got in touch with you. 

Recently we have upgraded it (probably for the first time in years) up to the version ELOG V3.1.4-4936b76.

Since then, we have a particular problem. And finally, I managed to reproduce it.

So, when I edit a record and click the "Submit" button it goes back to the summary view (as usual, as before) but it does not really save the entry. And it shows that the record is still being edited. I can actually click "back" in the browser and not to lose the modifications (otherwise, if I try to edit and steal the lock, it's lost). 

I will try to figure out where the problem is coming from. The most verbose mode of the elog server I've found is just GET-POST lines, not helpful. Is there a debug mode? 

Also, we ran httpd configured with the elogd as a virtual host (proxy).

Any help is very appreciated. 

Cheers, 

Andrey

 

    icon2.gif   SOLVED, posted by Andrey on Wed Sep 23 11:51:57 2020 

Hi again. We have solved our problem! 

It was caused by a non-defined mod_auth_openidc configuration parameter:

# Interval in seconds after which the session will be invalidated when no interaction has occurred.

# When not defined, the default is 300 seconds.

#OIDCSessionInactivityTimeout <seconds>

 

As a guess... This somehow makes elogd to forget a user who is editing an entry. And then, clicking "Submit" button makes elogd to start a new session? 

 

Andrey wrote:

Hi. 

I am an IT guy of the AMS collaboration at CERN. We have been using your wonderful elog software for about 10 years now. Thanks! It served us so well that I guess we never got in touch with you. 

Recently we have upgraded it (probably for the first time in years) up to the version ELOG V3.1.4-4936b76.

Since then, we have a particular problem. And finally, I managed to reproduce it.

So, when I edit a record and click the "Submit" button it goes back to the summary view (as usual, as before) but it does not really save the entry. And it shows that the record is still being edited. I can actually click "back" in the browser and not to lose the modifications (otherwise, if I try to edit and steal the lock, it's lost). 

I will try to figure out where the problem is coming from. The most verbose mode of the elog server I've found is just GET-POST lines, not helpful. Is there a debug mode? 

Also, we ran httpd configured with the elogd as a virtual host (proxy).

Any help is very appreciated. 

Cheers, 

Andrey

 

 

icon5.gif   Query to get values for Attributes, posted by Florian Feldbauer on Mon Sep 21 09:17:52 2020 

Hey,

I'm trying to integrate the Elog into our SlowControl System (Phoebus/EPICS). As a first step I translated the python library to Java. So writing new Entries and viewing them works.
But for Phoebus, you need a list of the possible values for the attributes. Currently this is done via the config file from Phoebus.

Is there a way to get the values also via a query directly from the Elog?

Cheers,
Florian

    icon3.gif   Re: Query to get values for Attributes, posted by Andreas Luedeke on Mon Sep 21 20:03:49 2020 

That would be a nice feature...

If you are good in parsing HTML you can achieve this feature: when you create a new entry "<elog-URL>?cmd=new", you'll get HTML source code that provides you with all possible attribute choices.

Disclaimer: this only works if you don't use Conditional attributes.

Florian Feldbauer wrote:

Hey,

I'm trying to integrate the Elog into our SlowControl System (Phoebus/EPICS). As a first step I translated the python library to Java. So writing new Entries and viewing them works.
But for Phoebus, you need a list of the possible values for the attributes. Currently this is done via the config file from Phoebus.

Is there a way to get the values also via a query directly from the Elog?

Cheers,
Florian

 

       icon2.gif   Re: Query to get values for Attributes, posted by Florian Feldbauer on Tue Sep 22 09:27:45 2020 

Thanks for the tipp. I managed to use XPATH to get the values for my Type and Category attributes!

The API, I'm developing for Phoebus is quiet simple. It currently just supports Author, Subject, Type and Category as attributes and the latter two are just lists of values.

Andreas Luedeke wrote:

That would be a nice feature...

If you are good in parsing HTML you can achieve this feature: when you create a new entry "<elog-URL>?cmd=new", you'll get HTML source code that provides you with all possible attribute choices.

Disclaimer: this only works if you don't use Conditional attributes.

Florian Feldbauer wrote:

Hey,

I'm trying to integrate the Elog into our SlowControl System (Phoebus/EPICS). As a first step I translated the python library to Java. So writing new Entries and viewing them works.
But for Phoebus, you need a list of the possible values for the attributes. Currently this is done via the config file from Phoebus.

Is there a way to get the values also via a query directly from the Elog?

Cheers,
Florian

 

 

icon4.gif   view connecting account, posted by Lahreche Abdelmadjid on Sun Sep 13 09:13:31 2020 

Hi All,

Can I view who is connected to ELOG (I'm the Admin) ?

thank you.

    icon2.gif   Re: view connecting account, posted by Andreas Luedeke on Mon Sep 14 17:25:08 2020 

Yes, you can see that in the logging file, if you turn on logging. You might want to read the manual https://elog.psi.ch/elog/config.html. Here's the relevant excerpt:

  • Logfile = <file>
    This option specifies a filename which logs all login/logout activities and successful user connections for logbooks with user level access. The the logging level (see below) is larger than 1, also read and write accesses can be logged.
  • Logging level = 1 | 2 | 3
    Specifies the logging level. The higher this value, the more information is logged. Default is 2:
    • 1: Log only logins and logouts
    • 2: Log also write accesses
    • 3: Log also read accesses
Lahreche Abdelmadjid wrote:

Hi All,

Can I view who is connected to ELOG (I'm the Admin) ?

thank you.

 

       icon2.gif   Re: view connecting account, posted by Lahreche Abdelmadjid on Tue Sep 15 12:31:09 2020 

Thank you, I found it.

Andreas Luedeke wrote:

Yes, you can see that in the logging file, if you turn on logging. You might want to read the manual https://elog.psi.ch/elog/config.html. Here's the relevant excerpt:

  • Logfile = <file>
    This option specifies a filename which logs all login/logout activities and successful user connections for logbooks with user level access. The the logging level (see below) is larger than 1, also read and write accesses can be logged.
  • Logging level = 1 | 2 | 3
    Specifies the logging level. The higher this value, the more information is logged. Default is 2:
    • 1: Log only logins and logouts
    • 2: Log also write accesses
    • 3: Log also read accesses
Lahreche Abdelmadjid wrote:

Hi All,

Can I view who is connected to ELOG (I'm the Admin) ?

thank you.

 

 

ELOG V3.1.5-3fb85fa6