Re: Date in CSV and XML in UNIX time, posted by PJ Meyer on Mon Jul 25 22:27:06 2005
|
Stefan Ritt wrote: |
PJ Meyer wrote: |
Stefan Ritt wrote: |
PJ Meyer wrote: | So what can be done to make all the dates look like dates? |
Simply upgrade to 2.6.0beta where this problem has been solved. |
I did upgrade to "2.60-beta2" of the Windows binaries - June 16th date stamps on Elog.exe and Elogd.exe.
I'm still getting dates that are in "Unix time"
Anything else? |
I just tried again myself. Put following into elgod.cfg:
[demo]
Attributes = Author, Category, Arrival
Type Arrival = Date
type in one entry, did a XML extract, and got
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ELOGD Version 2.6.0-beta2 export.xml -->
<ELOG_LIST>
<ENTRY>
<MID>1</MID>
<DATE>Fri Jul 22 22:50:34 2005</DATE>
<Author>sr</Author>
<Category>Problem</Category>
<Arrival>7/25/2005</Arrival>
<TEXT></TEXT>
</ENTRY>
</ELOG_LIST>
where the date looks ok. So what do you do differently? |
Not sure where we differ....
My cfg:
Attributes = System, Requestor, Title, Priority, Date Needed, Type, Also Notify, Subsystem, Status, Work Order, Assigned To, Team Lead, Percent Complete, Estimated Hrs, Actual Hrs, Date Added, Expected Delivery, Date Completed, Notifications, Completed
Options Priority = A-Emergency{p1}, B-Critical{p2}, C-High{p3}, D-Medium{p4}, E-Low{p5}
Preset Priority = D-Medium
Type Date Needed = Date
XML Extract:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ELOGD Version 2.6.0-beta2 export.xml -->
<ELOG_LIST>
<ENTRY>
<MID>585</MID>
<DATE>Wed Jun 22 08:29:58 2005</DATE>
<System>SDWIS</System>
<Requestor>Other...</Requestor>
<Title>EDI rejects report to George WAUN</Title>
<Priority>B-Critical</Priority>
<Date_Needed>1119384000</Date_Needed>
Q: could it be the spaces in Attribute name????
Or the differences between Linux and Windows ports? |
Re: Date in CSV and XML in UNIX time, posted by Stefan Ritt on Tue Jul 26 09:25:40 2005
|
PJ Meyer wrote: | Q: could it be the spaces in Attribute name????
Or the differences between Linux and Windows ports? |
I tried following elogd.cfg:
[global]
port = 8080
[demo]
Attributes = System, Requestor, Title, Priority, Date Needed, Type, Also Notify, Subsystem, Status, Work Order, Assigned To, Team Lead, Percent Complete, Estimated Hrs, Actual Hrs, Date Added, Expected Delivery, Date Completed, Notifications, Completed
Options Priority = A-Emergency{p1}, B-Critical{p2}, C-High{p3}, D-Medium{p4}, E-Low{p5}
Preset Priority = D-Medium
Type Date Needed = Date
and got
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ELOGD Version 2.6.0-beta2 export.xml -->
<ELOG_LIST>
<ENTRY>
<MID>2</MID>
<DATE>Tue Jul 26 09:10:33 2005</DATE>
<System>s</System>
<Requestor>r</Requestor>
<Title>t</Title>
<Priority>D-Medium</Priority>
<Date_Needed>07/26/05</Date_Needed>
<Type></Type>
<Also_Notify></Also_Notify>
<Subsystem></Subsystem>
<Status></Status>
<Work_Order></Work_Order>
<Assigned_To></Assigned_To>
<Team_Lead></Team_Lead>
<Percent_Complete></Percent_Complete>
<Estimated_Hrs></Estimated_Hrs>
<Actual_Hrs></Actual_Hrs>
<Date_Added></Date_Added>
<Expected_Delivery></Expected_Delivery>
<Date_Completed></Date_Completed>
<Notifications></Notifications>
<Completed></Completed>
<TEXT></TEXT>
</ENTRY>
</ELOG_LIST>
So I have the blank in the attribute, and I tried it both under windows and linux. I looked again at the code, and am pretty sure you run an old version. So I made a 2.6.0beta3 windows binaries, with which you could try it again. |
Problems with beta 3 (Follow-on to CVS/XML msg 1296), posted by PJ Meyer on Wed Jul 27 02:15:59 2005
|
Ok downloaded and installed beta 3
can get xml and cvs with dates as date! verrry haaapppppy! 
but something happened to the css.
i'm getting white background and no icons anywhere.
so tried to install in a clean location as it comes out of the box with no changes. get white background, no colour.
tried moving css files, graphic files, etc, around - nothing.
emptied bowser caches (IE and Opera)
deleted appropriate cookies
stop and started many time.
and still at the end of the day - i get a white background only, no colour what so ever.
also get page not found when clicking on a row to edit entry.
example: http://dhsdlj159941.hr.state.or.us/demo/1
is record #1 in demo table, elog can't display it when i click on it in the list window.
any ideas? |
Re: Problems with beta 3 (Follow-on to CVS/XML msg 1296), posted by Stefan Ritt on Wed Jul 27 09:39:47 2005
|
PJ Meyer wrote: | but something happened to the css.
i'm getting white background and no icons anywhere.
so tried to install in a clean location as it comes out of the box with no changes. get white background, no colour.
tried moving css files, graphic files, etc, around - nothing.
emptied bowser caches (IE and Opera)
deleted appropriate cookies
stop and started many time.
and still at the end of the day - i get a white background only, no colour what so ever.
also get page not found when clicking on a row to edit entry.
example: http://dhsdlj159941.hr.state.or.us/demo/1
is record #1 in demo table, elog can't display it when i click on it in the list window.
any ideas? |
That's strange. Can you check if elog finds it's own host properly? The CSS file should be under
http://dhsdlj159941.hr.state.or.us/demo/default.css
and if you look at the HTML source of you standard page you should see something like:
<link rel="stylesheet" type="text/css" href="http://dhsdlj159941.hr.state.or.us/demo/default.css">
Could it be that elog places something else than "dhsdlj159941.hr.state.or.us" as the host name? If so, you could override this with following statement in elogd.cfg:
URL = http://dhsdlj159941.hr.state.or.us/
That should also fix your other problem. |
Re: Problems with beta 3 (Follow-on to CVS/XML msg 1296), posted by PJ Meyer on Thu Jul 28 03:08:19 2005
|
Stefan Ritt wrote: |
PJ Meyer wrote: | but something happened to the css.
i'm getting white background and no icons anywhere.
so tried to install in a clean location as it comes out of the box with no changes. get white background, no colour.
tried moving css files, graphic files, etc, around - nothing.
emptied bowser caches (IE and Opera)
deleted appropriate cookies
stop and started many time.
and still at the end of the day - i get a white background only, no colour what so ever.
also get page not found when clicking on a row to edit entry.
example: http://dhsdlj159941.hr.state.or.us/demo/1
is record #1 in demo table, elog can't display it when i click on it in the list window.
any ideas? |
That's strange. Can you check if elog finds it's own host properly? The CSS file should be under
http://dhsdlj159941.hr.state.or.us/demo/default.css
and if you look at the HTML source of you standard page you should see something like:
<link rel="stylesheet" type="text/css" href="http://dhsdlj159941.hr.state.or.us/demo/default.css">
Could it be that elog places something else than "dhsdlj159941.hr.state.or.us" as the host name? If so, you could override this with following statement in elogd.cfg:
URL = http://dhsdlj159941.hr.state.or.us/
That should also fix your other problem. |
OK tried all that and nothing. html source reads like it should.
I can see the discussion/forum here site as it should be
I updated a working setup from 2.54 to 2.60.beta3 and I get the white background with no colours on the restart of Elogd. Going back to 2.54 brought back the colours.
this is the source <link rel="stylesheet" type="text/css" href="http://ISE-DEVEL1-OLD/default.css">.
Works in 2.54, does not seem to work in 2.60beta3
I've tried coping the default.css file to everyplace i could think of and then a few more places. 
This has happened on NT 4 server, 2000 server, and XP client machines. Brand new installs (server never saw elog before), upgrades in place, etc, etc, etc. Wish we could run linux in the shop.
Tried in the cfg file:
Resource dir = c:\e-log
Logbook dir = c:\e-log\logbooks
Theme = default
CSS = default.css
This is so strange.
Any ideas on where to go in trouble shooting this? |
Response is very slow with beta3, posted by PJ Meyer on Thu Jul 28 04:27:30 2005
|
I finally got 2.60 Beta3 running on my server (explicit statements in cfg for most of the defaults)
Now I'm seeing a veerrry slooooow response time - over 3 minutes to open a logbook vs 10 sec in 2.54
Utilization of CPU runs to 60% on elogd.
Tried slimning down elog.cfg, 'emptying' userlog file (actually renamed so Elog created a new one).
Still 2.60b3 is very slow to respond.
When I rolled back to 2.54 speed was fast again.
Any ideas?
this is on a dual processor Win2000 server with 2 gb memory.
attached is the elog.cfg if that helps.
i'm stumped
7/28 Follow-up testing and trials
When I stopped using a password file - speed was quick and responsive (on test book with no password file speed was good which got me thinking about the password file)
When I added back in the 'old' xml password file - slow response
I created new password file with only one user - slow response (took almost 3 minutes to save new account)
I've attached the password file so you can try it out if yo want....
This has me very stumped. |
Resolution (i think) - Re: Problems with beta 3 (Follow-on to CVS/XML msg 1296), posted by PJ Meyer on Thu Jul 28 04:29:35 2005
|
PJ Meyer wrote: |
Stefan Ritt wrote: |
PJ Meyer wrote: | but something happened to the css.
i'm getting white background and no icons anywhere.
so tried to install in a clean location as it comes out of the box with no changes. get white background, no colour.
tried moving css files, graphic files, etc, around - nothing.
emptied bowser caches (IE and Opera)
deleted appropriate cookies
stop and started many time.
and still at the end of the day - i get a white background only, no colour what so ever.
also get page not found when clicking on a row to edit entry.
example: http://dhsdlj159941.hr.state.or.us/demo/1
is record #1 in demo table, elog can't display it when i click on it in the list window.
any ideas? |
That's strange. Can you check if elog finds it's own host properly? The CSS file should be under
http://dhsdlj159941.hr.state.or.us/demo/default.css
and if you look at the HTML source of you standard page you should see something like:
<link rel="stylesheet" type="text/css" href="http://dhsdlj159941.hr.state.or.us/demo/default.css">
Could it be that elog places something else than "dhsdlj159941.hr.state.or.us" as the host name? If so, you could override this with following statement in elogd.cfg:
URL = http://dhsdlj159941.hr.state.or.us/
That should also fix your other problem. |
OK tried all that and nothing. html source reads like it should.
I can see the discussion/forum here site as it should be
I updated a working setup from 2.54 to 2.60.beta3 and I get the white background with no colours on the restart of Elogd. Going back to 2.54 brought back the colours.
this is the source <link rel="stylesheet" type="text/css" href="http://ISE-DEVEL1-OLD/default.css">.
Works in 2.54, does not seem to work in 2.60beta3
I've tried coping the default.css file to everyplace i could think of and then a few more places. 
This has happened on NT 4 server, 2000 server, and XP client machines. Brand new installs (server never saw elog before), upgrades in place, etc, etc, etc. Wish we could run linux in the shop.
Tried in the cfg file:
Resource dir = c:\e-log
Logbook dir = c:\e-log\logbooks
Theme = default
CSS = default.css
This is so strange.
Any ideas on where to go in trouble shooting this? |
think I figured it out- had to make explict most of the default settings: resource, logbook, url, theme, css and so on.
so this is done. |
Creating logbook by copying an existing one crashes elog, posted by Chris Howe on Thu Jul 28 15:33:21 2005
|
Hi,
Trying to create a new logbook from an existing one causes elog to crash.
output from DrMingw:
elogd.exe caused an Access Violation at location 00448c6e in module elogd.exe
Writing to location 6e206c65.
Registers:
eax=00240798 ebx=00000020 ecx=6e206c61 edx=00250088 esi=00000000 edi=69726500
eip=00448c6e esp=01c1a1d0 ebp=01c1a1f0 iopl=0 nv up ei ng nz ac po cy
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000297
Call stack:
00448C6E elogd.exe:00448C6E
00445F17 elogd.exe:00445F17
as the service restarts elog the browser then displays:
"Cannot open file elog.pwd: No such file or directory
Please use your browser's back button to go back"
If you try and create a new logbook from scratch (i.e. not a copy) then the browser displays:
"Cannot open file elog.pwd: No such file or directory
Please use your browser's back button to go back"
In both cases the new logbook is created.
any ideas?
Chris |
|