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. |
link loss and crash of elogd.exe, posted by Ulrich Trüssel on Mon May 9 17:59:09 2005
|
Just upgraded from stable running 2.5.2-2 to 2.5.9-2 in case of the usable
Duplicate function. After the problem discribed below i made a new, clean
installation again and played araound with the demo logbook, copying my
testlogbook (part of a real used and under 2.5.2-2 working logbook) into the
demo cfg file.
ia figured out two serious problems:
1. If I copy the following section to the global into the demo lgbook,
elogd.exe crashes emediatly ewhile starting as a prozess:
[global]
Language = German
Theme = default
logbook tabs = 1
main tab = INHALT
welcome title = <b><big>Ulrich Rolf Trüssel</big></b> Adressverwaltung
(Geschäft & Privat) Mensch-Tier
Coaching™ - Mensch-Hund
Coaching™ Interessengemeinschaft Familienhund® - Regionalgruppe
Zentralschweiz Lorenz Tierschule
port = 8080
Theme = default
Message Width = 100
Message Height = 25
Filtered browsing = 1
Suppress default = 2
Suppress Email on Edit = 0
Email Format = 0
Filtered browsing = 1
HTML default = 3
Reverse sort = 1
2. problem (the ting) that made me playing with teh demo cfg:
There are totally 8 logbooks running, but just one has this strange problem
of not giving a link to to the datasets in full and summary mode. I cutted
down all the stuff back to this only lines:
[Adresse2]
Attributes = Kundensegment, Duzis, Hauptadresse, Selektion, Sperre, Adresse,
Unterlagenversand, Empf. gegeben, Gruppe, Mitglied, URT, IGFH, Letzte
Anmeldung, IGFH Gruppe, IGFH JB, Anrede, Titel, Briefanrede, Vorname, Name,
Firma, Abteilung, Adresse Zusatz, Strasse, Landeskennung, PLZ, Ortschaft,
Postfach, Postfach PLZ, Postfach Ort, Telefon Geschäft, Telefon Privat,
Telefax, Telefon Mobil, EMail, HomePage, Funktion, Beruf, Geburtstag, Name
Hund, Rasse, Sex, Wurfdatum, Anmeldung, Impfbüchlein, Welpenkurs,
Erziehungskurs, Hundesport, Bestätigung, OCCH LN, Andere Kurse, Weitere
Hunde/Tiere, Referenzen, KlientIn/KundIn
List Display = Name, Vorname
and got still the same problem. if i create a new logbook it will works,
also ut works under 2.5.2-2 but not longer under 2.5.3 up (even not
2.5.9-2). any idea? mening this may be a VERY basic logbook... trued with
list display etc. around, nothinh happen. Need to go back to 2.5.2-2 where
this wasn't a problem?
thanjs for any idea of this to problems... |
Omitting some fields in e-mail, posted by Michael Husbyn on Tue Jun 7 10:59:20 2005
|
Hello,
Is there a way to include some attribute fields in the e-mail from eLog, but not all?
E.g, if you have the following:
Attributes = TA, Endret, UA, Pri, Status, Oppdragsgiver, EpostTil, EpostIKT, Tittel
Then you get the heading:
Logbook :
TA :
Endret :
UA :
Pri :
Status :
Oppdragsgiver :
EpostTil :
EpostIKT :
Tittel :
(removed the attribute data),
But I would like to send out only:
UA :
Pri :
Status :
Oppdragsgiver :
EpostTil :
Tittel :
Any way to do this in the current version?
And perhaps change the order too... I'm asking for much perhaps?
Best regards
Michael |
Re: Omitting some fields in e-mail, posted by Stefan Ritt on Wed Jul 20 20:54:01 2005
|
> E.g, if you have the following:
> Attributes = TA, Endret, UA, Pri, Status, Oppdragsgiver, EpostTil, EpostIKT, Tittel
>
> Then you get the heading:
> Logbook :
> TA :
> Endret :
> UA :
> Pri :
> Status :
> Oppdragsgiver :
> EpostTil :
> EpostIKT :
> Tittel :
>
> (removed the attribute data),
>
> But I would like to send out only:
> UA :
> Pri :
> Status :
> Oppdragsgiver :
> EpostTil :
> Tittel :
>
> Any way to do this in the current version?
>
> And perhaps change the order too... I'm asking for much perhaps?
I added the option "Email attributes = <list>" for that. So you can specify
Email attributes = UA, Pri, Status, Oppdragsgiver, EpostTil, Tittel
which also sets the order of the attributes. The cange is in CVS. |
Re: Omitting some fields in e-mail, posted by Michael Husbyn on Wed Jul 20 21:13:03 2005
|
> I added the option "Email attributes = <list>" for that. So you can specify
>
> Email attributes = UA, Pri, Status, Oppdragsgiver, EpostTil, Tittel
>
> which also sets the order of the attributes. The cange is in CVS.
Nice!
Thanks Stefan, I will test it when I'm back from my holiday. Only problem is that this change is also in a
beta version of elog (more "beta" than usual)
Perhaps it is not in this state when I'm back :)
have a nice holiday
Best regards
Michael |
Re: Omitting some fields in e-mail, posted by Michael Husbyn on Mon Aug 15 12:54:56 2005
|
>
> > I added the option "Email attributes = <list>" for that. So you can specify
> >
> > Email attributes = UA, Pri, Status, Oppdragsgiver, EpostTil, Tittel
> >
> > which also sets the order of the attributes. The cange is in CVS.
Hello Stefan,
Tested the 2.6.0-beta4, and it sort of works. config parameter:
Email attributes = Tittel,Status
gives the mail:
Logbook : work
Tittel : Test
Status : Åpen
Logbook URL : http://xxxxxxxxxxxxxxxx/work/904
---
Is there a way to remove Logbook field (and perhaps Logbook URL if I want?)
Best regards
Michael |
Re: Omitting some fields in e-mail, posted by Stefan Ritt on Tue Sep 6 14:41:10 2005
|
> Is there a way to remove Logbook field (and perhaps Logbook URL if I want?)
There is the option "Email format", which lets you specify what to show. Try
Email format = 27 |
|