Opened 13 years ago
Closed 13 years ago
#8027 closed defect (fixed)
scripting plugin console can't be launched
Reported by: | Polyglot | Owned by: | Gubaer |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin scripting | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Just updated to josm-latest, updated plugins, started working on data downloaded with Overpass API
- Started scripting plugin console
What is the expected result?
The console to load my Python code
What happens instead?
error message
Please provide any additional information below. Attach a screenshot if
possible.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2012-08-31 01:31:11 Last Changed Author: Don-vip Revision: 5485 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2012-08-31 00:21:56 +0200 (Fri, 31 Aug 2012) Last Changed Rev: 5485 Identification: JOSM/1.5 (5485 en) Memory Usage: 159 MB / 821 MB (51 MB allocated, but free) Java version: 1.6.0_23, Sun Microsystems Inc., Java HotSpot(TM) Client VM Operating system: Windows 7 Dataset consistency test: [WARN - NO NODES] Way {Way id=53767593 version=5 VT nodes=[{Node id=678859619 version=3 V lat=51.1804005,lon=4.74506}]} has only one node [WARN - NO NODES] Way {Way id=33465996 version=3 VT nodes=[{Node id=91147724 version=8 VT lat=51.1792332,lon=4.7447202}]} has only one node Plugin: AddrInterpolation (28014) Plugin: Create_grid_of_ways (28412) Plugin: OpeningHoursEditor (28477) Plugin: PicLayer (28559) Plugin: alignways (28412) Plugin: buildings_tools (28529) Plugin: contourmerge (1003) Plugin: merge-overlap (28412) Plugin: openstreetbugs (28412) Plugin: osmarender (28412) Plugin: pdfimport (28448) Plugin: photo_geotagging (28412) Plugin: public_transport (28412) Plugin: reverter (28535) Plugin: scripting (30000) Plugin: terracer (28412) Plugin: undelete (28501) Plugin: utilsplugin2 (28556) Plugin: walkingpapers (28412) java.lang.NoSuchMethodError: org.openstreetmap.josm.data.preferences.BooleanProperty.get()Z at org.openstreetmap.josm.plugins.scripting.ui.console.Scriptin
Attachments (0)
Change History (8)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
This is the problem with plugins not hosted on OSM SVN: we cannot rebuild them when it is required (the jar just has to been rebuilt to work with latest JOSM)
comment:3 by , 13 years ago
Component: | Core → Plugin scripting |
---|---|
Owner: | changed from | to
comment:4 by , 13 years ago
I think you need to update Java instead. You're seriously OUT-OF-DATE running 1.6.23. The latest in the 1.6 branch is .35. Or even better, upgrade to 1.7.07.
comment:5 by , 13 years ago
This has nothing to do with Java version, I changed this method signature during last development cycle and rebuilt all impacted plugins I could rebuild (i.e, only those located at http://trac.openstreetmap.org/browser/applications/editors/josm/plugins).
However, regarding the latest security flaws recently exposed, I strongly advise you to upgrade to one of the versions Rick mentioned. But this will not solve this problem :)
comment:6 by , 13 years ago
I might be the only soul who's using this plugin... It's very handy though. No idea why it's not hosted along with all the others.
For the record, I upgraded to the latest and greatest Java release. One in a row of an extreme amount of updates.
Thanks for having looked into it. I hope the maintainer gets to see this eventually.
Polyglot
comment:8 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I see the plugin has been recompiled so this problem should be fixed now.
The same problem occurs with the latest josm-tested 5482, whereas with josm-latest 5355 it works fine.
Another issue I have is that lately I have to select Python over and over again. Before it remembered that I script in Python instead of in Rhino. That's more of an annoyance.