Re: cannot add new logbooks to any of my logbook groups, posted by Paraic Fahey on Fri Oct 11 16:47:58 2013
|
David Pilgram wrote: |
Stefan Ritt wrote: |
Paraic Fahey wrote: |
Each time a attempt to CREATE A LOGBOOK on any of my logbook groups, I get an ELOG ERROR page presenting saying FORBIDDEN ATTRIBUTE DATE.
I have, up until recently been able to add new logbooks.
Can anybody help me on this.
Paraic Fahey
|
Just modify your configuration file elogd.cfg manually with an editor and add your logbooks there, then restart elogd.
/Stefan
|
I cannot answer for Windoze, BUT there is more to this if you use Linux.
(Sorry for re-entry, I spotted a cut-and-paste error from first time around)
If you want to make a new logbook in linux manually, you need to do the following:
0. Stop the elogd daemon.
1. Edit elogd.cfg as Stefan said. This will be in two parts - at the top, and then a block of entries which is what you normally see when you go to the "config" section of any logbook. Easiest to copy and paste an existing block, only remember to put in a new header in the square brackets at the top - the name of your new logbook. While most of the elogd.cfg is the same as in the documentation, the additional headers etc are pretty self-explanatory, and you only see these because you're editing the file raw rather than through the elog interface. Once restarted, you can then edit the config for the new logbook in the usual way.
2. Create a new subdirectory in your logbooks directory *with the same name* as the name you added in when editing elogd.cfg.
3. Give that subdirectory the correct ownership and permissions.
4. Only then, start elogd again.
As a windows user, which of the above you need to do: create the subdirectory (I imagine so) and/or anything else (I don't know). I don't use Windows - apart from AutoCAD and one other javascript based program that non-the-less has windows dependancies (!).
David.
|
David, Stefan,
Thanks for your help. Directly editing the elog.cfd file worked.
Paraic |
Re: can one use a IOption field for conditional tests?, posted by Stefan Ritt on Fri Mar 12 11:26:27 2010
|
FX FRERE wrote: |
Hi again,
I was wondering if one could use a conditional statement on an IOption attribute? Indeed i try to do a visual logbook (a green check for OK result, a red cross for NOK result), unfortunately i cannot refer to the attributes value for conditional test, e.g:
IOptions Status= "Delete-icon.png" {1}, "Check-icon.png"{2}
Icon comment Delete-icon.png = Failed
Icon comment Check-icon.png = OK
{1} Show Attribute Edit = Attribute1, Attribute2
Thread Icon = Status
Attribute1 and 2 do not have any sense if the result was successful,
ELOG interprets the {1} and {2} as being part of the icon name!
thanks again for your help
FX
|
Conditions won't work for IOption attributes. You need an additional attribute like:
Attributes = Status, Subject, Icon
Options Status = OK{1}, Failed{2}
Ioptions Icon = icon1.gif, icon2.gif
{1}Preset icon = icon1.gif
{2}Preset icon = icon2.gif
|
Re: can attrinute fields contain more that one line, posted by Stefan Ritt on Fri Apr 30 21:26:32 2004
|
> Is there any way to configure elog so that attribute fields can be edited
> on more than line like the 'text' field?
>
> (This would be useful so that attributes could contain larger portions of
> text including line breaks)
No, but this request is already on the wishlist
(http://midas.psi.ch/elog/wishlist.html) since some time. I added your vote. |
Re: can attrinute fields contain more that one line, posted by Paul Harrington on Fri Mar 18 10:41:39 2005
|
> > Is there any way to configure elog so that attribute fields can be edited
> > on more than line like the 'text' field?
> >
> > (This would be useful so that attributes could contain larger portions of
> > text including line breaks)
>
> No, but this request is already on the wishlist
> (http://midas.psi.ch/elog/wishlist.html) since some time. I added your vote.
Stefan,
Was just wondering about the status of the multi-line attributes in Elog, are
they implemented in elog yet? If not is that something you are planning to do
in the future?
many thanks
Paul |
Re: can attrinute fields contain more that one line, posted by Stefan Ritt on Fri Mar 18 10:54:36 2005
|
> Was just wondering about the status of the multi-line attributes in Elog, are
> they implemented in elog yet? If not is that something you are planning to do
> in the future?
In order to have multi-line attributes, the whole format of the logbooks has to be
changed. I plan to use XML for the logbook format in the future. We would not have
any more one file per day, but one big file per logbook. I have already some XML
functionality in elog, but this one requires a major rewrite of the whole code. On
the other hand, searching etc. will become much faster afterwards. I plan to start
this development soon, but it might take quite some time, so don't expect it
before summer or fall.
Best regards,
Stefan |
Re: can attrinute fields contain more that one line, posted by Paul Harrington on Fri Mar 18 11:06:11 2005
|
> > Was just wondering about the status of the multi-line attributes in Elog, are
> > they implemented in elog yet? If not is that something you are planning to do
> > in the future?
>
> In order to have multi-line attributes, the whole format of the logbooks has to be
> changed. I plan to use XML for the logbook format in the future. We would not have
> any more one file per day, but one big file per logbook. I have already some XML
> functionality in elog, but this one requires a major rewrite of the whole code. On
> the other hand, searching etc. will become much faster afterwards. I plan to start
> this development soon, but it might take quite some time, so don't expect it
> before summer or fall.
>
> Best regards,
>
> Stefan
Thanks for your help, thats useful to know.
Paul |
Re: can attrinute fields contain more that one line, posted by Grant Jeffcote on Thu Oct 19 07:00:57 2006
|
> > Is there any way to configure elog so that attribute fields can be edited
> > on more than line like the 'text' field?
> >
> > (This would be useful so that attributes could contain larger portions of
> > text including line breaks)
>
> No, but this request is already on the wishlist
> (http://midas.psi.ch/elog/wishlist.html) since some time. I added your vote.
Hi Stefan, could you add my vote for this feature too please?
Many thx |
Re: can attrinute fields contain more that one line, posted by Paolo Franchini on Fri Nov 20 11:20:49 2015
|
> > > Was just wondering about the status of the multi-line attributes in Elog, are
> > > they implemented in elog yet? If not is that something you are planning to do
> > > in the future?
> >
> > In order to have multi-line attributes, the whole format of the logbooks has to be
> > changed. I plan to use XML for the logbook format in the future. We would not have
> > any more one file per day, but one big file per logbook. I have already some XML
> > functionality in elog, but this one requires a major rewrite of the whole code. On
> > the other hand, searching etc. will become much faster afterwards. I plan to start
> > this development soon, but it might take quite some time, so don't expect it
> > before summer or fall.
> >
> > Best regards,
> >
> > Stefan
>
> Thanks for your help, thats useful to know.
>
> Paul
Hi Stefan,
any update on the multi-line request?
cheers,
Paolo |
|