ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
68167
|
Tue Oct 27 15:41:57 2015 |
| Dani | droldan@cells.es | Question | Linux | 3.1.1 | dynamic "preset text" option without remplace text if it has changed | Dear all,
Is it possible to have a dynamic "preset text" option without remplace text if it has changed?
I would like to switch the template file depending on the attribute value (Type).
If user already started editing the text body, on change (Type) he could lose this data.
I'm using this example code :
Attributes = Type, Subject
Options Type = One{1}, Two{2}, Three{3}
Show text = 0
{1} Preset text = text1
{2} Preset text = text2
{3} Preset text = text3
{1,2,3} Show text = 1
I the attribute type change the user lost the data, because the text has been replaced.
Any idea about how to solve it?
Thanks!
Cheers |
68169
|
Wed Oct 28 09:15:52 2015 |
| Dani | droldan@cells.es | Question | Linux | 3.1.1 | Re: dynamic "preset text" option without remplace text if it has changed | thanks Andres for your response!
I was thinking that it cannot be possible, but , I had to try to ask in the forum.
for my question, I think that this could be left on user responsibility to take care about it, and add a comment the the text fied, explaining that will be erased the html text on change the text field.
Thanks four your time.
Andreas Luedeke wrote: |
I don't think that this is possible.
And it is not clear to me, how you would like it to work: I often use HTML tables in preset text, where the user should fill out columns (e.g. for checklists). I wouldn't want the tables just to append when switching to another checklist. You could rather add a comment to the Type field, explaining that the text field will be overwritten when you change the type.
The Firefox addon Lazarus does store whatever you've typed in an HTML form: at least you could then recover what you've typed.
Cheers, Andreas
Dani wrote: |
Dear all,
Is it possible to have a dynamic "preset text" option without remplace text if it has changed?
I would like to switch the template file depending on the attribute value (Type).
If user already started editing the text body, on change (Type) he could lose this data.
I'm using this example code :
Attributes = Type, Subject
Options Type = One{1}, Two{2}, Three{3}
Show text = 0
{1} Preset text = text1
{2} Preset text = text2
{3} Preset text = text3
{1,2,3} Show text = 1
I the attribute type change the user lost the data, because the text has been replaced.
Any idea about how to solve it?
Thanks!
Cheers
|
|
|
69559
|
Fri Sep 23 01:32:15 2022 |
| Dan Witteman | drwitteman@physics.ucsd.edu | Question | Linux | 3.1.4-3 | Need help with permission | Hello,
I have just installed elog onto an ubuntu focal server using <sudo make install> and I am unable to create new entries.
When I access the log via a windows PC connected to the local network, I can see the demo logbook with the 1 test post, but I cannot create or edit anything.
Attempting to post throws the error:
New entry cannot be written to directory "/usr/local/elog/logbooks/demo/"
Please check that it exists and elogd has write access and disk is not full.
Please point me in the right direction to correctly set permissions and create aditional log books.
Thanks,
Dan |
69563
|
Mon Sep 26 19:21:33 2022 |
| Dan Witteman | drwitteman@physics.ucsd.edu | Question | Linux | 3.1.4-395 | Re: Need help with permission | I used "chown" to pass permissions from root to my deafult user, then restarted the service and now I can make posts. Thank you!
Stefan Ritt wrote: |
Sometimes this can also be an SELinux issue, if you have that service running. Try "journalctl | grep denied" to see denied resources and consult the SELinux documentation on how to fix that.
Stefan Ritt wrote: |
Permissions are handled by the operating system and have nothing to do with elog. Make sure you run elog under an account which has write access to the desired directories. Consult Ubuntu documentation how to do that. Sometimes it's helpful to start elog interactively with the -v flag to see some verbose output. Maybe you can spot something there.
Stefan
Mikkel D. Lund wrote: |
Hi all,
I have the same problem on Ubuntu 22.04. I have compiled from the latest tarball and copied all our logbooks from our old Ubuntu 18.04 server to a new Ubuntu 22.04. The logbooks does however not appear when I log in, so I assume ELOG doesn't have read access either?
Any hints on how to set the permissions correctly would be greatly appreciated.
Thanks,
Mikkel
Dan Witteman wrote: |
Hello,
I have just installed elog onto an ubuntu focal server using <sudo make install> and I am unable to create new entries.
When I access the log via a windows PC connected to the local network, I can see the demo logbook with the 1 test post, but I cannot create or edit anything.
Attempting to post throws the error:
New entry cannot be written to directory "/usr/local/elog/logbooks/demo/"
Please check that it exists and elogd has write access and disk is not full.
Please point me in the right direction to correctly set permissions and create aditional log books.
Thanks,
Dan
|
|
|
|
|
65744
|
Fri Feb 15 22:55:11 2008 |
| Dan Gawarecki | dan_gawarecki@datacard.com | Bug report | Windows | | error "Cannot retrieve host name: No error" using command line in Windows | I automatically install software on 3 machines in our lab, and at the end of the process, use eLOG to record relevant information for each machine (all running Windows XP) via the command line program elog.exe. 2 of the machines log their info correctly, but on third machine, I get the following error:
Cannot retrieve host name: No error
The error is not very clear (i.e., the error is "no error"?), and furthermore, operationally, the error makes no sense to me, for the three machines are supposedly configured the same. Additionally, the elog.exe used is stored on a network drive, as are the other batch files that all3 machines use, so it is not as a problem could creep in due to differing versions/configurations of files.
Just in case I am overlooking something, here's the command line invocation (I've X'd out sensitive information):
C:\>x:\@adat\tools\elog.exe -h max13 -l "Maxtee" -u xxxxxxxxxx xx1234 -a Tester=AULS_xxx_y -a M
achine="Mercury 99" -a "Module Type"=Controller -a "Action Description=Configuration Change" -
a Title="AULS upgraded to 1.2.7344 from [1.1.7343]." -a "Card Count=998352" -m X:\@ADAT\InterimP
F\MERCURY29.Blat_Msg1_PostBoot.TXT 1>X:\@ADAT\InterimPF\MERCURY29_eLog_CmdLineOutput1_(PostBoot).txt
Cannot retrieve host name: No error
Obvoiusly, there *must* be some configuration difference between the 2 working and 1 non-working machine, but I am at a loss to figure it out.
I am not sure which version of eLOG is being used, but the size of the elog.exe is 139,264.
I suggest a new option be added to display the version information, or display the version info whenever eLOG is execute, or display the version info when "-?" option is used. |
65747
|
Mon Feb 18 17:25:42 2008 |
| Dan Gawarecki | dan_gawarecki@datacard.com | Bug report | Windows | | Re: error "Cannot retrieve host name: No error" using command line in Windows | Stefan:
Thanks for the analysis and information. Why am I not surprised that the "No error" came from Windows!?
I tried some of your suggestions with the following results:
1. Ping ==>= works as expected on the failing machine; that is, can successfully ping "max13" I also can ping successfully in the reverse direction; that is, from "max13" to my "client" machine.
2. NSLookUp ==>does not work on any of the 3 machines.
3. Added the computer name "max13" to HOSTS file; ==> observed no change in behavior (i.e., still fails)
I did notice that on the 2 machines that function as desired that there is no anti-virus software installed, while on the non-funcational machine there is A-V SW installed. I am able to bring up eLOG via the browser on the non-functional machine, so am unsure if the A-V SW is a factor; that is, why does ELOG via browser work as expected, but not via command line.
QUESTION: does command line ELOG connect differently than ELOG through the browser?
I ask this question for perhaps the A-V SW *is* blocking some port or whatever, and I will need to ask our IT department how to remove such a restriction.
|
65749
|
Mon Feb 18 22:20:02 2008 |
| Dan Gawarecki | dan_gawarecki@datacard.com | Bug report | Windows | | Re: error "Cannot retrieve host name: No error" using command line in Windows | Since both my machine and the Elog server PC are inside my company's "security zone", I am not running a firewall on my machine.
For what it's worth: in trying to research the "No error" message, I did come across this information on MS's website; that is, their statement is:
The gethostbyname function retrieves host information corresponding to a host name from a host database.
Note The gethostbyname function has been deprecated by the introduction of the getaddrinfo function. Developers creating Windows Sockets 2 applications are urged to use the getaddrinfo function instead of gethostbyname.
SOURCE: http://msdn2.microsoft.com/en-us/library/ms738524.aspx
|
66467
|
Tue Jul 28 02:50:42 2009 |
| Dan Duong | Dan.Duong@team.telstra.com | Question | Windows | v2.7.42111 | display GMT time instead of local time in Entry time/ Last edit field | Hi all,
I have set my PC in Time Zone GMT+10:00 but I get GMT time in Entry time/Last edit field.
I have installed in another PC. Which has Time Zone GMT+10:00 but I still get GMT time in Entry time/Last edit field.
Please help. Thank you very much.
|
|