Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Shorten CPAN distribution.

Report information
The Basics
Id: 49505
Status: resolved
Priority: 0/
Queue: WWW-Shorten

People
Owner: DAVECROSS [...] cpan.org
Requestors: mrcaya [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.03
Fixed in: 2.04



Subject: Bug with WWW-Shorten
Date: Mon, 7 Sep 2009 23:24:24 -0400
To: bug-WWW-Shorten [...] rt.cpan.org
From: "Mr. Caya" <mrcaya [...] gmail.com>
Thanks to the help of perigrin in #Net-Twitter at irc.perl.org I was able to get through this bug: Show quoted text
cpan> force install WWW::Shorten::TinyURL
Running install for module WWW::Shorten::TinyURL Running make for D/DA/DAVECROSS/WWW-Shorten-2.03.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /Users/roc/.cpan/sources/authors/id/D/DA/DAVECROSS/WWW-Shorten-2.03.tar.gz ok Scanning cache /Users/roc/.cpan/build for sizes WWW-Shorten-2.03/ WWW-Shorten-2.03/Changes WWW-Shorten-2.03/MANIFEST WWW-Shorten-2.03/META.yml WWW-Shorten-2.03/COPYING WWW-Shorten-2.03/TODO WWW-Shorten-2.03/bin/ WWW-Shorten-2.03/bin/shorten WWW-Shorten-2.03/MANIFEST.SKIP WWW-Shorten-2.03/lib/ WWW-Shorten-2.03/lib/WWW/ WWW-Shorten-2.03/lib/WWW/Shorten.pm WWW-Shorten-2.03/lib/WWW/Shorten/ WWW-Shorten-2.03/lib/WWW/Shorten/URLjr.pm WWW-Shorten-2.03/lib/WWW/Shorten/V3.pm WWW-Shorten-2.03/lib/WWW/Shorten/OneShortLink.pm WWW-Shorten-2.03/lib/WWW/Shorten/LinkToolbot.pm WWW-Shorten-2.03/lib/WWW/Shorten/MakeAShorterLink.pm WWW-Shorten-2.03/lib/WWW/Shorten/Shorl.pm WWW-Shorten-2.03/lib/WWW/Shorten/TinyURL.pm WWW-Shorten-2.03/lib/WWW/Shorten/Tinylink.pm WWW-Shorten-2.03/lib/WWW/Shorten/_dead.pm WWW-Shorten-2.03/lib/WWW/Shorten/EkDk.pm WWW-Shorten-2.03/lib/WWW/Shorten/SnipURL.pm WWW-Shorten-2.03/lib/WWW/Shorten/ShortLink.pm WWW-Shorten-2.03/lib/WWW/Shorten/NotLong.pm WWW-Shorten-2.03/lib/WWW/Shorten/SmLnk.pm WWW-Shorten-2.03/lib/WWW/Shorten/qURL.pm WWW-Shorten-2.03/lib/WWW/Shorten/Linkz.pm WWW-Shorten-2.03/lib/WWW/Shorten/BabyURL.pm WWW-Shorten-2.03/lib/WWW/Shorten/TinyClick.pm WWW-Shorten-2.03/lib/WWW/Shorten/Metamark.pm WWW-Shorten-2.03/lib/WWW/Shorten/generic.pm WWW-Shorten-2.03/AUTHORS WWW-Shorten-2.03/README WWW-Shorten-2.03/t/ WWW-Shorten-2.03/t/babyurl.t WWW-Shorten-2.03/t/00sig.t WWW-Shorten-2.03/t/v3.t WWW-Shorten-2.03/t/shortlink.t WWW-Shorten-2.03/t/00noexp.t WWW-Shorten-2.03/t/linktoolbot.t WWW-Shorten-2.03/t/01version.t WWW-Shorten-2.03/t/masl.t WWW-Shorten-2.03/t/oneshort.t WWW-Shorten-2.03/t/smlnk.t WWW-Shorten-2.03/t/notlong.t WWW-Shorten-2.03/t/newnames.t WWW-Shorten-2.03/t/00load_b.t WWW-Shorten-2.03/t/tinyclick.t WWW-Shorten-2.03/t/00load_a.t WWW-Shorten-2.03/t/shorl.t WWW-Shorten-2.03/t/metamark.t WWW-Shorten-2.03/t/snipurl.t WWW-Shorten-2.03/t/urljr.t WWW-Shorten-2.03/t/qurl.t WWW-Shorten-2.03/t/00load.t WWW-Shorten-2.03/t/98pod-coverage.t WWW-Shorten-2.03/t/tinylink.t WWW-Shorten-2.03/t/tinyurl.t WWW-Shorten-2.03/t/99pod.t WWW-Shorten-2.03/t/ekdk.t WWW-Shorten-2.03/t/linkz.t WWW-Shorten-2.03/LICENCE WWW-Shorten-2.03/Makefile.PL WWW-Shorten-2.03/Build.PL WWW-Shorten-2.03/ChangeLog.SPOON WWW-Shorten-2.03/Artistic WWW-Shorten-2.03/INSTALL WWW-Shorten-2.03/CREDITS Removing previously used /Users/roc/.cpan/build/WWW-Shorten-2.03 CPAN.pm: Going to build D/DA/DAVECROSS/WWW-Shorten-2.03.tar.gz Checking if your kit is complete... Looks good Writing Makefile for WWW::Shorten cp lib/WWW/Shorten/EkDk.pm blib/lib/WWW/Shorten/EkDk.pm cp lib/WWW/Shorten/qURL.pm blib/lib/WWW/Shorten/qURL.pm cp lib/WWW/Shorten/URLjr.pm blib/lib/WWW/Shorten/URLjr.pm cp lib/WWW/Shorten/V3.pm blib/lib/WWW/Shorten/V3.pm cp lib/WWW/Shorten/Metamark.pm blib/lib/WWW/Shorten/Metamark.pm cp lib/WWW/Shorten/generic.pm blib/lib/WWW/Shorten/generic.pm cp lib/WWW/Shorten.pm blib/lib/WWW/Shorten.pm cp lib/WWW/Shorten/TinyClick.pm blib/lib/WWW/Shorten/TinyClick.pm cp lib/WWW/Shorten/TinyURL.pm blib/lib/WWW/Shorten/TinyURL.pm cp lib/WWW/Shorten/OneShortLink.pm blib/lib/WWW/Shorten/OneShortLink.pm cp lib/WWW/Shorten/ShortLink.pm blib/lib/WWW/Shorten/ShortLink.pm cp lib/WWW/Shorten/SmLnk.pm blib/lib/WWW/Shorten/SmLnk.pm cp lib/WWW/Shorten/NotLong.pm blib/lib/WWW/Shorten/NotLong.pm cp lib/WWW/Shorten/SnipURL.pm blib/lib/WWW/Shorten/SnipURL.pm cp lib/WWW/Shorten/BabyURL.pm blib/lib/WWW/Shorten/BabyURL.pm cp lib/WWW/Shorten/Linkz.pm blib/lib/WWW/Shorten/Linkz.pm cp lib/WWW/Shorten/Tinylink.pm blib/lib/WWW/Shorten/Tinylink.pm cp lib/WWW/Shorten/MakeAShorterLink.pm blib/lib/WWW/Shorten/MakeAShorterLink.pm cp lib/WWW/Shorten/_dead.pm blib/lib/WWW/Shorten/_dead.pm cp lib/WWW/Shorten/Shorl.pm blib/lib/WWW/Shorten/Shorl.pm cp lib/WWW/Shorten/LinkToolbot.pm blib/lib/WWW/Shorten/LinkToolbot.pm cp bin/shorten blib/script/shorten /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/shorten Manifying blib/man1/shorten.1 Manifying blib/man3/WWW::Shorten::EkDk.3pm Manifying blib/man3/WWW::Shorten::qURL.3pm Manifying blib/man3/WWW::Shorten::URLjr.3pm Manifying blib/man3/WWW::Shorten::V3.3pm Manifying blib/man3/WWW::Shorten::Metamark.3pm Manifying blib/man3/WWW::Shorten::generic.3pm Manifying blib/man3/WWW::Shorten.3pm Manifying blib/man3/WWW::Shorten::TinyClick.3pm Manifying blib/man3/WWW::Shorten::TinyURL.3pm Manifying blib/man3/WWW::Shorten::OneShortLink.3pm Manifying blib/man3/WWW::Shorten::ShortLink.3pm Manifying blib/man3/WWW::Shorten::SmLnk.3pm Manifying blib/man3/WWW::Shorten::NotLong.3pm Manifying blib/man3/WWW::Shorten::SnipURL.3pm Manifying blib/man3/WWW::Shorten::BabyURL.3pm Manifying blib/man3/WWW::Shorten::Linkz.3pm Manifying blib/man3/WWW::Shorten::Tinylink.3pm Manifying blib/man3/WWW::Shorten::MakeAShorterLink.3pm Manifying blib/man3/WWW::Shorten::_dead.3pm Manifying blib/man3/WWW::Shorten::LinkToolbot.3pm Manifying blib/man3/WWW::Shorten::Shorl.3pm /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00load............ok t/00load_a..........ok t/00load_b..........ok t/00noexp...........ok t/00sig.............ok 1/1 skipped: Test::Signature not installed. t/01version.........# Test::More 0.94 # LWP::UserAgent 2.033 t/01version.........ok t/98pod-coverage....skipped all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/99pod.............skipped all skipped: Test::Pod 1.00 required for testing POD t/babyurl...........ok t/ekdk..............ok t/linktoolbot.......ok t/linkz.............ok 5/6 skipped: lin.kz seems to be having trouble at the moment t/masl..............ok t/metamark..........ok t/newnames..........ok t/notlong...........ok t/oneshort..........ok t/qurl..............ok t/shorl.............ok t/shortlink.........ok t/smlnk.............ok t/snipurl...........ok 1/7 t/snipurl...........NOK 3# Failed test 'make it longer' # at t/snipurl.t line 16. # got: 'http://snipurl.com/site' # expected: 'http://code.mag-sol.com/WWW-Shorten/WWW-Shorten.1.95.tar.gz' # Failed test 'make it longer by Id' # at t/snipurl.t line 17. t/snipurl...........NOK 4# got: 'http://snipurl.com/site' # expected: 'http://code.mag-sol.com/WWW-Shorten/WWW-Shorten.1.95.tar.gz' # Failed test 'make it long with what we were given' # at t/snipurl.t line 18. # got: undef # expected: 'http://code.mag-sol.com/WWW-Shorten/WWW-Shorten.1.95.tar.gz' # Looks like you failed 3 tests of 7. t/snipurl...........dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 3-5 Failed 3/7 tests, 57.14% okay t/tinyclick.........ok t/tinylink..........ok t/tinyurl...........ok t/urljr.............ok t/v3................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/snipurl.t 3 768 7 3 42.86% 3-5 2 tests and 6 subtests skipped. Failed 1/27 test scripts, 96.30% okay. 3/78 subtests failed, 96.15% okay. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install Warning: You do not have permissions to install into /Library/Perl/5.8.8/darwin-thread-multi-2level at /System/Library/Perl/5.8.8/ExtUtils/Install.pm line 114. mkdir /Library/Perl/5.8.8/WWW: Permission denied at /System/Library/Perl/5.8.8/ExtUtils/Install.pm line 176 make: *** [pure_site_install] Error 13 /usr/bin/make install -- NOT OK By look WWW::Shorten perl Makefile.PL make make install Hope this helps someone else and much thanks to pergrin
Looks like snipurl.com might have changed the way their web site works (always a danger with screen-scraping). I'll take a closer look and get a new release out in the next couple of days. But in the meantime, this shouldn't be a problem unless you're actually using the snipurl.com service. (I've taken the liberty of renaming your bug report to something more descriptive) Cheers, Dave...
On Tue Sep 08 04:59:46 2009, DAVECROSS wrote: Show quoted text
> Looks like snipurl.com might have changed the way their web site works > (always a danger with screen-scraping). > > I'll take a closer look and get a new release out in the next couple >
of days. But in the meantime, this shouldn't be a problem unless Show quoted text
> you're actually using the snipurl.com service. > > (I've taken the liberty of renaming your bug report to something more > descriptive)
Aha. SnipURL have changed their API. Little bit of work required I'm afraid. Perhaps it's best if I release a version of WWW::Shorten without SnipURL support and then a separate WWW::Shorten::SnipURL later on. This falls in with my plans to move the individual site plugins to separate distributions. Cheers, Dave...
Version 2.04 (on CPAN soon) removes the (currently broken) SnipURL module. A (hopefully fixed) separate distribution for SnipURL support will follow shortly.