#14277 closed defect (othersoftware)
qat_script und Keep Right
Reported by: | Owned by: | Gubaer | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin scripting | Version: | |
Keywords: | template_report github | Cc: |
Description
What steps will reproduce the problem?
- Es treten immer noch Programmfehler auf bei QA Tools mit Keep Right. Das war in älteren JOSM-Versionen nicht. Also muß JOSM hier bitte in Ordnung gebracht werden.
- Die Datenbankfehler von Keep Right werden nicht mehr auf der Karte angezeigt. Auch dies war in älteren JOSM-Versionen nicht. Also muß JOSM hier bitte in Ordnung gebracht werden.
- Redet euch bitte nicht raus, "Die anderen Tools sind Schuld" JOSM wird leider immer größe und hat leider immer mehr bugs.
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2017-01-02 00:53:29 +0100 (Mon, 02 Jan 2017) Build-Date:2017-01-02 02:33:21 Revision:11427 Relative:URL: ^/trunk Identification: JOSM/1.5 (11427 de) Windows 7 64-Bit Memory Usage: 491 MB / 989 MB (35 MB allocated, but free) Java version: 1.8.0_121-b13, Oracle Corporation, Java HotSpot(TM) Client VM Screen: \Display0 1366x768 Maximum Screen Size: 1366x768 Dataset consistency test: No problems found Plugins: + FixAddresses (33004) + buildings_tools (33004) + jts (32699) + scripting (30763) + terracer (33088) + utilsplugin2 (33088) Last errors/warnings: - E: java.lang.reflect.InvocationTargetException. Ursache: org.python.core.PyException - E: java.lang.reflect.InvocationTargetException. Ursache: org.python.core.PyException - E: java.lang.reflect.InvocationTargetException. Ursache: org.python.core.PyException - E: java.lang.reflect.InvocationTargetException. Ursache: org.python.core.PyException - E: java.lang.reflect.InvocationTargetException. Ursache: org.python.core.PyException - E: java.lang.reflect.InvocationTargetException. Ursache: org.python.core.PyException - E: java.lang.reflect.InvocationTargetException. Ursache: org.python.core.PyException - E: java.lang.reflect.InvocationTargetException. Ursache: org.python.core.PyException - E: Handled by bug report queue: org.python.core.PyException - E: Handled by bug report queue: org.python.core.PyException === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (19) of main NotImplementedError at org.python.core.Py.NotImplementedError(Py.java:167) at org.python.proxies.gui.PreferencesFrame$PreferencesFrame$29.windowActivated(Unknown Source) at java.awt.AWTEventMulticaster.windowActivated(Unknown Source) at java.awt.Window.processWindowEvent(Unknown Source) at javax.swing.JFrame.processWindowEvent(Unknown Source) at org.python.proxies.gui.PreferencesFrame$PreferencesFrame$29.processWindowEvent(Unknown Source) at java.awt.Window.processEvent(Unknown Source) at org.python.proxies.gui.PreferencesFrame$PreferencesFrame$29.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.SentEvent.dispatch(Unknown Source) at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(Unknown Source) at java.awt.DefaultKeyboardFocusManager.sendMessage(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.SequencedEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Attachments (4)
Change History (23)
comment:1 by , 7 years ago
Component: | Core → Plugin scripting |
---|---|
Owner: | changed from | to
comment:2 by , 7 years ago
comment:3 by , 7 years ago
Wichtig wäre auch zu wissen:
- Welches Python-Script wird ausgeführt, wenn der Fehler auftritt?
- Wo kann man sich das Script ansehen? Ist es irgendwo öffentlich zugänglich?
comment:4 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:6 by , 7 years ago
Vielen Dank, dass ihr helfen wollt!
Dann beschreib ich mal, was ich gemacht habe.
Zu 1
- Neuste Windows-JOSM-Version installiert
- Hier das qat_script runtergeladen: http://bit.ly/17XxIu0 und gespeichert in C:\OSM\qat_script
- Quality Assurance Tools script/Installation, wie hier http://wiki.openstreetmap.org/wiki/DE:Quality_Assurance_Tools_script/Installation beschrieben.
- JOSM gestartet – Erweiterungen aktualisiert
- Start des Script – Scripting/Run/C:\OSM\qat_script\qat_script.py
- Funktioniert leider nie – Fehlermeldung Bild 1
- Irgendeinen kleinen Kartenausschnitt runtergeladen
- Start des Script – Scripting/Run/C:\OSM\qat_script\qat_script.py – ohne Fehler, ok
- Fehler runtergeladen über: QA Tools/Keep Right/Andere/mehrere Punkte an einem Fleck
- Keine Fehler von Keep Right gefunden – keine Fehlermeldung von JOSM
- Kartenausschnitt vergrößert, damit Keep Right Fehler findet
- Fehler runtergeladen über: QA Tools/Keep Right/Andere/mehrere Punkte an einem Fleck
- JOSM mit Fehlermeldung (Bild 2)
- Fehler ignorieren geklickt
- 5 Fehler wurden gefunden – aber es sind leider keine Fragezeichen an den Fehlern (Bild 3)
Die Fragezeichen sind sehr wichtig für mich um die Größe der Fläche zu sehen. Auch kann ich so erkennen ob ganze Gebäude doppelt gemappt wurden.
Zu 2
In der Version JOSM/1.5 (10966 de) war noch alles ok. Die darauf folgende Version kann die Anzeige schon nicht mehr.
Zu 3
Einfach geschlossen https://josm.openstreetmap.de/ticket/13934
Ich hoffe, dass ich nichts vergessen habe.
comment:7 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
comment:8 by , 7 years ago
Ein Fehler tritt vermutlich (nach kurzem Blick auf den Code, kenne mich aber weder mit Jython noch mit dem Script gut aus) aus folgenden Gründen auf:
- die Jython Klasse
PreferencesFrame
ingui/PreferencesFrame.py
implementiert die MethodewindowActivated()
nicht, obschon sie das sollte, wenn sie wie hier das Java-InterfaceWindowListener
implementiert - das Script sollte vermutlich entweder
WindowListener
durchWindowAdapter
ersetzen oder eine Python-Methode
def windowActivated(self, windowEvent): pass
implementieren
Ich bin aber auch nicht der Script-Author. simone-f unterhält es auf GitHub, siehe https://github.com/simone-f/qat_script. Er (oder sie) wird dir am ehesten weiterhelfen können.
comment:9 by , 7 years ago
Resolution: | → othersoftware |
---|---|
Status: | new → closed |
comment:10 by , 7 years ago
Ich hoffe nicht, dass ich tätig werden soll. Ab der Version 10966 ist JOSM so verändert worden, dass es diese Probleme gibt. Die Ursachen kenne ich nicht. Ich kann die Probleme auch nicht in englisch erklären. Sicher ist es besser, jemand von euch fragt mal an.
comment:11 by , 7 years ago
Den Dank muss ich wohl wieder zurückziehen. Eure Lösung ist ja, wie schon vermutet, einfach. Die Anderen sind schuld! Dann verschlimmbessert man weiter eure Software. Das mach keinen Spaß wenn der Anwender mit den Bugs der Programmierer leben muss und einem hier nicht geholfen wird.
comment:12 by , 7 years ago
Um es nochmal klarzustellen. Dies ist eine OpenSource-Software und Du bist bisher trotz Deiner Äußerungen sehr zuvorkommend beraten worden.
Wenn Du professionellen Support willst, kannst Du gerne dafür bezahlen. Auf Anfrage kann Dir jeder der JOSM-Entwickler bestimmt gern einen individuellen Tagessatz sagen, zu dem er sich Deiner individuellen Probleme annimmt.
Solange Du dazu nicht bereit bist gilt weiterhin, das die von den Entwicklern getroffenen Einschätzungen bindend sind. Es steht Dir jederzeit frei die Software nicht zu nutzen.
follow-up: 14 comment:13 by , 7 years ago
Ich bin "sehr zuvorkommend beraten worden"? Hm, das sehe ich leider nicht so. Das Problem besteht weiter und ihr wollt es ohne Geld nicht reparieren.
Für Geld würde jemand das Problem lösen? Interessant. Mir ist nie mitgeteilt worden, dass für Geld das Problem behoben werden kann.
Da ihr ja nicht einmal den fehlerfreien Start des Scripts in Ordnung bringen wollt (das ist nun wirklich euer Problem), glaube ich, da will jemand dieses Zusatzprogramm nicht in JOSM.
Mit dieser Aussage: "Es steht Dir jederzeit frei die Software nicht zu nutzen" habe ich jetzt auch eure Einstellung verstanden.
comment:14 by , 7 years ago
Replying to letihu@…:
Ich bin "sehr zuvorkommend beraten worden"? Hm, das sehe ich leider nicht so. Das Problem besteht weiter und ihr wollt es ohne Geld nicht reparieren.
Gubaer hat dir klar dargelegt, dass das Problem im Skript liegt und an wen Du Dich wenden sollst um es wahrscheinlich behoben zu bekommen. Das Du dies nicht akzeptieren willst ist alleine Dein Problem.
Für Geld würde jemand das Problem lösen? Interessant. Mir ist nie mitgeteilt worden, dass für Geld das Problem behoben werden kann.
Einige von uns sind auch professionelle Softwareentwickler. Klar können wir Auftragsarbeiten machen. I.d.R. teilen wir das deshalb nicht mit, weil kein Privatnutzer bereit ist die zugehörigen Kosten zu bezahlen. Du kannst Dich auch an jeden beliebigen anderen Entwickler wenden, es müssen nicht die JOSM-Entwickler sein.
follow-up: 17 comment:15 by , 7 years ago
Keywords: | github added |
---|
Habe das Problem hier gemeldet: https://github.com/simone-f/qat_script/issues/14
follow-ups: 18 19 comment:16 by , 7 years ago
One hint from me, take a look to the java version:
Identification: JOSM/1.5 (11427 de) Windows 7 64-Bit
Memory Usage: 491 MB / 989 MB (35 MB allocated, but free)
Java version: 1.8.0_121-b13, Oracle Corporation, Java HotSpot(TM) Client VM
see:
http://wiki.openstreetmap.org/wiki/Quality_Assurance_Tools_script/Installation
"Enable and configure the necessary plugins in JOSM"
The script works only with Java version 7.
http://wiki.openstreetmap.org/wiki/DE:Quality_Assurance_Tools_script/Installation
But these exception was missing on german page
comment:17 by , 7 years ago
Replying to Klumbumbus:
Habe das Problem hier gemeldet: https://github.com/simone-f/qat_script/issues/14
Vielen Dank
comment:18 by , 7 years ago
Replying to kidelo:
One hint from me, take a look to the java version:
Identification: JOSM/1.5 (11427 de) Windows 7 64-Bit
Memory Usage: 491 MB / 989 MB (35 MB allocated, but free)
Java version: 1.8.0_121-b13, Oracle Corporation, Java HotSpot(TM) Client VM
see:
http://wiki.openstreetmap.org/wiki/Quality_Assurance_Tools_script/Installation
"Enable and configure the necessary plugins in JOSM"
The script works only with Java version 7.
http://wiki.openstreetmap.org/wiki/DE:Quality_Assurance_Tools_script/Installation
But these exception was missing on german page
Das hab ich mal nachgeholt
Wenn, Du willst, dass die Probleme behoben werden, ist eine detaillierte Beschreibung mit einer schrittweisen Anleitung wichtig. Gleiches gilt für kleine Beispieldateien, um die Problem zu reproduzieren. Dadurch, dass JOSM weiterentwickelt wird, werden immer mal wieder Regressionen auftreten, vor allem in Bezug auf Plugins unter bestimmten Konstellationen.
Replying to letihu@…:
Was für Fehler? Genaue Beschreibung und eine schrittweise Anleitung fehlt !
Welche Versionen funktionieren und seit wann nicht mehr ?
Dieser Kommentar bewirkt wohl eher das Gegenteil und ist zusätzlich eine grobe Unterstellung, ansonsten hättest Du ja wohl die Fakten (Statistik) angegeben.