Hi Håkan,

Thank you for pointing out this issue.

I have just seen that change available on GitHub is from September
2013 (link provided in your message) but the original current version
[1] is from today (2015-10-14).

If I am not wrong the error you mentioned was solved in version 0.12
(current one is 0.15), so I would like to ask if you could download
current version [2] and test if everything works fine. After
successful feedback I promise to update pytrainer's repository asap.
Is it ok for you?

Thanks,

David

[1] http://pub.ks-and-ks.ne.jp/cycling/GarminFIT.shtml
[2] http://pub.ks-and-ks.ne.jp/cycling/pub/GarminFIT-0.15.tar.gz

2015-10-13 11:27 GMT+02:00 Håkan Jerning <jern...@home.se>:
> On 2015-09-29 10:38, Håkan Jerning wrote:
>>After an upgrade to Perl 5.22 the import of Garmin FIT files stops
>>working, the reason is that UNIVERSAL->import has been removed in
>>Perl.
>>
>>This change in plugins/garmin-fit/bin/Garmin/FIT.pm solves it:
>>https://github.com/jeffhigham/Garmin--FIT---A-Perl-class-to-decode-Garmin-.FIT-files/pull/1
>
> It may be added that importing from UNIVERSAL has been deprecated since
> Perl 5.12 in 2010. So it's probably not much use keeping it, the change
> mentioned above will remove the warning in Perl 5.12 to 5.20.
>
> http://perldoc.perl.org/perl5220delta.html#use-UNIVERSAL-'...'-is-now-a-fatal-error
>
> --
> Håkan Jerning
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Pytrainer-devel mailing list
> Pytrainer-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

------------------------------------------------------------------------------
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to