Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 650 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Categorydown OS ELOG Version Subject
  2193   Wed Apr 4 14:20:41 2007 Reply Yoshio ImaiBug reportLinux2.6.4-1826Re: Multiple ideas for multiple logbooks

Stefan Ritt wrote:
Maybe some other problem?

Possible, but I think it worked also on our server until the number of logbooks in the top group got larger than one. Can you try to see if your code still works when there is more than one logbook defined?
  2194   Thu Apr 5 10:01:06 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.6.4-1826Re: Multiple ideas for multiple logbooks

Yoshio Imai wrote:

Possible, but I think it worked also on our server until the number of logbooks in the top group got larger than one. Can you try to see if your code still works when there is more than one logbook defined?


I tried with following config file:
[global]
port = 8080
password file = passwd

{1}Preset text = Routine
{2}Preset text = Other

[demo]
Attributes = Author, Type
Options Type = Routine{1}, Other{2}

[demo2]
Attributes = Author, Type
Options Type = Routine{1}, Other{2}

and it worked fine as well. So take you (big) config file, strip one item by one, until you arrive at the simple config file above and tell me the minimal config file which produces this problem.
  2216   Wed Apr 25 19:44:34 2007 Agree Steve Jonessteve.jones@freescale.comBug reportAll | Other2.6.2-1739Re: "Guest menu commands" not changing the menu line

Stefan Ritt wrote:

Steve Jones wrote:
BTW, WebSVN no longer provides a means of downloading a tar of your code trunk. I had to go to http://midas.psi.ch/elog/download/tar/ in order to get your 2.6.4-1 revision.


That should be fixed now.


Steve Jones wrote:
Ok, here is what I found. Apparently in the past there was a "Find Menu Commands = " option? Because I had this in my config and elog was not barfing on it being there. So, I changed the word "Find" with "List" and things seems to now work. Stefan, was there an old command called "Find Menu Commands"?


Yes. Indeed this was changes some time ago. Have a look at elog:880. Unfortunately I did not announce this change clearly.



Quote:

Ok, I am fixed now (took me awhile to respond - sorry).

Thanks Stefan!
  2234   Mon May 28 04:53:48 2007 Disagree deletoillexavier.deletoille@synchrotron-soleil.frBug reportWindows2.6.2-1863Re: checkbox

deletoille wrote:

Stefan Ritt wrote:

deletoille wrote:
I found a small Bug when I create an entry. I activate a checkbox (attachement1) but when I upload a file, the activation disappears (attachement 2). I have to activate again the checkbox.
Is it something I can do?


I tried with V2.6.2-1741 and the problem was not there. It was fixed some time ago, so it should have worked in 1723 as well. Can you try the minimal example coming with the distribution, just by adding one MOptions attribute, like:
[global]
port = 8080

[demo]
Attributes = Author, Type
MOptions Type = Routine, Software Installation, Problem Fixed, Configuration, Other

and see if it work there? If it works correctly there but not with your config file, please send me your config file and I will try to reproduce the problem.



You're right it works
It must be in my programming method
I share you my config file.
Thanks for your help




Hello,
I wrote a small program for another group and I have always the same problem of activation box who disappears when I upload a file. On the other hand, I noticed that the problem is only for the conditional attribute and not for the other. Here included the small program. an idea?

Thanks in advance
Xavier Deletoille

[global]
port = 8080
[GMI]
Start page = ?rsort=date
Quick filter = Type evenement
Time Format = %d %m %Y, %H:%M
Quote on reply = 0
Use Lock = 0
List display = id, Icone, date, Equipement, Type evenement, Localisation, auteur
Menu commands = List, New, Edit, Reply, Find, Config
Comment = Cahier de Manip du groupe GMI
********************************************************************************************************************
attributes = auteur, Icone, Type Equipement, Equipement, Localisation, Type evenement
Required attributes = auteur, Icone, Type Equipement, Localisation, Type evenement
show attributes = auteur, Icone, Type Equipement, Equipement, Localisation, Type evenement

Preset on reply auteur =
Options Type Equipement = Apple II{A}, Sous vide{B}, Electromagnetique{C}, Aimant{D}
{A} MOptions Equipement = HU80, HU65, HU60, HU52, HU50, HU40, HU30
{B} MOptions Equipement = U20, U26, W50
{C} MOptions Equipement = HU640, HU256
{D} MOptions Equipement = Dipole, Quadripole, Sextupole
IOptions Icone = oui.gif, non.gif, cleanglaise1515.png, paper.png
Moptions Localisation = C01, C02, C03, C04, C05, C06, C07, C08, C09, C10, C11, C12, C13, C14, C15, C16, Booster
Options Auteur = xxxxxx,xxxxxxxy,xxxxxft
Options Type evenement = Alimentation, Bobines, Moteur, TLCC, CPCI, Communication, Autres
  2235   Wed May 30 22:32:03 2007 Agree Stefan Rittstefan.ritt@psi.chBug reportWindows2.6.2-1863Re: checkbox

deletoille wrote:
I wrote a small program for another group and I have always the same problem of activation box who disappears when I upload a file. On the other hand, I noticed that the problem is only for the conditional attribute and not for the other. Here included the small program. an idea?


Ok, with your config I could reproduce the problem. I fixed it in revision 1865, the fix will be contained in the next release.
  2240   Mon Jun 4 22:30:44 2007 Reply Alan Grantnetman311@mts.netBug reportLinux | Windows2.6.0-b4Re: Post appearing twice

Stefan Ritt wrote:

Dan Chitwood wrote:
We are having trouble on our logbook with posts appearing twice. Both posts contain the same ID number, time, etc. This most often occurs when the e-log entry is being written for an extended period of time (ie. more than 30 minutes), but I don't know if that is the root cause of the problem. It may also be related to posts that are edited after an initial posting. Could this be due to an improper setting in our config file?


Besides the trivial case that people hit the submit button twice I can only imagine one possible cause: If you edit an existing entry, there is a button Resubmit as new entry at the bottom. If that button is checked, the old entry gets deleted and a new one gets submitted. If the delete of the old entry fails for some reason, you could maybe get two entries.

May I suggest following: Use a very simple config file (like the demo one from the distribution) and see if you can reproduce the problem. If not, add you config options one by one to the config file, and see at which option the problem starts. This way you might find the cause of it.

Your problem has not been reported by anybody else so far, so chances are high that it's related to a config setting.


I was having a very similar problem. After clicking Submit, I was getting dialog box "Submit modified Elog entry?" (with Submit or Cancel options) even though it was a new entry. Whenever I clicked Submit, it added two identical lines (except for ID), but when I clicked Cancel, it added only one entry. This happened in both v2.6.3 and v2.6.5. I eventually deduced it down to the Required Attributes line in the cfg file. I removed almost all other lines and then started removing each required attribute until the field was identified. For some reason it didn't like field name called "Date/Time Reproted" and when I removed it, it added fine, although that one field had to be unrequired when it really should have been req'd. I didn't see anything in the cfg instuctions regarding the use of "/" (unless I missed it) but I assumed it has something to do with that "/". It's interesting to note however that fields by same name under other tabs work fine. It may be bug related.
  2241   Fri Jun 8 10:44:14 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux | Windows2.6.0-b4Re: Post appearing twice

Alan Grant wrote:
I was having a very similar problem. After clicking Submit, I was getting dialog box "Submit modified Elog entry?" (with Submit or Cancel options) even though it was a new entry. Whenever I clicked Submit, it added two identical lines (except for ID), but when I clicked Cancel, it added only one entry. This happened in both v2.6.3 and v2.6.5.


Can you try to reproduce your problem with a minimal configuration file and send it to me?
  2242   Tue Jun 12 11:07:39 2007 Reply deletoillexavier.deletoille@synchrotron-soleil.frBug reportLinux | Windows2.6.5Re: Post appearing twice

Stefan Ritt wrote:

Alan Grant wrote:
I was having a very similar problem. After clicking Submit, I was getting dialog box "Submit modified Elog entry?" (with Submit or Cancel options) even though it was a new entry. Whenever I clicked Submit, it added two identical lines (except for ID), but when I clicked Cancel, it added only one entry. This happened in both v2.6.3 and v2.6.5.


Can you try to reproduce your problem with a minimal configuration file and send it to me?


I had the same problem but by adding the "Use lock = 0" option to the configuration, confirmation disappear
ELOG V3.1.5-3fb85fa6