User:Melancholie/Java/BatikAgent

From OpenStreetMap Wiki
Jump to: navigation, search

Using Debian, with version 1.6 and 1.7:
See also: http://lists.openstreetmap.org/pipermail/tilesathome/2008-October/004588.html

[#1   0% captionless-z12] Rasterizing failed with runtime exception: Error creating socket to the batik agent: Verbindungsaufbau abgelehnt at lib/SVG/Rasterize/Engine/BatikAgent.pm line 218.

Exception in RenderSVG: Error creating socket to the batik agent: Verbindungsaufbau abgelehnt at lib/SVG/Rasterize/Engine/BatikAgent.pm line 218.
    my $sock = new IO::Socket::INET( PeerAddr => $self->host(), PeerPort => $self->port(), Proto => 'tcp');
  • allowed port 18123 for eth0 (used if it should fail for lo (localhost))
  • cpan IO::Socket::INET
=> Still not working, the same error message!
  • cpan -i IPC::Run shows:
Running install for module 'IPC::Run'
Running make for A/AD/ADAMK/IPC-Run-0.84.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/IPC-Run-0.84-Aq8aYe
  Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/97_meta..........skipped
        all skipped: Author tests not required for installation
t/98_pod...........skipped
        all skipped: Author tests not required for installation
t/99_pmv...........skipped
        all skipped: Author tests not required for installation
t/adopt............skipped
        all skipped: adopt not implemented yet
t/binmode..........ok
t/bogus............ok
t/filter...........ok
t/harness..........ok
t/io...............ok
t/kill_kill........ok
t/parallel.........ok
t/pty..............# IO::Tty 1.08, IO::Pty 1.08
t/pty..............ok 1/32ack Eingabe-/Ausgabefehler: read( 3 ) at /root/.cpan/build/IPC-Run-0.84-Aq8aYe/blib/lib/IPC/Run/IO.pm line 558
# Looks like you planned 32 tests but only ran 13.
# Looks like your test died just after 13.
t/pty..............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 14-32
        Failed 19/32 tests, 40.62% okay
t/pump.............ok
t/run..............ok
t/signal...........ok
t/timeout..........ok
t/timer............ok
t/win32_compile....ok
Failed Test Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/pty.t      255 65280    32   38  14-32
4 tests skipped.
Failed 1/18 test scripts. 19/674 subtests failed.
Files=18, Tests=674, 12 wallclock secs ( 1.09 cusr +  0.40 csys =  1.49 CPU)
Failed 1/18 test programs. 19/674 subtests failed.
make: *** [test_dynamic] Fehler 255
  ADAMK/IPC-Run-0.84.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports ADAMK/IPC-Run-0.84.tar.gz
Running make install
  make test had returned bad status, won't install without force

=> Input/Output error

  1. cpan force IPC::Run (or cpan -i force IPC::Run or cpan install force IPC::Run or cpan force install IPC::Run ;-)
  2. perl -MCPAN -e "CPAN::Shell->force(qw(install IPC::Run));"

Second worked to ignore the test error and installed the latest IPC::Run, but it still just doesn't work for BatikAgent, still having the same error message (see top)!

  • perl -MCPAN -e "CPAN::Shell->force(qw(install XML::ApacheFOP));"

Installed very latest libipc-run-perl and furthermore libipc-run-safehandles-perl [!]:

... still does not work!