Modify

Opened 5 years ago

Closed 5 years ago

#18333 closed defect (fixed)

IOE unresolved-redirect

Reported by: anonymous Owned by: floscher
Priority: normal Milestone:
Component: Plugin wikipedia Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

Please provide any additional information below. Attach a screenshot if possible.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-11-01 23:59:01 +0100 (Fri, 01 Nov 2019)
Build-Date:2019-11-01 22:59:57
Revision:15492
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15492 de) Windows 10 64-Bit
OS Build number: Windows 10 Home 1903 (18362)
Memory Usage: 849 MB / 1696 MB (225 MB allocated, but free)
Java version: 1.8.0_231-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test: No problems found

Plugins:
+ wikipedia (1.1.2)

Tagging presets:
+ https://www.openrailwaymap.org/josm-presets/de.zip

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Das Wikidata Action API hat https://www.wikidata.org/w/api.php?format=json&utf8=1&formatversion=1&action=wbgetclaims&props=&entity=Q15796245 als ungültige Anfrage zurückgewiesen (unresolved-redirect). Das ist ein Programmierfehler, bitte melden Sie diesen an das Wikipedia-Plugin.
- W: Beim Lesen der JSON-Antwort von Wikidata Action API ist ein Fehler aufgetreten! (IOException: Das Wikidata Action API hat https://www.wikidata.org/w/api.php?format=json&utf8=1&formatversion=1&action=wbgetclaims&props=&entity=Q15796245 als ungültige Anfrage zurückgewiesen (unresolved-redirect). Das ist ein Programmierfehler, bitte melden Sie diesen an das Wikipedia-Plugin.): java.io.IOException: Das Wikidata Action API hat https://www.wikidata.org/w/api.php?format=json&utf8=1&formatversion=1&action=wbgetclaims&props=&entity=Q15796245 als ungültige Anfrage zurückgewiesen (unresolved-redirect). Das ist ein Programmierfehler, bitte melden Sie diesen an das Wikipedia-Plugin.
- E: Das Wikidata Action API hat https://www.wikidata.org/w/api.php?format=json&utf8=1&formatversion=1&action=wbgetclaims&props=&entity=Q15796245 als ungültige Anfrage zurückgewiesen (unresolved-redirect). Das ist ein Programmierfehler, bitte melden Sie diesen an das Wikipedia-Plugin.


=== REPORTED CRASH DATA ===
ApiQueryClient#getInputStreamForQuery:
 - component: Plugin wikipedia
 - keywords: API

=== STACK TRACE ===
Thread: Thread-23 (288) of main
java.io.IOException: Das Wikidata Action API hat https://www.wikidata.org/w/api.php?format=json&utf8=1&formatversion=1&action=wbgetclaims&props=&entity=Q15796245 als ungültige Anfrage zurückgewiesen (unresolved-redirect). Das ist ein Programmierfehler, bitte melden Sie diesen an das Wikipedia-Plugin.
	at org.wikipedia.api.ApiQueryClient.getInputStreamForQuery(ApiQueryClient.java:96)
	at org.wikipedia.api.ApiQueryClient.query(ApiQueryClient.java:45)
	at org.wikipedia.gui.WikidataInfoClaimPanel.lambda$downloadStatementsFor$1(WikidataInfoClaimPanel.java:33)
	at java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (3)

comment:1 by Klumbumbus, 5 years ago

Component: CorePlugin wikipedia
Owner: changed from team to floscher

comment:2 by Klumbumbus, 5 years ago

Summary: FehlermeldungIOE unresolved-redirect

comment:3 by floscher, 5 years ago

Resolution: fixed
Status: newclosed

This is solved with https://gitlab.com/JOSM/plugin/wikipedia/commit/ba54b465f6c68f43b117dea9408c6a4afe51f971 and will be part of the next release.

This occured with entities that redirect to another entity, that is not supported by the wbgetclaims API endpoint, so now wbgetentities is used to get the claims.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain floscher.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.