Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 478 of 808  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  68785   Sun Apr 15 08:03:21 2018 Agree Michael Kelseykelsey@slac.stanford.eduBug reportMac OSX3.1.3Re: "Slow script" problem posting/editing from Safari -- browser hangs, times out

Thank you for your suggestion, Stefan!  The sysadmin who handles our e-Log server implemented your suggestion earlier today (Saturday).  I have been able to successfully create and modify e-Log entries with Safari since then.  Since the "slow script" issue has been intermittent in the past, I plan to continue testing and monitoring for the next day or so.  Nevertheless, it appears that removing the waiting loop has alleviated my problem.

  -- Mike Kelsey

Followup Sunday 15 Apr (U.S. Pacifiic time):  I think your suggestion has solved my problem.  I've been able to create and modify e-Log entries through our server multiple times over the weekend.  There have been no hangs, timeouts, or lost content.  Thank you very much for your response!

Stefan Ritt wrote:

I'm not 100% sure, but I believe it should work without the 

while (in_asend);

So can you please remove that line (it's in src/elogd.c) and recompile elogd and test it?

Stefan

Michael Hibbard wrote:

I dont' have a solution, but I just wanted to bring more attention to your post. I too am having the same issue with the ELOG system and the Safari browser. I have noticed that ELOG is most stabel and function on the client end from the IE browser. A few weeks ago I also had to switch from using ELOG on the client end from Safari to Firefox.

Michael Kelsey wrote:

Hello!  The CDMS collaboration is using e-Log as one of it's issue tracking systems.  In the last few months, I have noticed a problem when either creating or editing entries from my usual Safari browser (currently 11.1 on MacOSX 10.13.4):  The [Submit] button triggers a spinning beach ball, with no connection to our e-Log server, and after several minutes, Safari complains the the page had to be reloaded, discarding all of my edits, uploads, whatever.  This used to be occasional, but in the past month it has become routine, such that the only way I can edit or create entries is by launching a different browser entirely (Firefox), just for e-Log editing.

Now, I am also seeing the same problems with Firefox, but at the "occasional" level.  The difference is that Firefox produces some diagnostic information, which is why I'm posting here.  When the browser hangs, after a short while Firefox produces a "Warning: unresponsive script" drop-down box:

Warning: unresponsive script

A script on this page may be busy, or it may have stopped responding.  You can stop the script now, open the script in the debugger, or let the script continue.

Script: http://titus.stanford.edu/cdms…/SuperSim/681?cmd=Edit&steal=1:30

[] Don't ask me again

[Debug script]                       [Stop script]     [Continue]

If I use the [Debug script] button, the call stack shows "onclick 681:1" -> "chkform 681:30", and the line-by-line traceback shows the chkform function:

16   var in_asend = false;
17
18   function chkform()
19   {
20     if (last_key == 13) {
21       var ret = confirm('Really submit this entry?');
22       if (!ret) {
23         last_key = 0;
24         return false;
25       }
26     }
27
28     if (autoSaveTimer != null)
29       clearTimeout(autoSaveTimer);
30     while (in_asend);               <=== This is the stuck line
31     submitted = true;
32     return true;
33   }

I presume that in_asend is supposed to get changed from false to true asynchronously, by some other parallel communication with the server. But that doesn't seem to be happening.

Does this look like an issue with the e-Log distribution? Or is there a configuration issue with our e-Log server which we could improve?

 

 

 

  1349   Wed Jul 27 16:46:44 2005 Question Kees Bolkees.bol@wur.nlQuestionLinux2.57-1attribute of type "datetime" sorted incorrectly
In order to enter different logdates we created the attribute 'Logdate' as follows:

...
Attributes = Logdate, Author, Type, Subject
Type Logdate = datetime
Preset Logdate = $date
List Display = ID, Logdate, Author, Type, Subject
Start page = ?rsort=Logdate

Time format = "%d-%b-%y %H:%M"
Date format = %d-%b-%y
...

However some unexpected things happen:
1) when sorting on Logdate the sorting is incorrect
2) I expected some kind of fieldchecking when filling this field, however you can enter any text.

What goes wrong here?

Thanks
Attachment 1: scrap.PNG
scrap.PNG
  1357   Thu Jul 28 09:46:40 2005 Reply Kees Bolkees.bol@wur.nlQuestionLinux2.57-1Re: attribute of type "datetime" sorted incorrectly

Stefan Ritt wrote:

Kees Bol wrote:
What goes wrong here?


The wrong sorting is a mystery to me. I redid what you have, and entered exactly the same entries, and got following:



As you can see, the sorting is quite different. What happens if you reload the page, what if you restart elogd?

As for the missing validity check for the date field, all what was missing was the year check. I added that.


Stefan, I think it has something to do with version 2.57-1. Yesterday evening I installed V2.60 and there was a big difference. All entries of Logdate were changed in 1-jan-70 and when entering/editing an entry I now get the calendar and clock. So everything, including sorting, looks good now.

Thanks
  1362   Mon Aug 1 11:58:43 2005 Question Kees Bolkees.bol@wur.nlInfoLinux2.6.0"full" only changes color
Hi,
I have the strange problem that when changing to "full"-diplaymode the output looks the same as with "summary", only the color is different. The texts don't appear.
Any idea what can cause this behaviour?

thanks
Kees Bol
  1365   Tue Aug 2 10:25:32 2005 Reply Kees Bolkees.bol@wur.nlInfoLinux2.6.0Re: "full" only changes color

Stefan Ritt wrote:

Kees Bol wrote:
I have the strange problem that when changing to "full"-diplaymode the output looks the same as with "summary", only the color is different. The texts don't appear.
Any idea what can cause this behaviour?


Can you send me your elogd.cfg ?

Have you made sure that the entries do contain some text? The behaviour you describe usually happens if you have entries without any text.


Well, I guess that causes it. In the summary-view there is no visible text.
I thougt when choosing the full-view the text would appear along with the other attributes.

My config-file is:
================================================================
Theme = default

Attributes = Author, Type, Subject
Required Attributes = Type, Subject
Preset Author = $long_name
Locked Attributes = Author

Options Type = Question, Configuration, Problem, Info, Other

List Display = ID, Date, Author, Type, Subject
Thread display = $Subject, posted by $Author on $Date

Menu commands = Back, New, Edit, Delete, Reply, Find, Last 10, Change password, Logout, Help

Quick filter = Date, Type
Summary lines = 0

Start page = ?rsort=Date

; alleen eigen messages editen
Restrict edit = 1
======================================================================================
  1381   Fri Aug 5 10:00:00 2005 Reply Kees Bolkees.bol@wur.nlInfoLinux2.6.0Re: "full" only changes color

Stefan Ritt wrote:

Kees Bol wrote:
I thougt when choosing the full-view the text would appear along with the other attributes.


That's how it is supposed to be. I tried your config file, added three entries, and got the behaviour documented in the attached images. To me everything looks fine.


Stefan, the output you see I expected to see with my logbook too but I don't.
I will upgrade to V2.6.0-beta3, perhaps that solves the problem.
  1382   Fri Aug 5 10:51:27 2005 Reply Kees Bolkees.bol@wur.nlInfoLinux2.6.0Re: "full" only changes color

Stefan Ritt wrote:

Kees Bol wrote:
I thougt when choosing the full-view the text would appear along with the other attributes.


That's how it is supposed to be. I tried your config file, added three entries, and got the behaviour documented in the attached images. To me everything looks fine.


Stefan, I installed V2.6.0-beta3 and there is a (unwanted) difference. The Text field now appears in the summary-view despite the config specifies:

List Display = ID, Logdate, Author, Book, Chapter, Type, Subject

so in my opinion the text-field should not show up here.

Now the full-view indeed shows the complete texts.

I also attached the complete config-file because perhaps I overlook some details.


Another point: there was some discussion about v2.6.0-beta3 being slow.
I have v2.6.0-beta and v2.6.0-beta3 running side by side on the same server and notice also a big difference in speed, beta3 being much slower.
Attachment 1: elogd.cfg.txt
 cat elogd.cfg
[global]
port = 8080

Logfile = /home/elog2/log/elogd.log
Logging level = 3

SMTP host = net.wur.nl

Password file = /home/elog2/global.pwd
Self register = 0
Admin user = bol001

Deny New = Guest, guest
Deny Edit = Guest, guest


Subst on reply subject = Re: $subject

;Guest menu commands = Find, Last 10, Login, Help
;Menu commands = New, Edit, Delete, Reply, Find, Last 10, Change password, Logout, Help


Message width = 100
Message height = 20
Default encoding = 1
;Entries per page = 30
Use Lock = 1

Time format = %d-%b-%y %H:%M
Date format = %d-%b-%y

[forum]
Theme = default
;Theme = bubble

Attributes = Author, Type, Subject
Required Attributes = Type, Subject
;Type Logdate = datetime
;Preset Logdate = $date
Preset Author = $long_name
;Locked Attributes = Author, Logdate
Locked Attributes = Author

Options Type = Question, Configuration, Problem, Info, Other

List Display = ID, Date, Author, Type, Subject
Thread display = $Subject,  posted by $Author on $Date

# onzeker of dit wel werkt
;Format Date = 0, attribname, attribvalue, 16, 16

;Guest menu commands = Back, Find, Login, Help
;Guest find menu commands = Find, Login, Help
Menu commands = Back, New, Edit, Delete, Reply, Find, Last 10, Change password, Logout, Help

Quick filter = Date, Type
Summary lines = 0

Start page = ?rsort=Date

; alleen eigen messages editen
Restrict edit = 1

[Logbook]
Theme = default
;Theme = bubble
;CSS = compact.css

Default encoding = 1
Message width = 180
Message height = 20

Page title = Logbook FB/ICT/SenS

Attributes = Logdate, Author, Book, Chapter, Type, Subject
Required Attributes = Book, Chapter, Type, Subject
Type Logdate = datetime
Preset Logdate = $date
Preset Author = $long_name
Locked Attributes = Author

Options Book = Windows{2}, Linux{1}, Backup{3}, Mail{4}, DNS{5}, Websites{web}
{1} Options Chapter = Servers{s}, Oracle{def}, Other{Def}
{2} Options Chapter = Servers{s}, MOM{def}, Other{def}
{3} Options Chapter = Netbackup{nb}, Netvault{nv}, Other{def}
{4} Options Chapter = Exchange{def}, Postfix{def}, Other{def}
{5} Options Chapter = ns[12].wur.nl{def}, MenAndMice{def}, AD{def}, Domains{dom}, Other{def}
{6} Options Chapter = Proxy{def}, Apache{def}, IIS{def}, Other{def}

{dom} Options Type = Documentation, Info, New, Removed, Changed, Other
{nb} Options Type = Documentation, Info, Monitoring, Installation, Problem, Todo, Other
{nv} Options Type = Documentation, Info, Monitoring, Installation, Problem, Todo, Other
{s}  Options Type = Documentation, Info, Monitoring, Installation, General, Hardware, Network, Software, ToDo, Other
{web} Options Type = Documentation, Info, New, Removed, Changed, Other
{def} Options Type = Documentation, Info, Monitoring, Installation, Configuration, Problem, Problem Fixed,  Routine, ToDo, Other


Options Chapter = AD, Apache, Exchange, IIS, MenAndMice, MOM, Netbackup, Netvault, ns, Oracle, Postfix, Proxy, Servers, Other

Options Type = Configuration, Documentation, General, Hardware, Info, Monitoring, Network, Problem, Routine, Software,  ToDo, Other


List Display = ID, Logdate, Author, Book, Chapter, Type, Subject

;Guest menu commands = Back, Find, Login, Help
;Guest find menu commands = Find, Login, Help
Menu commands = Back, New, Edit, Delete, Reply, Find, Last 10, Change password, Logout, Help

Deny New = Guest, guest
Deny Edit = Guest, guest
;
Start page = ?rsort=Date
Quick filter = Logdate, Chapter, Type
;
; alleen eigen messages editen
Restrict edit = 1

  1387   Fri Aug 5 14:30:52 2005 Agree Kees Bolkees.bol@wur.nlInfoLinux2.6.0Re: "full" only changes color

Stefan Ritt wrote:

Kees Bol wrote:
Stefan, I installed V2.6.0-beta3 and there is a (unwanted) difference. The Text field now appears in the summary-view despite the config specifies:

List Display = ID, Logdate, Author, Book, Chapter, Type, Subject

so in my opinion the text-field should not show up here.


If you do not want text display in the summary view, add

Summary lines = 0

into your config file.


Kees Bol wrote:
Another point: there was some discussion about v2.6.0-beta3 being slow.
I have v2.6.0-beta and v2.6.0-beta3 running side by side on the same server and notice also a big difference in speed, beta3 being much slower.


This is still a mystery to me, since on all machines I try the speed is fine. I'm still waiting for some debugging analysis from users which have this problem. If I cannot reproduce it, I cannot fix it.



After upgrading to v2.6.0-beta4 everything works fine now.
Thanks for your help
ELOG V3.1.5-3fb85fa6