ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
67627
|
Tue Nov 26 11:28:39 2013 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Linux | 2.9.2-2455 | Re: Problem with space in name of eLog not seeing %20 and "+" |
David Pilgram wrote: |
Stefan Ritt wrote: |
Tom C wrote: |
My elog is named "Whatever Elog" so the URL generated is /Whatever+Elog . This works fine but when in the interface certain buttons generate this URL : /Whatever%20Elog ...this URL fails. It seems that elog does not recognize these ( + and %20 ) as the same which I believe they should be as part of HTTP request.
|
Can you be a bit more specific which buttons you mean? The demo logbook https://midas.psi.ch/elogs/Linux+Demo/ has also a space and I cannot see any problem there.
|
Years ago I had a similar issue, although I cannot remember the exact details now. The consequence is that I don't leave any spaces in the log book names. However, I did find that '&' was fine, and the ampersand and %26 are interchangeable in a logbook page, so one logbook is ECP&SIW, and using ampersand or '%26' work interchangably when making llinks from other logbooks to ECP&SIW (that is elog:ECP&SIW or elog:ECP%26SIW work equally well).. This is not true of elog.cfg, where only the actual character should be used. This may be true for some other urlencoded characters.
It may be of note that %20 and '+' are not the same urlencode and character - %20 is a space, '+' is %2B, and a brief bit of playing around shows that elog is not so tolerant of those characters as it is with & and %26, and I crashed mine several times but I was only playing, nothing serious was lost.
|
Having written the above and posted it, I see the links for ECP&SIW I wrote here don't work the same as in my local logbook. I did check! Result is treat the above posting with caution. Although this is not the first time when something works fine on my local logbook but not here on the Mother of all elogs. Different flavour of linux? |
67629
|
Tue Nov 26 21:49:42 2013 |
| David Pilgram | David.Pilgram@epost.org.uk | Bug report | Windows | 2.9.2 | Re: Crash report involving propagate and replies |
Stephen wrote: |
Using Elog 2.9.2
Elog crashes when making 10 replies, I narrowed the crash down to the Propagate Attributes setting.
I have an attribute "Status" that can be toggled between "Open" and "Closed" and that propagates all replies. On the 10th reply the application crashed, this is repeatable 100% of the time. Without the propagate option everything works fine.
Attached is my config file parsed down.
Is there a way around this, or is there a way on reply to change the attribute of the log note you replied to from open to closed without using the propagate option?
|
Hi Stephen,
I see that you don't allow branching in your threads. Why do you need to propagate the Status throughtout the thread? Why not just mark the latest entry and (incase it is necessary) 'collapse to last = 1'
I'm not saying that the bug (if bug it is, rather than a preset limitation) you've found should not be fixed, but I'm puzzled as to why you happen to use the feature. I can see the point if an initial entry provides a whole tree of branches (and a limit of 10 is rather limiting). OK, I know if it is historic, it cannot easily be changed because of other users. Or if some users will primarily be responding to emails rather viewing the logbook via a browser. I'm a single (ab)user elog system myself, so I'm very tolerant of changing how elog works if it offers an improvement. |
67680
|
Fri Mar 28 14:15:18 2014 |
| David Pilgram | David.Pilgram@epost.org.uk | Comment | Linux | 2.9.2-a738 | Generation of .png files for attachments | Hi Stefan and Andreas,
With the latest incremental version of elog (a738232), I have noticed that when attaching a pdf file, the
.png thumbnail is not generated when the "upload" button is pressed - there is just the usual small line saying
what the latest attachment is. If this happens, a subsequent attachment will force the generation of the
thumbnail for the *previous* attachment, and again no thumbnail for the latest attachment.
Submitting the comment will also generate the thumbnail.
As of yet, I cannot find any consistent pattern to this. Also, it's hardly a disaster, but I have been fooled
when attaching a pdf file that subsequently turned out to be damaged and thus unreadable. |
67681
|
Fri Mar 28 14:29:24 2014 |
| David Pilgram | David.Pilgram@epost.org.uk | Info | Linux | 2.9.2-a738 | A couple of observations | Hi Stefan and Andreas,
When I submitted the previous entry, I had an error message about not able to send via psxxxx.psi.ch come up as
a red bar at the top of the elog page - sorry, cannot remember the subdomain name correctly.
The observations I was going to make is firstly the change in layout of the Find section - maybe I'll get used
to it but the change in layout wasn't warmly welcomed.
Also, shame that moving from Subversion means that the increments are no longer in easy numerical order. So I
believe that I am commenting on the latest possible version available, a738232.
A question. My logbooks directory is now 1.8GB. Yes, there are a lot of attachments etc to bulk it out, but
it's all plain text comments. Is there a limit as to the size, or total number of entries? Elog takes a
notible amount of time to index it all these days, and I have wondered whether a couple of "instabilities" might
be caused by this. Anyone any thoughts?
I don't know how I managed it, but I got elog to generate two entries with the identical ID no. The new entries
were different as well. The log file faithfully had recorded the two separate replies to the entry having the
same ID no as well. Unfortunately I went and corrected it by editing the YYMMDDa.log file without keeping a
copy. I have also had a mysterious entry ID0 appear in threaded display, despite there being no entry 0; and if
it appears, it appears in two or three places within the list of threaded entries. |
67682
|
Fri Mar 28 14:55:16 2014 |
| David Pilgram | David.Pilgram@epost.org.uk | Info | Linux | 2.9.2-a738 | Re: A couple of observations | I tried to attach a screenshot showing this, but kept getting a 502 bad gateway error.
The message in the red banner is
Error sending Email via <i>"psquad.psi.ch"</i>
with that html showing, by the way.
> Hi Stefan and Andreas,
>
> When I submitted the previous entry, I had an error message about not able to send via psxxxx.psi.ch come up as
> a red bar at the top of the elog page - sorry, cannot remember the subdomain name correctly.
>
> The observations I was going to make is firstly the change in layout of the Find section - maybe I'll get used
> to it but the change in layout wasn't warmly welcomed.
>
> Also, shame that moving from Subversion means that the increments are no longer in easy numerical order. So I
> believe that I am commenting on the latest possible version available, a738232.
>
> A question. My logbooks directory is now 1.8GB. Yes, there are a lot of attachments etc to bulk it out, but
> it's all plain text comments. Is there a limit as to the size, or total number of entries? Elog takes a
> notible amount of time to index it all these days, and I have wondered whether a couple of "instabilities" might
> be caused by this. Anyone any thoughts?
>
> I don't know how I managed it, but I got elog to generate two entries with the identical ID no. The new entries
> were different as well. The log file faithfully had recorded the two separate replies to the entry having the
> same ID no as well. Unfortunately I went and corrected it by editing the YYMMDDa.log file without keeping a
> copy. I have also had a mysterious entry ID0 appear in threaded display, despite there being no entry 0; and if
> it appears, it appears in two or three places within the list of threaded entries. |
67683
|
Sat Mar 29 12:14:11 2014 |
| David Pilgram | David.Pilgram@epost.org.uk | Bug report | Linux | 2.9.2-a738 | Defunct daemons | Hi Stefan and Andreas
Yesterday I reported I had some issues with the latest elog: but now I can reproduce one.
elog 2.9.2-a738232
I started a new entry, and attached three pdf files. I did not get the problem of not seeing the png thumnbnail
this time, although that is annoying if you want/need to adjust the thumbnail image before submitting.
However, if I then look at the running processes, I have the following listed (ps -A)
23677 tty1 00:00:04 elogd
23809 tty1 00:00:00 elogd <defunct>
23825 tty1 00:00:00 elogd <defunct>
23847 pts/0 00:00:00 ps
23677 was when I started the elogd daemon, having killed off the previous daemon etc for test purposes.
23809 and 23825 appeared after a couple of pdfs were added (second and third ones to be precise). They can only
be killed off by killing off the original running daemon. It appears that attaching a second and further pdf
attachments to any entry generates an elogd <defunct> in the processes list, although attaching a jpg in the
middle of a list of pdfs didn't (but the next pdf did). This is happening while adding attachments, that is the
Submit button has yet to be pressed, so it seems to be generated when the pdf file is being processed for some
reason.
You can end up with quite a stack of these in the process list!
I never saw this behaviour with the previous version I was running, SVN2475 I think.
By the way, I still cannot send an attachment over to this server (showing a screenshot) without the 502 error. |
67684
|
Sat Mar 29 13:14:44 2014 |
| David Pilgram | David.Pilgram@epost.org.uk | Bug report | Linux | 2.9.2-a738 | Re: Defunct daemons | Further work suggests that the type of pdf file might matter, as I have now seen the defunct daemon after
adding the first pdf file in an entry.
However, I have also found that image manipulation (rotation, size) generates a defunct daemon.
> Hi Stefan and Andreas
>
> Yesterday I reported I had some issues with the latest elog: but now I can reproduce one.
> elog 2.9.2-a738232
>
> I started a new entry, and attached three pdf files. I did not get the problem of not seeing the png thumnbnail
> this time, although that is annoying if you want/need to adjust the thumbnail image before submitting.
>
> However, if I then look at the running processes, I have the following listed (ps -A)
>
> 23677 tty1 00:00:04 elogd
> 23809 tty1 00:00:00 elogd <defunct>
> 23825 tty1 00:00:00 elogd <defunct>
> 23847 pts/0 00:00:00 ps
>
> 23677 was when I started the elogd daemon, having killed off the previous daemon etc for test purposes.
>
> 23809 and 23825 appeared after a couple of pdfs were added (second and third ones to be precise). They can only
> be killed off by killing off the original running daemon. It appears that attaching a second and further pdf
> attachments to any entry generates an elogd <defunct> in the processes list, although attaching a jpg in the
> middle of a list of pdfs didn't (but the next pdf did). This is happening while adding attachments, that is the
> Submit button has yet to be pressed, so it seems to be generated when the pdf file is being processed for some
> reason.
>
> You can end up with quite a stack of these in the process list!
>
> I never saw this behaviour with the previous version I was running, SVN2475 I think.
>
>
> By the way, I still cannot send an attachment over to this server (showing a screenshot) without the 502 error. |
67711
|
Mon Nov 3 17:14:44 2014 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Linux | 2.9.2 | Re: How to insert new entry between two entries. |
Daniel Roldan wrote: |
I would like to put between two entries a new entry.
My Users forgot to put a entry, and now they would like to put a new entry between olders entries.
For Example:
We have 10 entries order by Id:
300
301
302
...
They want to put between the entry 300 and 301 a new entry.
Is possible to do this feature?
Thanks!
|
There is nothing within elog itself to insert entry 310 between 300 and 301. If you allow branching in your logbook. make a second reply to entry 300, and add in the missing details. That entry will always be there as a reply to 300, but not obviously between 300 and 301.
From this point, any way to improve matters will require editing of the log files (default location /usr/local/elog/logbooks). I should warn that editing these files can cause problems, including elog to crash, and spotting your error can take a lot of effort. I speak from experience. I suggest that you have a look at a few entries, the layout of the entries etc first, and if you're still up for it I'll give a quick spin on how to improve the tidyness of how your entires look with 310 inserted between 300 and 301.
I should add what I would write only applies for certain for linux users, as it is my OS of choice. |
|