Opened 15 years ago
Closed 15 years ago
#5068 closed defect (worksforme)
fuzzer plugin: "Child Script have returned invalid data"
Reported by: | pert | Owned by: | pert |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin fuzzer | Version: | |
Keywords: | fuzzer plugin | Cc: |
Description
The fuzzer plugin fails immediately after using shift-K and then
click with above message: "Child Script ..."
Messages on terminal:-
python ./fuzzyselect.py -1.4673247632977156 51.80079551963015 4644648.282351984
org.openstreetmap.josm.io.IllegalDataException: Line 1 column 1: Premature end of file.
at org.openstreetmap.josm.io.OsmReader.parseDataSet(OsmReader.java:592)
at fuzzer.FuzzySelectAction$2.run(FuzzySelectAction.java:126)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1059)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.openstreetmap.josm.io.OsmReader.parseDataSet(OsmReader.java:573)
... 2 more
Josm version/status etc:-
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-05-18 01:31:23
Last Changed Author: bastiK
Revision: 3261
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-05-17 18:13:34 +0200 (Mon, 17 May 2010)
Last Changed Rev: 3261
Memory Usage: 66 MB / 247 MB (20 MB allocated, but free)
Java version: 1.6.0_20, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Linux
Dataset consistency test:
No problems found
Plugins: DirectUpload,editgpx,fuzzer,measurement,validator,wmsplugin
Plugin wmsplugin (Version: 21235)
Plugin editgpx (Version: 19683)
Plugin DirectUpload (Version: 20881)
Plugin validator (Version: 21177)
Plugin fuzzer (Version: 4)
Plugin measurement (Version: 21307)
cache.motd.html=1274724477
cache.motd.html.lang=En:
cache.motd.html.version=3261
cache.wmsplugin.expire=2419200
cache.wmsplugin.maxsize=70
changesetdialog.visible=true
coordinates=DECIMAL_DEGREES
download.newlayer=true
draw.rawgps.direction=true
draw.rawgps.large=true
draw.rawgps.max-line-length=50
gui.geometry=987x907+37+0
gui.maximized=false
josm.version=3261
lastAddAuthor=false
lastAuthorName=messpert
lastDirectory=/ael_elf1/ael/mapping/6-4-2010
marker.audiofromstart=false
marker.buttonlabels=false
measure.visible=true
mirror.http://svn.openstreetmap.org/applications/editors/josm/plugins/validator/ignoretags.cfg=1274724484503;/ael_elf1/ael/.josm/plugins/validator/mirror_http___svn.openstreetmap.org_applications_editors_josm_plugins_validator_ignoretags.cfg
mirror.http://svn.openstreetmap.org/applications/editors/josm/plugins/validator/tagchecker.cfg=1274724484575;/ael_elf1/ael/.josm/plugins/validator/mirror_http___svn.openstreetmap.org_applications_editors_josm_plugins_validator_tagchecker.cfg
mirror.http://svn.openstreetmap.org/applications/editors/josm/plugins/wmsplugin/sources.cfg=1274724483967;/ael_elf1/ael/.josm/plugins/wmsplugin/mirror_http___svn.openstreetmap.org_applications_editors_josm_plugins_wmsplugin_sources.cfg
mirror.http://svn.openstreetmap.org/applications/utils/planet.osm/java/speller/words.cfg=1274724484403;/ael_elf1/ael/.josm/plugins/validator/mirror_http___svn.openstreetmap.org_applications_utils_planet.osm_java_speller_words.cfg
org.openstreetmap.josm.gui.download.DownloadDialog.geometry=x=37,y=153,width=1000,height=600
org.openstreetmap.josm.gui.help.HelpBrowser.geometry=x=0,y=0,width=954,height=667
org.openstreetmap.josm.gui.io.UploadDialog.geometry=x=330,y=153,width=400,height=600
org.openstreetmap.josm.gui.preferences.PreferenceDialog.geometry=x=108,y=150,width=600,height=800
osm-download.bounds=51.7960755;-1.4745015;51.806953199999995;-1.4611694
osm-server.upload-strategy=singlerequest
pluginmanager.lastupdate=1274724476961
pluginmanager.version=3261
plugins=DirectUploadeditgpxfuzzermeasurementvalidatorwmsplugin
proxy.policy=no-proxy
save.keepbackup=false
shortcut.groups.1=128
shortcut.groups.10=64
shortcut.groups.11=576
shortcut.groups.12=64
shortcut.groups.13=512
shortcut.groups.15=640
shortcut.groups.16=640
shortcut.groups.17=576
shortcut.groups.18=512
shortcut.groups.19=128
shortcut.groups.2=128
shortcut.groups.20=512
shortcut.groups.3=0
shortcut.groups.4=512
shortcut.groups.5=0
shortcut.groups.6=512
shortcut.groups.8=192
shortcut.groups.9=192
shortcut.groups.configured=true
toolbar=opensavedownloadupload|undoredo|dialogs/search(searchExpression=)preference|splitwaycombinewaywayflip|tagginggroup_Highways/Streetstagginggroup_Highways/Waystagginggroup_Highways/Waypointstagginggroup_Highways/Barriers|tagginggroup_Transport/Cartagginggroup_Transport/Public Transport|tagginggroup_Travel/Tourismtagginggroup_Travel/Food+Drinks|tagginggroup_Travel/Historic Places|tagginggroup_Man-Made/Man Made
upload.comment.history=Moved New Yatt Village node (to help with rendering: I know, I know...)Yet another correction: footway tag somehow missedIs josm generating random tags? Another weird one corrected!Another tag oddity: area somehow did not get uploaded?Correcting weird steps tag: no idea how that happened!guess at bridge width: 2 narrow planksdetail: bridge across streampath across fieldsgarage & 2 private roads: New Yatt
validator.tests=Coastlines=true,MultipolygonTest=true,SimilarNamedWays=true,UntaggedNode=true,CrossingWays=true,NodesWithSameName=true,TagChecker=true,OverlappingWays=true,UnclosedWays=true,WronglyOrderedWays=true,UnconnectedWays=true,SelfIntersectingWay=true,DuplicatedWayNodes=true,NameMismatch=true,DuplicateWay=true,UntaggedWay=true,DuplicateNode=true
validator.testsBeforeUpload=Coastlines=true,MultipolygonTest=true,SimilarNamedWays=true,UntaggedNode=true,CrossingWays=true,NodesWithSameName=true,TagChecker=true,OverlappingWays=true,UnclosedWays=true,WronglyOrderedWays=true,UnconnectedWays=true,SelfIntersectingWay=true,DuplicatedWayNodes=true,NameMismatch=true,DuplicateWay=true,UntaggedWay=true,DuplicateNode=true
wmsplugin.default.html:http://josm.openstreetmap.de/wmsplugin/YahooDirect.html?=true
wmsplugin.default.http://onearth.jpl.nasa.gov/wms.cgi?request_GetMap&layers_global_mosaic&styles_&format_image/jpeg&=true
wmsplugin.url.0.name=Landsat
wmsplugin.url.0.url=http://onearth.jpl.nasa.gov/wms.cgi?request=GetMap&layers=global_mosaic&styles=&format=image/jpeg&
wmsplugin.url.1.name=Yahoo Sat
wmsplugin.url.1.url=html:http://josm.openstreetmap.de/wmsplugin/YahooDirect.html?
wmsplugin.url.2.name=os_streetview
wmsplugin.url.2.url=http://os.openstreetmap.org/wms/map.php?source=sv&
wmsplugin.url.overlap=false
wmsplugin.url.overlapEast=14
wmsplugin.url.overlapNorth=4
Attachments (0)
Change History (6)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Found the solution to the problem, check it works for you too:
There is an additional dependency on pyproj which is not stated on the wiki page. In Ubuntu/Debian simply install python-pyproj and python-pyproj-data to resolve this problem.
Now the question is of the next problem why it won't show any results...
comment:3 by , 15 years ago
Component: | Plugin → Plugin fuzzer |
---|---|
Owner: | changed from | to
comment:4 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
Have you downloaded fuzzyselect.py? What happens if you try to run fuzzyselect.py from command line?
Only thing this plugin do is run the fuzzyselect.py and return the resulting data to JOSM.
comment:5 by , 15 years ago
I've updated the plugin so it now displays debug information in error messagebox.
comment:6 by , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | needinfo → closed |
Also affects me with fuzzer v4 and JOSM v3261.