ubuntu 10.04.3 32 bit trying to run tilesGen.pl with Rasterizer=BatikAgent error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ubuntu 10.04.3 32 bit trying to run tilesGen.pl with Rasterizer=BatikAgent error

marco bra
On update ubuntu 10.04.3 32 bit trying to run tilesGen.pl with
Rasterizer=BatikAgent running i get the error below, how can i dress
it ?

 Using working directory /tmp
- Pngcrush version 1.7.0
- pngnq version 1.0
- Java version 1.6 is available
- ImageMagick version 6.5.7 (lowzoom enabled)
- rendering using or/p
This is version 23290 (Vizag) of tilesgen running on linux, ID: 57484
- rasterizing using SVG::Rasterize::Engine::BatikAgent
[#1   0% ] Tileset (12,2022,1433) around 47.43,-2.24 complexity
16201598 priority 2
[#1   0% tile-z12] Rasterizing failed with runtime exception: Batik
agent returned non-OK result "ERROR" at
lib/SVG/Rasterize/Engine/BatikAgent.pm line 115.

Rasterize command: "svg2png", "width=256", "height=256",
"area=0.000000,0.000000,878.906250,878.906250",
"destination=/tmp/12_2022_1433_l4s7Y/tile-z12-s0.png",
"source=/tmp/12_2022_1433_l4s7Y/tile-z12.svg"
Rasterize engine STDOUT:ERROR
java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at org.apache.batik.dom.svg.SVGDOMImplementation.createDocument(Unknown Source)
        at org.apache.batik.dom.util.SAXDocumentFactory.startElement(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
        at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
        at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
        at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
        at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
        at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
        at org.tah.batik.Svg2Png.run(Svg2Png.java:88)
        at org.tah.batik.ConnectionHandler.run(ConnectionHandler.java:48)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: org.w3c.dom.svg.SVGDocument
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        ... 33 more
[#1   0% tile-z12] Putting job (12,2022,1433) back due to 'Exception
in RenderSVG: Batik agent returned non-OK result "ERROR"'
Use of uninitialized value in concatenation (.) or string at
tilesGen.pl line 783.
Use of uninitialized value in string eq at tilesGen.pl line 784.
[#1   0% tile-z12] Warning: used uninitialized fault
[#1   0% tile-z12] Exception in RenderSVG: Batik agent returned non-OK
result "ERROR"
[#1   0% tile-z12] you may safely press Ctrl-C now if you want to exit
tilesGen.pl
[#1   0% tile-z12] . Idle for 16 (Total 0:59)... ^C


--
Linux Infinite Freedom

_______________________________________________
Tilesathome mailing list
[hidden email]
http://lists.openstreetmap.org/listinfo/tilesathome
Reply | Threaded
Open this post in threaded view
|

Re: ubuntu 10.04.3 32 bit trying to run tilesGen.pl with Rasterizer=BatikAgent error

marco bra
> On update ubuntu 10.04.3 32 bit trying to run tilesGen.pl with
> Rasterizer=BatikAgent running i get the error below, how can i dress
> it ?

Solved by download batik at http://xmlgraphics.apache.org/batik/ and
put the zipped directory in my /usr/local/share directory...

Thanks

_______________________________________________
Tilesathome mailing list
[hidden email]
http://lists.openstreetmap.org/listinfo/tilesathome