ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66984
|
Fri Jan 14 00:07:01 2011 |
| JacekK | doctor99@poczta.onet.pl | Bug report | All | 2.8.0 | New entries are not visible from other logbooks based on the same logbook dir through Subdir |
Hi,
I have two logbooks based on the same data directory through "Subdir" option and when I add new
entry in one logbook, then that entry is not visible in other logbook.
I suppose it is a bug in el_submit function, where I think the new message should be added to
message index of every logbook based on the same data directory as the one, where the message was physically
created.
There is a piece of code, which I think should do this automatically
/* if other logbook has same index, update pointers */
but it seems the other logbooks does not have the same index.
I'm new to elog and the sources are also new to me, so my guess to the ground of the problem may be wrong.
Let me know is this bug possible to fix in near future.
Best regards,
Jacek |
66983
|
Thu Jan 13 10:07:17 2011 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Bug report | All | 2.8.0-2313 | Found some spelling errors in eloglang.german |
corrected file is attached |
66982
|
Sun Jan 9 07:04:00 2011 |
| Behdad D | behdad@inbox.com | Question | Windows | 2.8 | Re: Multiple Insances of eLog on the same machine |
Stefan Ritt wrote: |
Behdad D wrote: |
Hello,
Is it possible to run multiple instance of elog on the same windows box where each instance listens on a different port?
Thanks.
Behdad.
|
Sure. Just start with one subdirectory for each instance with a separate elogd.cfg file, where you specify a different port. Note however that there is also the concept of "top groups" (see documentation) which lets a single instance of elog look like several independent installations.
|
Great. Thanks Stefan.
I also am already using the top groups. This is just to totally separate my work and home elog.....I have to admit I am really an elog addict. 
This elog and the idea behind it is absolutely brilliant. Very useful, easy to maintain, migrate, configure, easy to use, versatile, etc... Good on you all.
Cheers,
Behdad. |
66981
|
Fri Jan 7 08:37:49 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.8 | Re: Multiple Insances of eLog on the same machine |
Behdad D wrote: |
Hello,
Is it possible to run multiple instance of elog on the same windows box where each instance listens on a different port?
Thanks.
Behdad.
|
Sure. Just start with one subdirectory for each instance with a separate elogd.cfg file, where you specify a different port. Note however that there is also the concept of "top groups" (see documentation) which lets a single instance of elog look like several independent installations. |
66980
|
Fri Jan 7 05:45:41 2011 |
| Behdad D | behdad@inbox.com | Question | Windows | 2.8 | Multiple Insances of eLog on the same machine |
Hello,
Is it possible to run multiple instance of elog on the same windows box where each instance listens on a different port?
Thanks.
Behdad. |
66979
|
Thu Dec 23 10:42:05 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.8 | Re: how to retrieve attachment on execute new |
Zbigniew Reszela wrote: |
Hello Stefan,
first of all thanks for quick response.
However I encountered another problem, but to explain it well I need to tell you more what actually I want to do with these substitutions.
So I would like to have a python script which on add new entry will create a new entry in another logbook with the same data (Only for certain attributes' values). That's why I need attachments.
These substitutions will be used as command line arguments of the script.
Since I started using $attachments, all the substitutions used before it, are passed twice? Without using $attachments substitution, it works fine - they are passed only once.
Furthermore I tested it without script, just passing them to a text file, and it seems that it really doesn't work well. Could you check that?
-------------------
Execute new = echo $message id '$long_name' '$System' '$Equipment' '$Subject' '$text' > /tmp/zzz_elog.log WORKS GOOD
Execute new = echo $message id '$long_name' '$System' '$Equipment' '$Subject' '$text' $attachments> /tmp/zzz_elog.log DOESN'T WORK GOOD
------------------
Thank you a lot in advance.
|
Thanks for reporting this bug. I fixed this in SVN revision 2348. |
66978
|
Thu Dec 16 19:20:20 2010 |
| Zbigniew Reszela | zreszela@cells.es | Question | Linux | 2.8 | Re: how to retrieve attachment on execute new |
Stefan Ritt wrote: |
Zbigniew Reszela wrote: |
Zbigniew Reszela wrote: |
Hello all,
I have a problem with retrieving attachments of an entry on "Execute new" command. In the syntax of elodg.cfg it is: In addition the list of all attachments can be referred to via $<attachment>. Could anyone explain it a little bit more explicit, or attach an example?
Thank you in advance.
|
Hello again,
I have managed with problem by using $attachments. This provides me a list o paths to attachments. If it's the correct way to use it please change elogd.cfg syntax page.
Thanks a lot.
|
Yes, indeed there was a typo in the documentation, $attachments is the correct one. I changed that in the syntax page.
|
Hello Stefan,
first of all thanks for quick response.
However I encountered another problem, but to explain it well I need to tell you more what actually I want to do with these substitutions.
So I would like to have a python script which on add new entry will create a new entry in another logbook with the same data (Only for certain attributes' values). That's why I need attachments.
These substitutions will be used as command line arguments of the script.
Since I started using $attachments, all the substitutions used before it, are passed twice? Without using $attachments substitution, it works fine - they are passed only once.
Furthermore I tested it without script, just passing them to a text file, and it seems that it really doesn't work well. Could you check that?
-------------------
Execute new = echo $message id '$long_name' '$System' '$Equipment' '$Subject' '$text' > /tmp/zzz_elog.log WORKS GOOD
Execute new = echo $message id '$long_name' '$System' '$Equipment' '$Subject' '$text' $attachments> /tmp/zzz_elog.log DOESN'T WORK GOOD
------------------
Thank you a lot in advance.
|
66977
|
Wed Dec 15 16:42:32 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.8 | Re: elog as a service in windows not detect Imagemagick |
Diego Obradors Campos wrote: |
I have installed elog 2.8 in a windows pc with the installer from the distribution, it installs elog as a windows service, which is started automatically when windows starts.
It is done as:
"C:\Archivos de programa\ELOG\elogd.exe" -D -c "C:\Archivos de programa\ELOG\elogd.cfg"
Moreover Imagemagick and GhostScript are in the path:
Version: ImageMagick 6.6.4-6 2010-09-21 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
However the indexing loogbooks are only working fine when elog is started interactively. Is there any posiblity to start elog as a service and use thumbnails for quick preview?
Thank you in advance!
|
This is a know problem. I did not achieve to create the imagemagic subprocess and read its output when elogd is started as a service. Attached is the code doing that, I found it as an example from Microsoft. But even after hours of work, I could not get it running inside the service. If anybody has any idea, please let me know. |