Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 193 of 808  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
    icon2.gif   Re: is it possible to have unique attribute ?, posted by Stefan Ritt on Thu Jul 12 18:36:05 2007 

toumbi wrote:
I have an attribute that have to be unique (but i need also to write it myself) , so i would like to be able to create it the first time, and if i try to create it again, i want not be able.
Is there a way to do that ?


That kind of functionality is unfortunately not implemented. All you can do is to use an automatically generated unique attribute with the syntax:
Preset <attribute> = XYZ-####

or similar. Please consult the documentation for details.
    icon6.gif   Re: How to change elog directories in windows, posted by toumbi on Fri Jul 20 16:13:07 2007 

Stefan Ritt wrote:

toumbi wrote:
Maybe The service doesn't have access right , ( i see it is Log on with Local System).


In that case it might help to run elog under your personal account.


I finaly found how to do it.

Replacing Z: by \\server.com\ELOG\ and running the service with my personnal acount


cmd /K net stop elogd

regedit
change ImagePath of HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\elogd to "\\server.com\ELOG\elogd.exe" -D -c "\\server.com\ELOG\elogd.cfg"
close regedit

cmd /k net start elogd
icon3.gif   Boolean, posted by Grant Jeffcote on Fri Aug 3 15:49:05 2007 
Stefan,

I've noticed in the latest release when using the 'Find' page that any boolean expression (tick box) is now shown as '0,1 or unspecified'. Is this intentional? My colleagues are finding it hard to get their heads around what to choose and preferred the old 'Tick Box' option. Have there been changes to the configuration arguments used for Boolean that I've missed?

Thanks
    icon2.gif   Re: Boolean, posted by Stefan Ritt on Fri Aug 3 16:00:42 2007 

Grant Jeffcote wrote:
I've noticed in the latest release when using the 'Find' page that any boolean expression (tick box) is now shown as '0,1 or unspecified'. Is this intentional? My colleagues are finding it hard to get their heads around what to choose and preferred the old 'Tick Box' option. Have there been changes to the configuration arguments used for Boolean that I've missed?


Well, maybe you didn't realize, but searching for boolean attributes never really worked. If you want to search for entries where a boolean is true (or 1), then you could check the tick box in the past. But if you wanted to search for all entries were an attribute was false (not true) you could not do it, because the system assumed you are not interested in an attribute if the tick box was not checked. With the new way, you could either specify 'unspecified' meaning you are not filtering on this attribute, or you can explicitly specify '0', to look for entries where the attribute is false. The best would be to have a three-state tick box, which can be on/off/grayed. Under Windows API this does exist, but not in HTML. So I had to go with the three radio buttons.

Now one could argue how to name boolean states. There are several options:

  • 0 / 1
  • no / yes
  • false / true
  • off /on

I have chosen the first one, but that's kind of arbitrary. If the community believes that another one is better, I'm willing to change.
    icon2.gif   Re: Boolean, posted by Grant Jeffcote on Fri Aug 3 17:03:46 2007 

Stefan Ritt wrote:

Grant Jeffcote wrote:
I've noticed in the latest release when using the 'Find' page that any boolean expression (tick box) is now shown as '0,1 or unspecified'. Is this intentional? My colleagues are finding it hard to get their heads around what to choose and preferred the old 'Tick Box' option. Have there been changes to the configuration arguments used for Boolean that I've missed?


Well, maybe you didn't realize, but searching for boolean attributes never really worked. If you want to search for entries where a boolean is true (or 1), then you could check the tick box in the past. But if you wanted to search for all entries were an attribute was false (not true) you could not do it, because the system assumed you are not interested in an attribute if the tick box was not checked. With the new way, you could either specify 'unspecified' meaning you are not filtering on this attribute, or you can explicitly specify '0', to look for entries where the attribute is false. The best would be to have a three-state tick box, which can be on/off/grayed. Under Windows API this does exist, but not in HTML. So I had to go with the three radio buttons.

Now one could argue how to name boolean states. There are several options:

  • 0 / 1
  • no / yes
  • false / true
  • off /on

I have chosen the first one, but that's kind of arbitrary. If the community believes that another one is better, I'm willing to change.


Stefan
Thanks for the great explanation.
What are the chances of having a choice of the four options (as mentioned in your list) somehow so that when boolean-x is used (for example) in the configuration file the applicable option text is shown in the 'Find' page?

ie.

boolean-x = 0/1
boolean-y = no / yes
boolean-z = false / true

etc.

A long shot perhaps but don't know until you ask? Wink

Thanks
    icon2.gif   Re: Boolean, posted by Stefan Ritt on Fri Aug 3 17:05:56 2007 

Grant Jeffcote wrote:
What are the chances of having a choice of the four options (as mentioned in your list) somehow so that when boolean-x is used (for example) in the configuration file the applicable option text is shown in the 'Find' page?


If several people will ask for it, I will put it in.
icon5.gif   ELCode how to with URL, posted by toumbi on Mon Aug 27 17:27:41 2007 
Hello there !!

I wonder if it's possible to write an url like this[URL=?CR=CR00000429]CR00000429[/URL] 
in fact it don't work for the moment , because it is redirected tu http:///?CR=CR00000429
is it possible to have url without http://

I have a logbook CR and a type CR and i work now in localhost but i want my elog to be accessible from anywhere.
Im not very clear but I hope you understand.



[TABLE border="1"]
Emplacement|CR|TYPE|Cable trace voix 1|Cable trace voix 2|url|-
MON|CR00002536|Monitoring|x|x|[URL=http://localhost:8080/CR/?CR=CR00002536]CR00002536[/URL]|-
POW1|CR00000429|POWER Ro|x|x|[URL=?CR=CR00000429]CR00000429[/URL]|-
POW2|CR00000430|POWER Ro|x|x|[URL=?CR=CR00000430]CR00000430[/URL]|-

[/TABLE]
icon8.gif   Synchronization Problems, posted by Nicole Ackerman on Wed Sep 5 01:09:00 2007 
I'm currently running elog 2.6.5 on my (feisty ubuntu) laptop and desktop. I set up mirroring between the two which usually works, but occasionally I get an error (when sending from laptop to desktop) :

"Enty too long to display. Please increase TEXT_SIZE and recompile elogd."

When this happens my entry is shortened to 3 characters. This is frustrating as I have lost many important entries. I'm unsure why this is happening - they aren't the longest entries in my logbook (one was a one line linux command) and there doesn't seem to be anything "special" about the ones that do and do not sync. The last time I tried to sync I got this error on 3 entries and they appear to be corrupted - when I try to access them elogd stops responding.

On a presumably related note, every time I try to send an entry from my laptop to my desktop I get "Error sending local entry: Error transmitting message", though the entry has appeared to sync properly. I don't think I have ever had a problem transmitting from my desktop to my laptop.

Currently the only mirroring option I have added to my config file in on my laptop which is the IP of my desktop as the Mirror server.

I'm unsure what else I could post to help troubleshoot this problem - is it just something I've done wrong or that could be fixed with a reinstall?

Thanks!
-Nicole Ackerman
ELOG V3.1.5-3fb85fa6