Skip Menu |

This queue is for tickets about the Mac-Glue CPAN distribution.

Report information
The Basics
Id: 22889
Status: resolved
Priority: 0/
Queue: Mac-Glue

People
Owner: Nobody in particular
Requestors: jelte [...] liebrand.co.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.26
Fixed in: (no value)



Subject: Weird DateTime behaviour
Hi there I'm not sure this is a bug or not, but it sure looks like one (or I'm seriously misunderstanding how I should use this). I am using Mac::Glue 1.27 (but that is not in the "Broken in" list... Perl v5.8.6 EyeTV 2.3.2 Mac OS X 10.4.7 Basically I send a DateTime object to EyeTV, eg 1163109600. It correctly converts this to 2006-11-07 22:10. However, when I ask for that value back, I get 30308468150 ?! I can not understand what went wrong there... I have pasted some sample code below... if this is not a defect but I'm doing something wrong, I'd love to know what... currently I can't get my script to work cuz it thinks all my recordings are from the seventies :-( /Cheers, Jelte #!/usr/bin/perl -w use strict; use warnings; use DateTime; use Mac::Glue; my $start = DateTime->new( year => 2006, month => 11, day => 9, hour => 22, minute => 00, second => 00, nanosecond => 000000000, time_zone => 'floating', ); my $stop = DateTime->new( year => 2006, month => 11, day => 9, hour => 23, minute => 10, second => 00, nanosecond => 000000000, time_zone => 'floating', ); my $title = "foobar"; my $description = ""; my $channel_number = 5; my $duration = ($stop->epoch - $start->epoch); my $eyetv = Mac::Glue->new('EyeTV'); $eyetv->make( new => 'program', with_properties => { 'start time' => $start->epoch, duration => $duration, title => $title, description => $description, 'channel number' => $channel_number, }, ); print $start->epoch . "\n"; my @eyetv_programmes = $eyetv->obj('programs')->get; print $eyetv_programmes[0]->prop("start time")->get . "\n";
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Tue, 7 Nov 2006 15:34:58 -0800
To: bug-Mac-Glue [...] rt.cpan.org
From: Chris Nandor <cnandor [...] cpan.org>
Please fetch this small shell script: http://dev.macperl.org/files/scripts/aedebug Then make it executable, and run your test script with: aedebug testscript.pl Then reply to this message with the output. I have an (original) EyeTV unit, but not the payware 2.x software, so I cannot test. Thanks, -- Chris Nandor pudge@pobox.com http://pudge.net/ Open Source Technology Group pudge@ostg.com http://ostg.com/
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Tue, 7 Nov 2006 23:40:27 +0000
To: bug-Mac-Glue [...] rt.cpan.org
From: Jelte Liebrand <jelte [...] liebrand.co.uk>
Hi there, Thanks for the quick reply... Below is the output: AE2000 (1604): Sending an event: Show quoted text
------oo start of event oo------ { 1 } 'aevt': core/crel (i386){ return id: 105119744 (0x6440000) transaction id: 0 (0x0) interaction level: 64 (0x40) reply required: 1 (0x1) remote: 0 (0x0) for recording: 0 (0x0) target: { 1 } 'bund': 16 bytes { bundle id: com.elgato.eyetv } fEventSourcePSN: { 0x0,0x2 } (perl) optional attributes: < empty record > event data: { 1 } 'aevt': - 2 items { key 'prdt' - { 1 } 'reco': - 5 items { key 'Chnm' - { 1 } 'long': 4 bytes { 5 (0x5) } key 'Stim' - { 1 } 'ldt ': 8 bytes { 000: 6055 79c1 0000 0000 `Uy..... } key 'Titl' - { 1 } 'TEXT': 6 bytes { "foobar" } key 'Dura' - { 1 } 'doub': 8 bytes { 000: 0000 0000 0068 b040 .....h.@ } key 'Pdsc' - { 1 } 'TEXT': 0 bytes { "" } } key 'kocl' - { 1 } 'type': 4 bytes { 'cPrg' } } }
------oo end of event oo------ AE2000 (1604): Received an event reply: ------oo start of event oo------ { 1 } 'aevt': aevt/ansr (i386){ return id: 105119744 (0x6440000) transaction id: 0 (0x0) interaction level: 112 (0x70) reply required: 0 (0x0) remote: 0 (0x0) for recording: 0 (0x0) target: { 1 } 'psn ': 8 bytes { { 0x0, 0x3c0001 } (EyeTV) } fEventSourcePSN: { 0x0,0x3c0001 } (EyeTV) optional attributes: < empty record > event data: { 1 } 'aevt': - 1 items { key '----' - { 1 } 'obj ': - 4 items { key 'want' - { 1 } 'type': 4 bytes { 'cPrg' } key 'from' - { -1 } 'null': null descriptor key 'form' - { 1 } 'enum': 4 bytes { 'ID ' } key 'seld' - { 1 } 'comp': 8 bytes { } } } }
------oo end of event oo------ 1163109600 AE2000 (1604): Sending an event: ------oo start of event oo------ { 1 } 'aevt': core/getd (i386){ return id: 105119746 (0x6440002) transaction id: 0 (0x0) interaction level: 64 (0x40) reply required: 1 (0x1) remote: 0 (0x0) for recording: 0 (0x0) target: { 1 } 'bund': 16 bytes { bundle id: com.elgato.eyetv } fEventSourcePSN: { 0x0,0x1600001 } (perl) optional attributes: < empty record > event data: { 1 } 'aevt': - 1 items { key '----' - { 1 } 'obj ': - 4 items { key 'form' - { 1 } 'enum': 4 bytes { 'indx' } key 'want' - { 1 } 'type': 4 bytes { 'cPrg' } key 'seld' - { 1 } 'abso': 4 bytes { 'all ' } key 'from' - { -1 } 'null': null descriptor } } }
------oo end of event oo------ AE2000 (1604): Received an event reply: ------oo start of event oo------ { 1 } 'aevt': aevt/ansr (i386){ return id: 105119746 (0x6440002) transaction id: 0 (0x0) interaction level: 112 (0x70) reply required: 0 (0x0) remote: 0 (0x0) for recording: 0 (0x0) target: { 1 } 'psn ': 8 bytes { { 0x0, 0x3c0001 } (EyeTV) } fEventSourcePSN: { 0x0,0x3c0001 } (EyeTV) optional attributes: < empty record > event data: { 1 } 'aevt': - 1 items { key '----' - { 1 } 'list': - 4 elements { { 1 } 'obj ': - 4 items { key 'want' - { 1 } 'type': 4 bytes { 'cPrg' } key 'from' - { -1 } 'null': null descriptor key 'form' - { 1 } 'enum': 4 bytes { 'ID ' } key 'seld' - { 1 } 'comp': 8 bytes { } } { 1 } 'obj ': - 4 items { key 'want' - { 1 } 'type': 4 bytes { 'cPrg' } key 'from' - { -1 } 'null': null descriptor key 'form' - { 1 } 'enum': 4 bytes { 'ID ' } key 'seld' - { 1 } 'comp': 8 bytes { } } { 1 } 'obj ': - 4 items { key 'want' - { 1 } 'type': 4 bytes { 'cPrg' } key 'from' - { -1 } 'null': null descriptor key 'form' - { 1 } 'enum': 4 bytes { 'ID ' } key 'seld' - { 1 } 'comp': 8 bytes { } } { 1 } 'obj ': - 4 items { key 'want' - { 1 } 'type': 4 bytes { 'cPrg' } key 'from' - { -1 } 'null': null descriptor key 'form' - { 1 } 'enum': 4 bytes { 'ID ' } key 'seld' - { 1 } 'comp': 8 bytes { } } } } }
------oo end of event oo------ AE2000 (1604): Sending an event: ------oo start of event oo------ { 1 } 'aevt': core/getd (i386){ return id: 105119747 (0x6440003) transaction id: 0 (0x0) interaction level: 64 (0x40) reply required: 1 (0x1) remote: 0 (0x0) for recording: 0 (0x0) target: { 1 } 'bund': 16 bytes { bundle id: com.elgato.eyetv } fEventSourcePSN: { 0x0,0x1600001 } (perl) optional attributes: < empty record > event data: { 1 } 'aevt': - 1 items { key '----' - { 1 } 'obj ': - 4 items { key 'form' - { 1 } 'enum': 4 bytes { 'prop' } key 'want' - { 1 } 'type': 4 bytes { 'prop' } key 'seld' - { 1 } 'type': 4 bytes { 'Stim' } key 'from' - { 1 } 'obj ': - 4 items { key 'want' - { 1 } 'type': 4 bytes { 'cPrg' } key 'from' - { -1 } 'null': null descriptor key 'form' - { 1 } 'enum': 4 bytes { 'ID ' } key 'seld' - { 1 } 'comp': 8 bytes { } } } } }
------oo end of event oo------ AE2000 (1604): Received an event reply: ------oo start of event oo------ { 1 } 'aevt': aevt/ansr (i386){ return id: 105119747 (0x6440003) transaction id: 0 (0x0) interaction level: 112 (0x70) reply required: 0 (0x0) remote: 0 (0x0) for recording: 0 (0x0) target: { 1 } 'psn ': 8 bytes { { 0x0, 0x3c0001 } (EyeTV) } fEventSourcePSN: { 0x0,0x3c0001 } (EyeTV) optional attributes: < empty record > event data: { 1 } 'aevt': - 1 items { key '----' - { 1 } 'ldt ': 8 bytes { 000: 9f38 11c1 0000 0000 . 8...... } } }
------oo end of event oo------ 30308468150
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Tue, 7 Nov 2006 23:41:59 +0000
To: bug-Mac-Glue [...] rt.cpan.org
From: Jelte Liebrand <jelte [...] liebrand.co.uk>
Also I tried to send you a mail about text... if I send ascii characters (with the Utf8 bit set) to EyeTV, it comes out as chineze.... seems some endianness going wrong... ? /Cheers, Jelte On 7 Nov 2006, at 23:35, Chris_Nandor via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=22889 > > > Please fetch this small shell script: > > http://dev.macperl.org/files/scripts/aedebug > > Then make it executable, and run your test script with: > > aedebug testscript.pl > > Then reply to this message with the output. I have an (original) > EyeTV > unit, but not the payware 2.x software, so I cannot test. > > Thanks, > > -- > Chris Nandor pudge@pobox.com http://pudge.net/ > Open Source Technology Group pudge@ostg.com http://ostg.com/ >
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Tue, 7 Nov 2006 23:50:09 +0000
To: bug-Mac-Glue [...] rt.cpan.org
From: Jelte Liebrand <jelte [...] liebrand.co.uk>
I'm also on skype (jelte_liebrand), as well as on ICQ (106257430) in case you want me to try out something else. (I'm also on some IRC #perl channel on efnet.net) /J On 7 Nov 2006, at 23:35, Chris_Nandor via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=22889 > > > Please fetch this small shell script: > > http://dev.macperl.org/files/scripts/aedebug > > Then make it executable, and run your test script with: > > aedebug testscript.pl > > Then reply to this message with the output. I have an (original) > EyeTV > unit, but not the payware 2.x software, so I cannot test. > > Thanks, > > -- > Chris Nandor pudge@pobox.com http://pudge.net/ > Open Source Technology Group pudge@ostg.com http://ostg.com/ >
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Tue, 7 Nov 2006 15:50:28 -0800
To: bug-Mac-Glue [...] rt.cpan.org
From: Chris Nandor <cnandor [...] cpan.org>
Also, what versions of Mac::AppleEvents and Mac::AppleEvents::Simple are you running? -- Chris Nandor pudge@pobox.com http://pudge.net/ Open Source Technology Group pudge@ostg.com http://ostg.com/
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Tue, 7 Nov 2006 15:51:40 -0800
To: bug-Mac-Glue [...] rt.cpan.org
From: Chris Nandor <cnandor [...] cpan.org>
At 18:41 -0500 2006.11.07, Jelte Liebrand via RT wrote: Show quoted text
>Also I tried to send you a mail about text... if I send ascii >characters (with the Utf8 bit set) to EyeTV, it comes out as >chineze.... seems some endianness going wrong... ?
Why did you set the UTF8 bit if it is ASCII? -- Chris Nandor pudge@pobox.com http://pudge.net/ Open Source Technology Group pudge@ostg.com http://ostg.com/
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Tue, 7 Nov 2006 23:56:16 +0000
To: bug-Mac-Glue [...] rt.cpan.org
From: Jelte Liebrand <jelte [...] liebrand.co.uk>
That's a good question... so far the only way I work out what version i have is by trying to find the .pm and opening it in my editor... is there a quicker way? perldoc Mac::AppleEvents doesn't actually seem to list the version? (and I can't quickly find the pm) /J On 7 Nov 2006, at 23:52, Chris_Nandor via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=22889 > > > Also, what versions of Mac::AppleEvents and > Mac::AppleEvents::Simple are > you running? > > -- > Chris Nandor pudge@pobox.com http://pudge.net/ > Open Source Technology Group pudge@ostg.com http://ostg.com/ >
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Tue, 7 Nov 2006 23:59:58 +0000
To: bug-Mac-Glue [...] rt.cpan.org
From: Jelte Liebrand <jelte [...] liebrand.co.uk>
Maybe it would help if I show you what I'm trying to do? I've attached the complete script of what I'm trying to do. I'm making an intelligent EyeTV so it records what I want after finding the shows using XMLTV. So the XML::Simple returns the title and the description of what the show I want to record. As an example the show might be called "Spooks". That comes out as 6 unicode (chineze) characters. Divide the result by 256 and (if I'm not mistaken) you get "Spooks" back. As you can see in the (rather crude, but hey I'm new to perl :-)) script, I hack around that now, but making a copy of the content of the strings. That copy does not have the Utf8 bit set, and that one works OK.

Message body is not shown because sender requested not to inline it.

/Cheers, Jelte On 7 Nov 2006, at 23:52, Chris_Nandor via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=22889 > > > At 18:41 -0500 2006.11.07, Jelte Liebrand via RT wrote:
>> Also I tried to send you a mail about text... if I send ascii >> characters (with the Utf8 bit set) to EyeTV, it comes out as >> chineze.... seems some endianness going wrong... ?
> > Why did you set the UTF8 bit if it is ASCII? > > -- > Chris Nandor pudge@pobox.com http://pudge.net/ > Open Source Technology Group pudge@ostg.com http://ostg.com/ >
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Wed, 8 Nov 2006 00:05:58 +0000
To: bug-Mac-Glue [...] rt.cpan.org
From: Jelte Liebrand <jelte [...] liebrand.co.uk>
Ah found one, still looking for the simple Mac::AppleEvents v1.32 /Cheers, Jelte On 7 Nov 2006, at 23:52, Chris_Nandor via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=22889 > > > Also, what versions of Mac::AppleEvents and > Mac::AppleEvents::Simple are > you running? > > -- > Chris Nandor pudge@pobox.com http://pudge.net/ > Open Source Technology Group pudge@ostg.com http://ostg.com/ >
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Tue, 7 Nov 2006 16:07:19 -0800
To: bug-Mac-Glue [...] rt.cpan.org
From: Chris Nandor <cnandor [...] cpan.org>
These should do it: perl -MMac::AppleEvents -le 'print Mac::AppleEvents->VERSION' perl -MMac::AppleEvents::Simple -le 'print Mac::AppleEvents::Simple->VERSION' -- Chris Nandor pudge@pobox.com http://pudge.net/ Open Source Technology Group pudge@ostg.com http://ostg.com/
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Wed, 8 Nov 2006 00:23:46 +0000
To: bug-Mac-Glue [...] rt.cpan.org
From: Jelte Liebrand <jelte [...] liebrand.co.uk>
right... AppleEvents v1.32 AppleEvents::Simple v1.16 /J On 8 Nov 2006, at 00:19, Chris_Nandor via RT wrote: Show quoted text
> perl -MMac::AppleEvents -le 'print Mac::AppleEvents->VERSION'
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Tue, 7 Nov 2006 16:55:46 -0800
To: bug-Mac-Glue [...] rt.cpan.org
From: Chris Nandor <pudge [...] pobox.com>
Aha. In version 1.18 of Mac::AppleEvents::Simple, I notice that I added an endian fix for typeLongDateTime. Try updating it. -- Chris Nandor pudge@pobox.com http://pudge.net/ Open Source Technology Group pudge@ostg.com http://ostg.com/
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Wed, 8 Nov 2006 10:56:32 +0000
To: bug-Mac-Glue [...] rt.cpan.org
From: Jelte Liebrand <jelte [...] liebrand.co.uk>
Hi there, Aah that gets closer... Now I get the following: This is the epoch I put in: 1163109600 which converted to human readable form is: 2006-11-09T22:00:00 And this is what I get back: 1156286495 2006-08-22T22:41:35 A whole lot closer, but not quite it yet .... Also, I found the other (text to chineze) bug. In Glue.pm line 1529 you had this: # empty four bytes for lang code typeIntlText() => sub {' ' . MacPack(typeChar, $_[0])}, typeUnicodeText() => sub { if ($ENCODE) { return new AEDesc typeUnicodeText, Encode::encode('UTF-16BE', $_[0]); } else { # oh well! return new AEDesc typeChar, $_[0]; } } If I change that UTF-16BE to UTF-16-LE then it works.... however I would guess (??) that Encode::encode should be called with just UTF-16 and let the host platform work out which endian it is running on ? Not sure if Encode::encode supports that though? /Cheers, Jelte On 8 Nov 2006, at 01:00, pudge@pobox.com via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=22889 > > > Aha. In version 1.18 of Mac::AppleEvents::Simple, I notice that I > added an > endian fix for typeLongDateTime. Try updating it. > > -- > Chris Nandor pudge@pobox.com http://pudge.net/ > Open Source Technology Group pudge@ostg.com http://ostg.com/ >
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Wed, 8 Nov 2006 09:02:43 -0800
To: bug-Mac-Glue [...] rt.cpan.org
From: Chris Nandor <cnandor [...] cpan.org>
At 5:56 -0500 2006.11.08, Jelte Liebrand via RT wrote: Show quoted text
>Aah that gets closer... Now I get the following: > >This is the epoch I put in: 1163109600 >which converted to human readable form is: 2006-11-09T22:00:00 > >And this is what I get back: >1156286495 >2006-08-22T22:41:35 > >A whole lot closer, but not quite it yet ....
That is unlikely to be a bug in my code, at this point. I can't know for sure, but I can't think of what in my code could be shifting it by anything similar to that number. Are you sure that $eyetv_programmes[0] is giving you the program you want, and not some other one? Maybe try: for (@eyetv_programmes) { printf "%s: %d\n", $_->prop('title')->get, $_->prop('start time')->get; } Hm ... but now that I think about it, it's $start->epoch which is giving you a weird value too, right? $start->epoch is not touched by Mac::Glue, though. Show quoted text
>Also, I found the other (text to chineze) bug. In Glue.pm line 1529 >you had this: > > # empty four bytes for lang code > typeIntlText() => sub {' ' . MacPack(typeChar, $_[0])}, > typeUnicodeText() => sub { > if ($ENCODE) { > return new AEDesc typeUnicodeText, > Encode::encode('UTF-16BE', $_[0]); > } else { # oh well! > return new AEDesc typeChar, $_[0]; > } > } > >If I change that UTF-16BE to UTF-16-LE then it works.... however I >would guess (??) that Encode::encode should be called with just >UTF-16 and let the host platform work out which endian it is running >on ? Not sure if Encode::encode supports that though?
The problem is that if you do UTF-16, it does UTF-16BE, *and* the BOM is included. But we want BE/LE, with no BOM included. So it looks like I will have to detect endianness in order to do this properly. Try this code for the if ($ENCODE) block: require Config; my $bom = $Config::Config{byteorder} eq '1234' ? 'LE' : 'BE'; return new AEDesc typeUnicodeText, Encode::encode('UTF-16'.$bom, $_[0]); -- Chris Nandor pudge@pobox.com http://pudge.net/ Open Source Technology Group pudge@ostg.com http://ostg.com/
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Wed, 8 Nov 2006 17:33:09 +0000
To: bug-Mac-Glue [...] rt.cpan.org
From: Jelte Liebrand <jelte [...] liebrand.co.uk>
Hahaha i'm such a dips@#t ;-) The programmes array in EyeTV holds the program schedules, but ALSO the existing recordings!!! so you are absolutely right, it was showing a different show. You're fix works fine on the time front! thanks! As for the text one, the suggested test in the config works fine for me, and I'm assuming it'll work fine for ppc as well.. Great stuff.... my script works!! :-) /J On 8 Nov 2006, at 17:04, Chris_Nandor via RT wrote: Show quoted text
> require Config; > my $bom = $Config::Config{byteorder} eq '1234' ? 'LE' : 'BE'; > return new AEDesc typeUnicodeText, > Encode::encode('UTF-16'.$bom, $_[0]);
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Wed, 8 Nov 2006 10:21:11 -0800
To: bug-Mac-Glue [...] rt.cpan.org
From: Chris Nandor <pudge [...] pobox.com>
Thanks for your help in fixing this. Would have been impossible to fix remotely without your testing and insights. I'll add the byteorder change, and make sure the new Mac::Glue properly prereq's the recent Mac::AppleEvents::Simple. -- Chris Nandor pudge@pobox.com http://pudge.net/ Open Source Technology Group pudge@ostg.com http://ostg.com/
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Wed, 8 Nov 2006 20:55:35 +0000
To: bug-Mac-Glue [...] rt.cpan.org
From: Jelte Liebrand <jelte [...] liebrand.co.uk>
Not a problem, thanks for your quick response! Speaking of properly prereq's.... how can I make my script properly prereq the new version of Mac::Glue? /J On 8 Nov 2006, at 19:21, pudge@pobox.com via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=22889 > > > Thanks for your help in fixing this. Would have been impossible to > fix > remotely without your testing and insights. I'll add the byteorder > change, > and make sure the new Mac::Glue properly prereq's the recent > Mac::AppleEvents::Simple. > > -- > Chris Nandor pudge@pobox.com http://pudge.net/ > Open Source Technology Group pudge@ostg.com http://ostg.com/ >
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Wed, 8 Nov 2006 21:21:19 +0000
To: bug-Mac-Glue [...] rt.cpan.org
From: Jelte Liebrand <jelte [...] liebrand.co.uk>
I found out how to ensure i use the correct *version* of a module... so will the new version of Mac::Glue be 1.28 ? /Cheers, Jelte On 8 Nov 2006, at 19:21, pudge@pobox.com via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=22889 > > > Thanks for your help in fixing this. Would have been impossible to > fix > remotely without your testing and insights. I'll add the byteorder > change, > and make sure the new Mac::Glue properly prereq's the recent > Mac::AppleEvents::Simple. > > -- > Chris Nandor pudge@pobox.com http://pudge.net/ > Open Source Technology Group pudge@ostg.com http://ostg.com/ >
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Wed, 8 Nov 2006 13:27:27 -0800
To: bug-Mac-Glue [...] rt.cpan.org
From: Chris Nandor <cnandor [...] cpan.org>
At 15:55 -0500 2006.11.08, Jelte Liebrand via RT wrote: Show quoted text
>Speaking of properly prereq's.... how can I make my script properly >prereq the new version of Mac::Glue?
use Mac::Glue 1.27; -- Chris Nandor pudge@pobox.com http://pudge.net/ Open Source Technology Group pudge@ostg.com http://ostg.com/
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Wed, 8 Nov 2006 13:38:00 -0800
To: bug-Mac-Glue [...] rt.cpan.org
From: Chris Nandor <cnandor [...] cpan.org>
At 16:21 -0500 2006.11.08, Jelte Liebrand via RT wrote: Show quoted text
>I found out how to ensure i use the correct *version* of a module... >so will the new version of Mac::Glue be 1.28 ?
Yes. -- Chris Nandor pudge@pobox.com http://pudge.net/ Open Source Technology Group pudge@ostg.com http://ostg.com/
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Wed, 8 Nov 2006 21:44:05 +0000
To: bug-Mac-Glue [...] rt.cpan.org
From: Jelte Liebrand <jelte [...] liebrand.co.uk>
Great, I'll put a dependency on that one then, since a friend of mine is interested in my script too. And I dont really want to start advocating everyone to hack other peoples modules ;-) /J On 8 Nov 2006, at 21:40, Chris_Nandor via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=22889 > > > At 16:21 -0500 2006.11.08, Jelte Liebrand via RT wrote:
>> I found out how to ensure i use the correct *version* of a module... >> so will the new version of Mac::Glue be 1.28 ?
> > Yes. > > -- > Chris Nandor pudge@pobox.com http://pudge.net/ > Open Source Technology Group pudge@ostg.com http://ostg.com/ >
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Sun, 12 Nov 2006 21:44:29 +0000
To: bug-Mac-Glue [...] rt.cpan.org
From: Jelte Liebrand <jelte [...] liebrand.co.uk>
Hi there, I see you managed to release the 1.28 with that UTF fix in it, great stuff... Just one other thing I noticed, the 1.28 Mac::Glue does not explicitly require 1.18 from AppleEvents::Simple. Which is where you had that other endian bug fix right? Just a thought really /Cheers, Jelte On 8 Nov 2006, at 21:40, Chris_Nandor via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=22889 > > > At 16:21 -0500 2006.11.08, Jelte Liebrand via RT wrote:
>> I found out how to ensure i use the correct *version* of a module... >> so will the new version of Mac::Glue be 1.28 ?
> > Yes. > > -- > Chris Nandor pudge@pobox.com http://pudge.net/ > Open Source Technology Group pudge@ostg.com http://ostg.com/ >
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Sun, 12 Nov 2006 15:04:38 -0800
To: bug-Mac-Glue [...] rt.cpan.org
From: Chris Nandor <cnandor [...] cpan.org>
At 17:02 -0500 2006.11.12, Jelte Liebrand via RT wrote: Show quoted text
>I see you managed to release the 1.28 with that UTF fix in it, great >stuff... Just one other thing I noticed, the 1.28 Mac::Glue does not >explicitly require 1.18 from AppleEvents::Simple. Which is where you >had that other endian bug fix right? Just a thought really
It doesn't explicitly require it in Glue.pm, but it does in Makefile.PL, so the make process will warn you (and CPAN.pm won't continue without a force, and will offer to install the updated Simple). -- Chris Nandor pudge@pobox.com http://pudge.net/ Open Source Technology Group pudge@ostg.com http://ostg.com/
Subject: Re: [rt.cpan.org #22889] Weird DateTime behaviour
Date: Mon, 13 Nov 2006 00:28:12 +0000
To: bug-Mac-Glue [...] rt.cpan.org
From: Jelte Liebrand <jelte [...] liebrand.co.uk>
Excellent, I knew it was probably me not understanding how things worked ;-) /Cheers, Jelte On 12 Nov 2006, at 23:05, Chris_Nandor via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=22889 > > > At 17:02 -0500 2006.11.12, Jelte Liebrand via RT wrote:
>> I see you managed to release the 1.28 with that UTF fix in it, great >> stuff... Just one other thing I noticed, the 1.28 Mac::Glue does not >> explicitly require 1.18 from AppleEvents::Simple. Which is where you >> had that other endian bug fix right? Just a thought really
> > It doesn't explicitly require it in Glue.pm, but it does in > Makefile.PL, so > the make process will warn you (and CPAN.pm won't continue without > a force, > and will offer to install the updated Simple). > > -- > Chris Nandor pudge@pobox.com http://pudge.net/ > Open Source Technology Group pudge@ostg.com http://ostg.com/ >