<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>I did delete the config file and that solved the issue. Thanks Gregor!<div><br></div><div><br></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Ursprüngliche Nachricht --------</div><div>Von: gregor herrmann <gregoa@debian.org> </div><div>Datum: 05.01.18  00:45  (GMT+01:00) </div><div>An: Reiner Buehl <reiner@buehl.net> </div><div>Cc: 886363@bugs.debian.org </div><div>Betreff: Re: Bug#886363: libdatetime-locale-perl: After upgrade from Jessie to Stretch, Can't locate DateTime/Locale/en_US.pm in @INC </div><div><br></div></div>On Fri, 05 Jan 2018 00:22:59 +0100, Reiner Buehl wrote:<br><br>> my script does not use DateTime::Locale directly. I only use DateTime. This<br>> is the script I use:<br>> <br>> #!/usr/bin/perl<br>> use Net::Twitter;<br>> use Scalar::Util 'blessed';<br>> use DateTime;<br>> use Storable qw(retrieve nstore);<br>> use LWP::Simple;<br>> <br>> # Variable definitions<br>> my $configfile = "/home/reiner/.FollowTwitterStream";<br>> my $path = "/home/reiner/Twitter";<br>> my $consumer_key = 'xxxxxxxxxx';<br>> my $consumer_secret = 'xxxxxxxxxxxx';<br>> my $token = 'xxxxxxxxxxxxxxxxxxxxxxxx';<br>> my $token_secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx';<br>> my $high_water = 429901897936674816;<br>> my $dt;<br>> my $DEBUG = 0;<br>> <br>> # Kill script after 59 min to avoid hanging<br>> alarm(3540);<br>> <br>> # Read config<br>> if (-r $configfile) {<br>>     $dt = retrieve("$configfile");<br>> }<br>[..]<br><br>Looking back at the error you got:<br><br>> Can't locate DateTime/Locale/en_US.pm in @INC (you may need to install the DateTime::Locale::en_US module) (@INC contains: /etc/perl<br>> /usr/local/lib/i386-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/i386-linux-gnu/perl5/5.24 /usr/share/perl5<br>> /usr/lib/i386-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/i386-linux-gnu/perl-base) at<br>> /usr/lib/i386-linux-gnu/perl/5.24/Storable.pm line 389, <DATA> line 1.<br>> BEGIN failed--compilation aborted, <DATA> line 1, at /home/reiner/bin/FollowTwitterStream.pl line 24.<br><br>/home/reiner/bin/FollowTwitterStream.pl line 24 is<br>|     $dt = retrieve("$configfile");<br><br>and the error before also refers to /usr/lib/i386-linux-gnu/perl/5.24/Storable.pm<br><br>So it seems that you are loading something from<br>my $configfile = "/home/reiner/.FollowTwitterStream";<br>which doesn't work anymore.<br><br>I'd probably add something like<br>| use Data::Dumper; print STDERR Dumper $dt; exit;<br>after line 24 to see what's in this $configfile.<br> <br>[... end of script ...]<br>> $dt = DateTime->now;<br>> nstore $dt, "$configfile";<br><br>Well, if it's only the current time which is stored there, the file<br>can probably also deleted without much harm ...<br><br><br><br>Cheers,<br>gregor<br><br>-- <br> .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org<br> : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06<br> `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe<br>   `-   NP: Mercedes Sosa: Palabras Para Julia<br></body></html>