ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
65859
|
Fri Apr 25 19:56:48 2008 |
| svrmarty | svrmarty@gmx.net | Question | | | Re: how to set locale for date/time |
Stefan Ritt wrote: |
svrmarty wrote: |
Stefan Ritt wrote: |
svrmarty wrote: |
is there any new option i can use/configure ?
i still get the english datetime
Eingabezeit: Thu Mar 27 09:27:41 2008
|
As I told you, you have to upgrade to SVN revision 2098 or later.
|
i've updated to ELOG V2.7.3-2104
|
Well, then you should get German locale. I just tried with the same version and following elogd.cfg, so I don't know what you are doing wrong:
[global]
port = 8080
language = german
[demo]
Attributes = Author, Type, Category, Subject

|
great, works now
thx a lot
i had to create de_DE locales, we only use de_AT, this is for austria, where we live
|
66974
|
Tue Dec 14 18:43:38 2010 |
| Zbigniew Reszela | zreszela@cells.es | Question | Linux | 2.8 | Re: how to retrieve attachment on execute new |
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. |
66976
|
Wed Dec 15 08:49:30 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.8 | Re: how to retrieve attachment on execute new |
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. |
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.
|
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. |
68758
|
Tue Mar 6 17:28:46 2018 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 3.1.3 | Re: how to insert images inline | Before you click OK on your point 4, click on "Send to Server".
Stefan
Piotr Zolnierczuk wrote: |
Hi,
I recently upgraded elog from 2.7 to 3.1 and have a hard time to insert images inline. The attachements work just fine. I am certain it is something silly, but I cannot figure it out.
- In edit mode, I click the image icon
- A pop-up "Image Propertied" shows with two tabs "Image Info" and "Upload" (selected)
- Click on Browse button and select an image
- Now
- if I click OK, I get an error "Image source URL is missing".
- if I go to "Image Info" tab - what URL am I supposed to enter, 68757/<1> ?
I found an old thread elog:68410 (from 2016) but could not find a solution that would work for me. Where does "Preview attachments" option should be inserted? In the global section?
Hopefully there's a simple explanation for this
Piotr
|
|
68759
|
Tue Mar 6 17:49:49 2018 |
| Piotr Zolnierczuk | zolnie@yahoo.com | Question | Linux | 3.1.3 | Re: how to insert images inline | I did just that. The image was properly send to the server (it appears in the attachement list). However clicking OK still produces "Image source URL is missing".
What is the URL that refers to an attachment? I've tried 68759/<1> and 68759/1 and even elog:1234/<1> (where 1234).
Stefan Ritt wrote: |
Before you click OK on your point 4, click on "Send to Server".
Stefan
Piotr Zolnierczuk wrote: |
Hi,
I recently upgraded elog from 2.7 to 3.1 and have a hard time to insert images inline. The attachements work just fine. I am certain it is something silly, but I cannot figure it out.
- In edit mode, I click the image icon
- A pop-up "Image Propertied" shows with two tabs "Image Info" and "Upload" (selected)
- Click on Browse button and select an image
- Now
- if I click OK, I get an error "Image source URL is missing".
- if I go to "Image Info" tab - what URL am I supposed to enter, 68757/<1> ?
I found an old thread elog:68410 (from 2016) but could not find a solution that would work for me. Where does "Preview attachments" option should be inserted? In the global section?
Hopefully there's a simple explanation for this
Piotr
|
|
|
68760
|
Tue Mar 6 18:01:30 2018 |
| Piotr Zolnierczuk | zolnie@yahoo.com | Question | Linux | 3.1.3 | Re: how to insert images inline | Got it to work. Removed "Preview attachments = 1" from the global section.
Thanks for your help.
Piotr
Piotr Zolnierczuk wrote: |
I did just that. The image was properly send to the server (it appears in the attachement list). However clicking OK still produces "Image source URL is missing".
What is the URL that refers to an attachment? I've tried 68759/<1> and 68759/1 and even elog:1234/<1> (where 1234).
Stefan Ritt wrote: |
Before you click OK on your point 4, click on "Send to Server".
Stefan
Piotr Zolnierczuk wrote: |
Hi,
I recently upgraded elog from 2.7 to 3.1 and have a hard time to insert images inline. The attachements work just fine. I am certain it is something silly, but I cannot figure it out.
- In edit mode, I click the image icon
- A pop-up "Image Propertied" shows with two tabs "Image Info" and "Upload" (selected)
- Click on Browse button and select an image
- Now
- if I click OK, I get an error "Image source URL is missing".
- if I go to "Image Info" tab - what URL am I supposed to enter, 68757/<1> ?
I found an old thread elog:68410 (from 2016) but could not find a solution that would work for me. Where does "Preview attachments" option should be inserted? In the global section?
Hopefully there's a simple explanation for this
Piotr
|
|
|
|
|