It���s getting better.
It loads ok, and the constant AnsiStandardCalendarClock is well initialized this time.
Then I load iCal (not through the configuration that loads OSProcess for I think CommandShell).
Then I run tests.
Do you have an idea why these methods are missing ?
If I implement them:
ICJob>>resetAlarmTimes
self alarms: OrderedCollection new.
=> 171 tests pass instead of 132.
ICJob>>hasAlarm
=> no change, still 171 passes, 12 errors and 3 failures.
Some identified problems:
isRelatedToStart is implemented in ICTrigger not in ICAlarm (several errors on that one)
=> not sure how to implement it. I tried:
ICAlarm>> is RelatedToStart (did the same with isRelatedToEnd)
^ self trigger isRelatedToStart
True and False do not implement asIcalBooleanString
I implement in True (and False) so that to return ���TRUE��� (or ���FALSE) - *ICal-Core extension
asIcalString is not implement in ScaledDecimal (but in Float and Number).
- I don���t know pushing the method up is ok or if it has to be implemented again in ScaledDecimal (I did that)
- and implementing class side fromICalString (still Ical-Core extension ?)
ScaleDecimal class>>fromICalString: aString
^ self readFrom: aString
=> now 6 errors left
TimeOfDay epoch (not implemented)
=> not sure
TimeOfDay class >>epoch
"{TimeOfDay epoch}"
^AnsiStandardCalendarClock epoch
Also error that seems details (I have a look this afternoon):
"The resource that defines the ruleset for the VariableOffsetTimezone identified by 'Europe/Berlin' is not accessible. ��
I think this is because I don���t load OSProcess
A test error where an expected string is not exactly the same:
...
expected := 'FREQ=MONTHLY;BYDAY=MO,2TU'.
rule asICalString => "FREQ=MONTHLY;BYDAY=2TU,MO"
���
etc...
Final state:
Do I push the changes I made ?
Cheers,
C��drik
How did you load Chronos?C��drick B��ler wroteHi again,:
I���ve loaded all required packages I think, tests do not pass.
Main errors comes from AnsiStandardCalendarClock that cannot be found.
Does someone know how to solve that ?
I think I���ve loaded all chronos packages.
Cheers,
C��drik
Le 14 juil. 2016 �� 15:51, C��drick B��ler <
cdrick65@
> a ��crit :
Hi Paul,
Thanks for the information. I���ll give a try.
Cheers,
C��drik
Le 13 juil. 2016 �� 20:51, Paul DeBruicker <
pdebruic@
> a ��crit :
Hi C��drick,
The iCal load fails or it puts up a warning that you must load some
other
classes (e.g. OSProcess) first before loading other definitions?
The OSProcess use in the iCal package it pretty minimal and would be
easy to
split out into a separate package if you were motivated to port iCal to
OSSubProcess.
As for Chronos, I'm not positive but am pretty sure that OSProcess is
only
used for generating the Chronos time zone rules from the olson time zone
db
files.
So I'd guess both iCal and Chronos will work fine for testing purposes
without porting anything to OSSubProcess and just skipping the load of
the
OSProcess parts.
Hope this helps
Paul
C��drick B��ler wrote
Hi all,
I���m trying to load the iCal package from the catalog. It is available
on
smalltalkhub.
http://www.smalltalkhub.com/#!/~pdebruic/iCal
It has some problem (installation fails) but the package is not tagged
as
Pharo5. Plus it seems to use OSProcess. I���m trying to avoid to load
OSProcess as I use OSSubprocess (probably for Chronos ?).
Any idea on what I can do ?
(I���d like to install/evaluation iCal vCard and Chronos)
Thanks for any help,
Cheers,
C��drik
--
View this message in context:
http://forum.world.st/iCal-Chronos-for-Pharo-5-OSProcess-tp4906567p4906585.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
--View this message in context: http://forum.world.st/iCal-Chronos-for-Pharo-5-OSProcess-tp4906567p4906672.htmlSent from the Pharo Smalltalk Users mailing list archive at Nabble.com.