Installation problems, posted by George B. on Mon Oct 27 13:05:13 2008
|
Hello,
I just upgraded to elog 2.7.5 from 2.6.4 on my Debian system. Here is some feedback:
1) "make" fails if libssl-dev package is not installed. Documentation does not mention SSL library requirements.
2) /etc/init.d/elogd: line 10: /etc/rc.d/init.d/functions: No such file or directory (I fixed this by commenting
out that line).
3) Starting elogd: /etc/init.d/elogd: line 34: echo_success: command not found (Fixed by search/replace "echo_"
to "echo ").
Hope this helps.
George. |
Re: Installation problems, posted by Stefan Ritt on Wed Oct 29 05:53:39 2008
|
> 1) "make" fails if libssl-dev package is not installed. Documentation does not mention SSL library requirements.
I added a note to the documentation, thank you.
> 2) /etc/init.d/elogd: line 10: /etc/rc.d/init.d/functions: No such file or directory (I fixed this by commenting
> out that line).
>
> 3) Starting elogd: /etc/init.d/elogd: line 34: echo_success: command not found (Fixed by search/replace "echo_"
> to "echo ").
The elogd (or elogd.init in the distribution) is written for RedHat based systems where echo_success gives the
typical output with a green [OK] at the end of the line. For Debian, there is (was) in principle a Debian package
which has it's own startup script. Since the package maintainer is not active any more (I guess), the Debian
updates are heavily old. Once elog gets managed inside Debian again, that should get better again, but until then
one has to follow 2) and 3) from above. If I would remove it, the Scientific Linux users would complain. |
Re: Installation problems, posted by George B. on Wed Nov 5 10:32:07 2008
|
> The elogd (or elogd.init in the distribution) is written for RedHat based systems where echo_success gives the
> typical output with a green [OK] at the end of the line. For Debian, there is (was) in principle a Debian package
> which has it's own startup script. Since the package maintainer is not active any more (I guess), the Debian
> updates are heavily old. Once elog gets managed inside Debian again, that should get better again, but until then
> one has to follow 2) and 3) from above. If I would remove it, the Scientific Linux users would complain.
That makes sense. Might be worth adding a short Debian section to the installation instructions page?
FYI, Elog is no longer in Debian as of 2008-05-12.
Thanks,
George. |
Re: Installation problems, posted by T. Ribbrock on Wed Nov 5 11:52:12 2008
|
> > 2) /etc/init.d/elogd: line 10: /etc/rc.d/init.d/functions: No such file or directory (I fixed this by commenting
> > out that line).
> >
> > 3) Starting elogd: /etc/init.d/elogd: line 34: echo_success: command not found (Fixed by search/replace "echo_"
> > to "echo ").
>
> The elogd (or elogd.init in the distribution) is written for RedHat based systems where echo_success gives the
> typical output with a green [OK] at the end of the line. For Debian, there is (was) in principle a Debian package
> which has it's own startup script. Since the package maintainer is not active any more (I guess), the Debian
> updates are heavily old. Once elog gets managed inside Debian again, that should get better again, but until then
> one has to follow 2) and 3) from above. If I would remove it, the Scientific Linux users would complain.
I'm actually using elog on Debian and have been rolling my own ".deb" for a while now (starting with the old Debian
one and working my way up till 2.7.5). Maybe you could add the Debian /etc/init.d/elog script to the "contrib"
directory, with a suitable note in the README or something like that? That script has not changed in a long time and
is still functional - and doing so would make it easier for people who would like to install elog on a Debian (or
Debian-based, e.g. Ubuntu) system. I'll attach the script.
Regards,
Thomas |
elog init script, posted by Yoshio Imai on Mon Nov 10 13:05:21 2008
|
Notice that the following is not true when editing the config file outside of the administrator's "Config" page:
reload)
# Do nothing since ELOG daemon responds to
# the changes in conffile directly.
;;
In our installation, the sysadmin has therefore added the following section for the reload) part of the init script:
reload)
if [ -f $PIDFILE ]; then
echo -n "$DESC to reread config file ... "
kill -HUP `cat "$PIDFILE"`
echo "done"
else
echo "No $PIDFILE found!"
fi
;;
|
Re: Installation problems, posted by Stefan Ritt on Mon Nov 17 11:42:46 2008
|
> I'm actually using elog on Debian and have been rolling my own ".deb" for a while now (starting with the old
Debian
> Maybe you could add the Debian /etc/init.d/elog script to the "contrib"
> directory, with a suitable note in the README or something like that? That script has not changed in a long
time and
> is still functional - and doing so would make it easier for people who would like to install elog on a Debian
(or
> Debian-based, e.g. Ubuntu) system. I'll attach the script.
The problem is not putting this into the "conrib" area, but supporting it. Since I don't have a Debian system,
may I suggest that you put it yourself into the elog:Contributions/ logbook. If people then get problems in the
future, they can contact you directly ;-) |
Re: Installation problems, posted by T. Ribbrock on Thu Nov 27 11:47:34 2008
|
> The problem is not putting this into the "conrib" area, but supporting it. Since I don't have a Debian system,
> may I suggest that you put it yourself into the elog:Contributions/ logbook. If people then get problems in the
> future, they can contact you directly ;-)
I finally got round to do so. I've also included the changes suggested by Yoshio Imai (reload functionality).
Hopefully, it is useful for someone... |
Select -> Edit wipes dates, posted by T. Ribbrock on Mon Oct 27 12:42:47 2008
|
I just ran into the following bug:
I have a logbook where entries have several attributes, among which several dates. All of these are set to "Type <attr> = date". If I use the "Select" action, tag several entries and subsequently chose "Edit", the values of all date attributes are wiped. All other attributes are kept at their original values, unless changed explicitly. For the date entries, the date choosers are shown (as when editing a single entry), but all set to blank.
Editing single entries works fine. |
Re: Select -> Edit wipes dates, posted by Stefan Ritt on Tue Nov 18 13:56:59 2008
|
T. Ribbrock wrote: |
I just ran into the following bug:
I have a logbook where entries have several attributes, among which several dates. All of these are set to "Type <attr> = date". If I use the "Select" action, tag several entries and subsequently chose "Edit", the values of all date attributes are wiped. All other attributes are kept at their original values, unless changed explicitly. For the date entries, the date choosers are shown (as when editing a single entry), but all set to blank.
Editing single entries works fine.
|
This problem has been fixed in revision 2.7.5-2143. Please upgrade. |
Re: Select -> Edit wipes dates, posted by T. Ribbrock on Thu Nov 27 11:36:53 2008
|
Stefan Ritt wrote: |
This problem has been fixed in revision 2.7.5-2143. Please upgrade.
|
Yup, this works now - thanks a mil! |
Sort Attributes, posted by mike cianci on Thu Nov 27 07:02:51 2008
|
I am tring to sort the attribute, subject, but it sorts with Z on top and A on the bottom. Is there anyway to reverse sort? |
Re: Sort Attributes, posted by mike cianci on Thu Nov 27 08:21:40 2008
|
mike cianci wrote: |
I am tring to sort the attribute, subject, but it sorts with Z on top and A on the bottom. Is there anyway to reverse sort?
|
Sorry, to bother you. Solved my own problem " Reverse sort = 0" |
Export of entries, posted by William De La Vega on Mon Nov 24 18:03:54 2008
|
I would like to export several entries out of a logbook I have with a specific subject.
I need to send these entries to someone who does not have elog nor can they install it.
Is there a way to do this?
Thanks,
Bill |
Re: Export of entries, posted by Stefan Ritt on Mon Nov 24 18:16:31 2008
|
William De La Vega wrote: |
I would like to export several entries out of a logbook I have with a specific subject.
I need to send these entries to someone who does not have elog nor can they install it.
Is there a way to do this?
Thanks,
Bill
|
Yes. Go to the "find" page, select your subject, check "CSV", "XML" or "RAW" and click on search. |
Re: Export of entries, posted by William De La Vega on Wed Nov 26 18:01:21 2008
|
Stefan Ritt wrote: |
William De La Vega wrote: |
I would like to export several entries out of a logbook I have with a specific subject.
I need to send these entries to someone who does not have elog nor can they install it.
Is there a way to do this?
Thanks,
Bill
|
Yes. Go to the "find" page, select your subject, check "CSV", "XML" or "RAW" and click on search.
|
Thanks for the information, looks like the csv options don't export the actual entry. I'll have to play with the other formats they look like html. |
Special characters in attribute names, posted by Steve Williamson on Thu Nov 13 13:23:32 2008
|
Hi
Thanks for elog - it's a brilliant piece of software. I'd looked all over for open source software to log/manage change requests before discovering elog; it's so flexible that I've been able to do everything I need with it.
However, I think that I've just discovered my first undocumented 'feature'. Attribute names containing punctuation characters (e.g. / and :) cause "Redirection limit for this URL exceeded" errors in Firefox 3.0.2 and corrupt the URL if they're used in a Quick Filter. I often use '/' in attribute names for brevity, e.g. "Old/New Versions" but hadn't used one in a Quick Filter before.
keep up the good work.
regards
Steve
|
Re: Special characters in attribute names, posted by Stefan Ritt on Mon Nov 17 10:18:52 2008
|
Steve Williamson wrote: |
Hi
Thanks for elog - it's a brilliant piece of software. I'd looked all over for open source software to log/manage change requests before discovering elog; it's so flexible that I've been able to do everything I need with it.
However, I think that I've just discovered my first undocumented 'feature'. Attribute names containing punctuation characters (e.g. / and :) cause "Redirection limit for this URL exceeded" errors in Firefox 3.0.2 and corrupt the URL if they're used in a Quick Filter. I often use '/' in attribute names for brevity, e.g. "Old/New Versions" but hadn't used one in a Quick Filter before.
|
Quick answer: Don't use '/' in attribute names ;-) but I guess you were kind of afraid to get this answer.
Somehow longer answer: I tried to reproduce your problem with following configuration:
[demo]
Attributes = Author, Type, Subject, Old/New
Options Old/New = Old, New
Quick filter = Type, Old/New
But I was not successful. Everything worked fine using ELOG V2.7.5-2137. Can you please check with the above configuration and tell me exactly when the redirection problem occurs? Is it during filtering on already on creating a new entry?
|
Re: Special characters in attribute names, posted by Steve Williamson on Mon Nov 24 13:49:56 2008 
|
Stefan Ritt wrote: |
Steve Williamson wrote: |
Hi
Thanks for elog - it's a brilliant piece of software. I'd looked all over for open source software to log/manage change requests before discovering elog; it's so flexible that I've been able to do everything I need with it.
However, I think that I've just discovered my first undocumented 'feature'. Attribute names containing punctuation characters (e.g. / and :) cause "Redirection limit for this URL exceeded" errors in Firefox 3.0.2 and corrupt the URL if they're used in a Quick Filter. I often use '/' in attribute names for brevity, e.g. "Old/New Versions" but hadn't used one in a Quick Filter before.
|
Quick answer: Don't use '/' in attribute names ;-) but I guess you were kind of afraid to get this answer.
Somehow longer answer: I tried to reproduce your problem with following configuration:
[demo]
Attributes = Author, Type, Subject, Old/New
Options Old/New = Old, New
Quick filter = Type, Old/New
But I was not successful. Everything worked fine using ELOG V2.7.5-2137. Can you please check with the above configuration and tell me exactly when the redirection problem occurs? Is it during filtering on already on creating a new entry?
|
Thanks for the advice!
I've just had time to set up a test for this using both empty and populated logbooks (which don't have Hardware/Software in every entry as the field was added recently) and newly created logbooks (which have consistent attributes) and saw the problem on .
The control ("Hardware/Software") causing the problem has three options "Hardware Only", "Software Only" and "Both". The problem happens every time you click on the "-- Hardware/Software --" (i.e. All) option in the Quick Filter after having previously selected one (or more) of the options as a filter. This produces the error:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
* This problem can sometimes be caused by disabling or refusing to accept cookies.
I ran elog with a trace (attached) which shows lots of:
select(1024, [5], NULL, NULL, {1, 0}) = 1 (in [5], left {1, 0})
recv(5, "GET /Change_Log/?Hardware%2FSoftware=_all_ HTTP/1.1\r\nHost: localhost:8080\r\nUser-"..., 100000, 0) = 619
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1323, ...}) = 0
time(NULL) = 1227528904
send(5, "HTTP/1.1 302 Found\r\nServer: ELOG HTTP 2.7.5-2130\r\nConnection: Keep-Alive\r\nKeep-A"..., 199, 0) = 199
send(5, "<html>redir</html>\r\n", 20, 0) = 20
messages after selecting "-- Hardware/Software --"
The only difference between today's test and last week's is that today the browser is on the local machine.
I also attach my (anonymised) elogd.cfg
Hope this helps
regards
Steve
|
Re: Special characters in attribute names, posted by Stefan Ritt on Mon Nov 24 17:53:23 2008
|
Thanks to your detailed description I could reproduce and fix the problem. Please download SVN revision #2144 and give it a try. |
Re: Special characters in attribute names, posted by Steve Williamson on Wed Nov 26 12:49:08 2008
|
Stefan Ritt wrote: |
Thanks to your detailed description I could reproduce and fix the problem. Please download SVN revision #2144 and give it a try.
|
Tested SVN v 2147 and all looks OK
thanks
Steve |
Threaded emails, posted by Paul O'Shaughnessy on Fri Nov 21 11:16:04 2008
|
Can you email a thread of log entries. I think this would be a very useful function, which would enable the logger in effect to send an entire history of a particular issue to the interested parties. |
Re: Threaded emails, posted by Stefan Ritt on Fri Nov 21 11:28:31 2008
|
Paul O'Shaughnessy wrote: |
Can you email a thread of log entries. I think this would be a very useful function, which would enable the logger in effect to send an entire history of a particular issue to the interested parties.
|
Well, kind of. If you notify yourself with elog entries, they are grouped in a thread in your email application. From there you can forward the thread to someone. Or you forward the link to one entry in the thread, and if the link is the opened, the interested parties see the whole link. Sending the whole thread inside elog is however not possible. |
Re: Threaded emails, posted by Niall Dooley on Sun Nov 23 15:19:50 2008
|
Stefan Ritt wrote: |
Paul O'Shaughnessy wrote: |
Can you email a thread of log entries. I think this would be a very useful function, which would enable the logger in effect to send an entire history of a particular issue to the interested parties.
|
Well, kind of. If you notify yourself with elog entries, they are grouped in a thread in your email application. From there you can forward the thread to someone. Or you forward the link to one entry in the thread, and if the link is the opened, the interested parties see the whole link. Sending the whole thread inside elog is however not possible.
|
Hi Stefan,
Your suggestion of emailing a link for a log entry with which any interested parties open the link are able to see the entire thread works. However, it does not display the additional text which may be added in the text box below the standard field entries. To view this additional text would require the email recipiant to log into the elog account. The only problem with this is the interested parties may not have the priviledges to log into the elog account. Thanks for your time. |
Re: Threaded emails, posted by Stefan Ritt on Mon Nov 24 09:50:16 2008
|
Niall Dooley wrote: |
Stefan Ritt wrote: |
Paul O'Shaughnessy wrote: |
Can you email a thread of log entries. I think this would be a very useful function, which would enable the logger in effect to send an entire history of a particular issue to the interested parties.
|
Well, kind of. If you notify yourself with elog entries, they are grouped in a thread in your email application. From there you can forward the thread to someone. Or you forward the link to one entry in the thread, and if the link is the opened, the interested parties see the whole link. Sending the whole thread inside elog is however not possible.
|
Hi Stefan,
Your suggestion of emailing a link for a log entry with which any interested parties open the link are able to see the entire thread works. However, it does not display the additional text which may be added in the text box below the standard field entries. To view this additional text would require the email recipiant to log into the elog account. The only problem with this is the interested parties may not have the priviledges to log into the elog account. Thanks for your time.
|
You could implemente guest read-only access to the logbook (like for this forum). |
Several drop down menu's for a field, posted by Niall Dooley on Sat Nov 22 13:08:59 2008
|
Hi,
I was wondering if it is possible to have several drop down menus associated with a particular field. My problem is as follows, currently I have a particular field where its value is a name of a person obtained from a list of names from a drop down menu. However, I would like to be able to select on certain occasions more than one name from this same drop down list of names.
The field name in question is "Call-out" as in the name of a person called out. I guess I could add another field say "Call-out 2" and have a drop down menu of names for this new field too but I would like to avoid this if possible. So I would like possiby to have two (or more) drop down menus side by side for this Call-out field which would each populate this one field with the names selected (if any) from each drop down menu. This way if only an a selection is made from the first drop down menu then it should work as it does currently but if an entry was also selected from the second drop down menu then both names should populate the field when the log is complete.
I hope I have been clear in my question/request? Many thanks in advance for any help or suggestions received. |
Re: Several drop down menu's for a field, posted by Stefan Ritt on Sat Nov 22 20:45:05 2008
|
Niall Dooley wrote: |
Hi,
I was wondering if it is possible to have several drop down menus associated with a particular field. My problem is as follows, currently I have a particular field where its value is a name of a person obtained from a list of names from a drop down menu. However, I would like to be able to select on certain occasions more than one name from this same drop down list of names.
The field name in question is "Call-out" as in the name of a person called out. I guess I could add another field say "Call-out 2" and have a drop down menu of names for this new field too but I would like to avoid this if possible. So I would like possiby to have two (or more) drop down menus side by side for this Call-out field which would each populate this one field with the names selected (if any) from each drop down menu. This way if only an a selection is made from the first drop down menu then it should work as it does currently but if an entry was also selected from the second drop down menu then both names should populate the field when the log is complete.
I hope I have been clear in my question/request? Many thanks in advance for any help or suggestions received.
|
Try
Moptions = name1, name2, ...
This gives you not a drop down list, but a series of check boxes, where you can select multiple persons simultaneously. |
Quick filter in this forum, how to do "Text" search?, posted by Niklas on Fri Nov 21 09:12:31 2008
|
Hi,
In this forum there is a quickfilter for text search. How do I get that into my elog?
When I add:
Quick filter = Date, Type, Text
into config file. I get:
Error: Attribute "Text" for quick filter not found
How do I add the quick filter text search box?
|
Re: Quick filter in this forum, how to do "Text" search?, posted by Stefan Ritt on Fri Nov 21 09:24:07 2008
|
Niklas wrote: |
Hi,
In this forum there is a quickfilter for text search. How do I get that into my elog?
When I add:
Quick filter = Date, Type, Text
into config file. I get:
Error: Attribute "Text" for quick filter not found
How do I add the quick filter text search box?
|
Quick filter = Date, Type, Subtext
as described in the manual  |