Knut Arne Bjørndal schrieb: > Hi > > On 30. nov. 2009, at 15.19, Fredrik Johansson wrote: >> Pretty frequently I get this error: >> >> [#959 0% maplint-z12] Splitting stripe 0... Can't use an undefined >> value as a symbol reference at /usr/lib/perl5/GD/Image.pm line 175. [...] > Often this error occurs after something else has already gone wrong, but > it may be hidden with the default verbosity level, try turning that up > if there are no error messages above that one.
In my experience it's almost always something else that went wrong. > And yes, there should be some more error handling, I suspect that at > least some error handling around GD could give some less confusing > diagnostics (but wouldn't really solve anything else). The entire error handling needs a rewrite, or at least a thorough testing. Several error counters are not reset correctly. > Other than that the component I suspect most is the rasterizer, and the > SVG::Rasterize module already tries it's best to wrap error handling > around that. The problem is that the rasterizers almost seem hostile to > error handling, trying their very best to not do anything that's simple > to handle like returning error codes or failing in even remotely > predictable ways (much less gracefully, what kind of concept is that??) True, very frustrating, that. -- Dirk-Lüder "Deelkar" Kreie Bremen - 53.0901°N 8.7868°E _______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
