Opened 8 months ago
Last modified 8 months ago
#21342 new defect
Viewing the article on wikipedia does not work
Reported by: | TrickyFoxy | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core tag2link | Version: | |
Keywords: | template_report wikipedia macOS | Cc: |
Description
What steps will reproduce the problem?
- Find an object with the
wikipedia
tag - Right-click on the tag in the object's tag menu
- Click "View Wikipedia article" (approximate name)
- Nothing happens
Example object: https://www.openstreetmap.org/node/336140320
p.s. View wikidata
tag works.
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
Revision:18224 Is-Local-Build:true Build-Date:2021-09-13 18:42:24 Identification: JOSM/1.5 (18224 SVN ru) Mac OS X 11.5 OS Build number: macOS 11.6 (20G165) Memory Usage: 450 MB / 2048 MB (73 MB allocated, but free) Java version: 17-ea+35, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: Display 69732352 1680×1050 (scaling 2.00×2.00) Maximum Screen Size: 1680×1050 Best cursor sizes: 16×16→16×16, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: ru_RU Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=18224, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=/Applications/JOSM.app/Contents/MacOS/JOSM] Dataset consistency test: No problems found Plugins: + BuildingGeneralization (36) + Create_grid_of_ways (35640) + DirectDownload (35640) + EasyPresets (1623509627) + FastDraw (35640) + FixAddresses (35640) + HouseNumberTaggingTool (35814) + ImproveOsm (211) + ImproveWay (32) + MakeParallel (v1.1.0) + Mapillary (2.0.0-alpha.36-dirty) + OpeningHoursEditor (35640) + PicLayer (1.0.1) + PolygonCutOut (v0.7) + RelationDissolve (0.2.0) + alignways (35753) + apache-commons (35524) + apache-http (35589) + auto_tools (81) + buildings_tools (35756) + changeset-viewer (25) + comfort0 (35640) + conflation (0.6.6) + continuosDownload (99) + contourmerge (v0.1.8) + editgpx (35562) + ext_tools (35640) + graphview (35640) + gridify (1606242219) + http2 (35427) + jna (35662) + jts (35458) + junctionchecking (35640) + merge-overlap (35640) + photoadjust (35770) + rasterfilters (35774) + reltoolbox (35640) + reverter (35732) + russia-address-helper (0.5.1) + terracer (35640) + turnrestrictions (35640) + undelete (35640) + utilsplugin2 (35792) + waydownloader (35640) + wikipedia (1.1.4) Tagging presets: + https://raw.githubusercontent.com/ruosm-presets/literan-moscow/master/russian_shops.xml + https://josm.openstreetmap.de/josmfile?page=Presets/StreetCabinet&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Playground_Equipment&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Quick-stops&zip=1 + https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/RU.zip + https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1 + <josm.userdata>/EasyPresets.xml + https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/WifiHotspots&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Manholes&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/MappingAccessibility&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Maxspeed-zones&zip=1 Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/FixmeAndNote&zip=1 + ${HOME}/JOSM/presets/style-power-voltage-color.mapcss - ${HOME}/JOSM/presets/style-power-tower-solid/power-tower-solid.mapcss + https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/Lit&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Power&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/PowerMapping&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Noname&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/NewHighwayColors&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_buildings&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1 - https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip - https://raw.githubusercontent.com/yopaseopor/indoormap/master/indoormap-style.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/NewParkingFeatures&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1 Validator rules: + https://josm.openstreetmap.de/josmfile?page=Rules/KeepRight&zip=1 + https://raw.githubusercontent.com/zetx16/Josm-HnumbValidator/master/ru-housenumber.validator.mapcss Last errors/warnings: - 00610.513 W: java.io.IOException: Operation timed out. Причина: java.io.IOException: Operation timed out - 00610.514 W: java.io.IOException: Operation timed out. Причина: java.io.IOException: Operation timed out - 00610.515 W: java.io.IOException: Operation timed out. Причина: java.io.IOException: Operation timed out - 00610.516 W: java.io.IOException: Operation timed out. Причина: java.io.IOException: Operation timed out - 00610.516 W: java.io.IOException: Operation timed out. Причина: java.io.IOException: Operation timed out - 00610.516 W: java.io.IOException: Operation timed out. Причина: java.io.IOException: Operation timed out - 00610.517 W: java.io.IOException: Operation timed out. Причина: java.io.IOException: Operation timed out - 00610.517 W: java.io.IOException: Operation timed out. Причина: java.io.IOException: Operation timed out - 00610.518 W: java.io.IOException: Operation timed out. Причина: java.io.IOException: Operation timed out - 00610.519 W: java.io.IOException: Operation timed out. Причина: java.io.IOException: Operation timed out
Attachments (0)
Change History (9)
comment:1 Changed 8 months ago by
comment:2 Changed 8 months ago by
This problem is at least a month old.
Doesn't work even if you change the locale.
Settings for the Russian locale:
Wikipedia language: ru
Sophox server: https://sophox.org/bigdata/namespace/wdq/sparql
For English:
Wikipedia language: en
Sophox server: https://sophox.org/bigdata/namespace/wdq/sparql
There seems to be a problem with links for Russian articles, so for links to the English wikipedia everything works: e.g. https://www.openstreetmap.org/node/107775
comment:3 Changed 8 months ago by
I changed JOSM locale to Russian and downloaded https://www.openstreetmap.org/node/336140320 as in the original report. Both Wikidata and Wikipedia open as expected, using r18225. Maybe you can try it with the official builds.
comment:4 Changed 8 months ago by
Maybe you can try it with the official builds.
I use the github version. JOSM somehow thinks it is a local build.
https://github.com/JOSM/josm/releases/download/18224/JOSM-macOS-java17-ea-18224.zip
comment:5 Changed 8 months ago by
I tried using the jar version with java 16, 17. everything is the same, no errors in the console :
2021-09-20 16:59:03.414 INFO: Opening URL: https://www.wikidata.org/wiki/Q4164746 2021-09-20 16:59:08.346 INFO: Opening URL: https://ru.wikipedia.org/wiki/Долгоруково_(Липецкая_область)
I also changed the default browser to Safari, but that didn't help either.
upd: corrected, a message that was accidentally translated.
comment:7 Changed 8 months ago by
No, I disabled wikipedia plugin and the context menu item remained.
comment:8 Changed 8 months ago by
Component: | Core → Core tag2link |
---|---|
Keywords: | wikipedia macOS added |
So, we cannot reproduce on Linux. Might be macOS related.
comment:9 Changed 8 months ago by
Looking at the source code is more likely a macOS related thing.
josm/trunk/src/org/openstreetmap/josm/tools/OpenBrowser.java#L45
It works for me. I think there was some wiki server outage when you tried using that function. Could you please try again and see if it works now?