ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
67571
|
Tue Oct 8 18:14:20 2013 |
| Barend | office@amtc2.com | Bug report | Windows | 2.9.2 | Importing XML/CSV |
Hi Stefan,
I'm experiencing problems importing XML (.csv is not working at all for me).
My logbook contains 3 date-attributes besides the system DATE (entry time), date-format is defined as %d %b %y.
The XML file hold the date format "DD.MM.YYYY"
- During "preview" I see that all entries are listed.
- During the import I get the "wrong date format" error.
- When I review the Summary, I see that only the first XML entry (all 3 date-attributes hold a date) was imported.
- When I try to re-import the XML from the second entry (after removing the 1st entry from XML - this second entry hold NO date-value on one of the date-attributes) the elogd.exe crashes and I get the "Service Temporarily Unavailable" error page.
- When I try to re-import the XML from the modified second entry (after removing the 1st entry from XML - this second entry holds date-value on all of the date-attributes) the elogd.exe crashes and I get the "Service Temporarily Unavailable" error page.
Any suggestion what could be wrong? Is it the missing date-value? |
Attachment 1: import.xml
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<ELOG_LIST>
<ENTRY>
<MID>1</MID>
<DATE>Mon 07 Oct 2013 11:41:42 +0200</DATE>
<ENCODING>plain</ENCODING>
<Data_dekretacji>01.10.2013</Data_dekretacji>
<Numer_rejestru>XXX/2013/001</Numer_rejestru>
<Numer_umowy>44/333/N/2012</Numer_umowy>
<Nazwa_dokumentu>XXXXXXXXXXXXXXXX</Nazwa_dokumentu>
<Przedmiot_umowy></Przedmiot_umowy>
<Kontrahent>AAAAAAAA BBBBBBBBBB</Kontrahent>
<Data_zawarcia>10.07.2012</Data_zawarcia>
<Data_konca>10.07.2013</Data_konca>
<Dzial></Dzial>
<Status>Nieaktualna</Status>
<Aneksy></Aneksy>
<Opis></Opis>
<Opis2></Opis2>
<Opis3></Opis3>
</ENTRY>
<ENTRY>
<MID>2</MID>
<DATE>Mon 07 Oct 2013 11:41:42 +0200</DATE>
<ENCODING>plain</ENCODING>
<Data_dekretacji>01.10.2013</Data_dekretacji>
<Numer_rejestru>XXX/2013/002</Numer_rejestru>
<Numer_umowy>33/330/N/2012</Numer_umowy>
<Nazwa_dokumentu>CCCCCC DDDDDDDD</Nazwa_dokumentu>
<Przedmiot_umowy></Przedmiot_umowy>
<Kontrahent>XXXXXXXXXXXXXX</Kontrahent>
<Data_zawarcia>01.06.2012</Data_zawarcia>
<Data_konca></Data_konca>
<Dzial></Dzial>
<Status>Aktualna</Status>
<Aneksy></Aneksy>
<Opis></Opis>
<Opis2></Opis2>
<Opis3></Opis3>
</ENTRY>
</ELOG_LIST>
|
67570
|
Mon Oct 7 10:33:32 2013 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Windows | 2.7.6 | Re: cannot add new logbooks to any of my logbook groups |
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. |
67569
|
Mon Oct 7 10:12:31 2013 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.7.6 | Re: cannot add new logbooks to any of my logbook groups |
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 |
67568
|
Thu Oct 3 10:23:31 2013 |
| Paraic Fahey | paraic.fahey@pfizer.com | Question | Windows | 2.7.6 | cannot add new logbooks to any of my logbook groups |
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 |
67567
|
Tue Sep 24 17:38:33 2013 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.9.2 | Re: Packaging ELOG for Debian |
Nicolas FRANCOIS wrote: |
Hi.
I'd like to package ELOG for the new Debian. I'm a complete beginner in
this matter, but I spent some time configuring it for my desktop.
Could you help me do this (links to package maintainance, Elog tips,
security, former package maintainer...) ?
Thanks for any help.
--
Nicolas FRANCOIS | /\
http://nicolas.francois.free.fr | |__|
X--/\\
We are the Micro$oft. _\_V
Resistance is futile.
You will be assimilated. darthvader penguin
|
I'm also not familiar with Debian, all I know is that the former maintainer was Recai Oktas. See here for example:
elog:1002 |
67566
|
Thu Sep 12 22:23:43 2013 |
| David Pilgram | David.Pilgram@epost.org.uk | Bug report | All | latest | Re: Find by date/time |
Hal Proctor wrote: |
David Pilgram wrote: |
Hal Proctor wrote: |
Is it a time zone issue or a setting issue related to the FIND by date / time issue?
It seems to add an hour to each of the time selections once you select SEARCH. see attached pics
|
One hour adrift at this time of the year sounds like daylight saving. Or compensation thereof. What is your computer clock set to (not what time the clock reads)?
Personally I think it rather naughty that [at least older] Windoze automatically sets the clock one hour forward the first reboot after the spring switch forward, and the same in the autumn back. What if you'd already done it, like all the rest of the clocks in the house?
|
But it shouldn't use a calculation of any means when the search criteria is entered. I did not choose "LAST DAY", I specifically entered a time, and THAT time should be used for the search. |
Some computer programs/OS work with the computer clock as is. Some make adjustment for Daylight Saving. Some - Windows comes to mind, actually adjust the computer clock back and forth as Daylight saving ends and begins respectively. I know this because I have a dual boot computer (I use windoze for AutoCAD and one other Windows-only Java based utility[!]), and when British Summer Time starts, my Linux automatically moves the screen clock forward. But when I subseqently boot into Windoze, it sets the computer clock forward one hour, so when I then boot back into Linux, the clock is one hour fast.
I therefore suggest again you check what your computer clock *really* is, not what the OS reports it as being, as often they think they're being clever and automatically put in Daylight Saving.
Another test - Stefan and Andreas will be shuddering hard tonight - will be to set your computer clock to December, and see if the effect is still there or has disappeared. |
67565
|
Thu Sep 12 22:15:12 2013 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Linux | 2.9.2-1 | Re: posting future logbook entries |
todd wrote: |
Is there a way to post a logbook entry to a future dated logbook file? I've searched through the user manual for forward dating but can't seem to find anything. As an example at my office, a user wants to add a personal entry stating they will be absent from work on October 5th and I would like that entry information written to the 131005a.log file instead of the current days log.
|
I know two ways to do this. Either way you do need some kind of sysadmin status.
Stefan, Andreas, close your eyes for the next sentence.
1. Set the computer/server clock to 5th October, make the entry, set the clock back again.
2. Make the entry as normal, then go into the logbook directory and find today's 130912a.log entry - now create a new 131005a.log file, and paste in the relivant entry into this - not forgetting to change the day and date at the top. Save the file. Ensure that 131005a.log has the correct permissions and ownership (compare with all the other files) - you do mean you're using linux, didn't you. Cannot answer for what to do/happen with Windows.
Now I too have this issue - there is one entry I want to keep at the very top of the list until a certain date has passed. The way that Stefan/Andreas may offer probably will work, but I've never tried it - which is that the entry goes into today's log file, but has a "entry date" category. I don't know if that would keep the entry at the top of the list until the 5th October has passed. As I don't want to have an "Entry date" category, I resort to one of the two methods above.
The fact that the ID numbers become out of sequence doesn't seem to affect the performance of ELOG at all in my perhaps rather more extensive experience than the developers would have wanted me to try.
|
67564
|
Thu Sep 12 18:01:34 2013 |
| todd | todd.holsten@noaa.gov | Question | Linux | 2.9.2-1 | posting future logbook entries |
Is there a way to post a logbook entry to a future dated logbook file? I've searched through the user manual for forward dating but can't seem to find anything. As an example at my office, a user wants to add a personal entry stating they will be absent from work on October 5th and I would like that entry information written to the 131005a.log file instead of the current days log. |