| | 3 | |
| | 4 | |
| | 5 | From #21816: |
| | 6 | > ==== What steps will reproduce the problem? |
| | 7 | > So Windows 10 PC (not laptop). |
| | 8 | > https://josm.openstreetmap.de/wiki/Download |
| | 9 | > select josm-setup.exe |
| | 10 | > I currently don't have a username or password set up - very important as the error doesn't occur if they do. |
| | 11 | > Press Download button |
| | 12 | > Make a change, I drew a building and set the tags |
| | 13 | > Press the upload Button Upload window opens |
| | 14 | > Fill in boxes. |
| | 15 | > Press 'Upload Changes' |
| | 16 | > "Get an Access Token for 'https.....'" window opens |
| | 17 | > Type username and password, 'help' and 'me' respectively |
| | 18 | > Press Authorise now |
| | 19 | > window 'OAuth authorisation failed' opens |
| | 20 | > Press Okay On my PC this works perfectly, |
| | 21 | > so I am baffled, the key difference is the use of a mouse on the PC and the Finger Pad thing under the keyboard on the Laptop. |
| | 22 | > The only way to on the PC to get the same result is to ignore the Okay button and select the Get an Access Token window which isn't being locked. |
| | 23 | > If I try selecting the Editor I get an alarm bell and it refuses to allow me to bring the window to the front. |
| | 24 | > So the issue is simply lock the "Get an Access Token for 'https.....'" when the 'OAuth authorisation failed' window opens. |
| | 25 | > |
| | 26 | > ==== What is the expected result? |
| | 27 | > The "Get an Access Token for 'https.....'" window shouldn't be able to be selected whilst the window 'OAuth authorisation failed' is open |
| | 28 | > ==== What happens instead? |
| | 29 | > |
| | 30 | > The "Get an Access Token for 'https.....'" window hides the 'OAuth authorisation failed' window. |
| | 31 | > ==== Please provide any additional information below. Attach a screenshot if possible. |
| | 32 | > |
| | 33 | > {{{ |
| | 34 | > Revision:18360 |
| | 35 | > Build-Date:2022-01-02 23:53:33 |
| | 36 | > |
| | 37 | > Identification: JOSM/1.5 (18360 en_GB) Windows 10 64-Bit |
| | 38 | > OS Build number: Windows 10 Home 2009 (19043) |
| | 39 | > Memory Usage: 239 MB / 2036 MB (92 MB allocated, but free) |
| | 40 | > Java version: 17.0.1+12-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM |
| | 41 | > Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel |
| | 42 | > Screen: \Display0 1920×1080 (scaling 1.00×1.00) \Display1 1920×1080 (scaling 1.00×1.00) |
| | 43 | > Maximum Screen Size: 1920×1080 |
| | 44 | > Best cursor sizes: 16×16→32×32, 32×32→32×32 |
| | 45 | > System property file.encoding: Cp1252 |
| | 46 | > System property sun.jnu.encoding: Cp1252 |
| | 47 | > Locale info: en_GB |
| | 48 | > Numbers with default locale: 1234567890 -> 1234567890 |
| | 49 | > VM arguments: [-Djpackage.app-version=1.5.18360, --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.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=%UserProfile%\AppData\Local\JOSM\HWConsole.exe] |
| | 50 | > Dataset consistency test: No problems found |
| | 51 | > |
| | 52 | > Last errors/warnings: |
| | 53 | > - 00943.895 E: org.openstreetmap.josm.io.MissingOAuthAccessTokenException |
| | 54 | > - 00943.910 E: Authentication failed - <html>Failed to authenticate at the OSM server 'https://api.openstreetmap.org/api'.<br>You are using OAuth to authenticate but currently there is no<br>OAuth Access Token configured.<br>Please open the Preferences dialogue and generate or enter an Access Token.</html> |
| | 55 | > - 00963.224 E: org.openstreetmap.josm.gui.oauth.OsmOAuthAuthorizationException: Failed to authorise OAuth request 'DmK7607wGBREtgKKbg9liscqolLRBmoF7Qkbwp69' |
| | 56 | > - 00963.237 E: OAuth authorisation failed - <html>The automatic process for retrieving an OAuth Access Token<br>from the OSM server failed.<br><br>Please try again or choose another kind of authorisation process,<br>i.e. semi-automatic or manual authorisation.</html> |
| | 57 | > - 00967.858 E: org.openstreetmap.josm.gui.oauth.OsmOAuthAuthorizationException: Failed to authorise OAuth request 'IKHe1spWzZn6FXNc1RmzfzH30QXYFxPFs0u2rAhM' |
| | 58 | > - 00967.871 E: OAuth authorisation failed - <html>The automatic process for retrieving an OAuth Access Token<br>from the OSM server failed.<br><br>Please try again or choose another kind of authorisation process,<br>i.e. semi-automatic or manual authorisation.</html> |
| | 59 | > - 01287.827 E: org.openstreetmap.josm.gui.oauth.OsmOAuthAuthorizationException: Failed to authorise OAuth request 'hOL6tjpoCgQZvkEyuWqsdS0N25cHujsu9OfOrHuR' |
| | 60 | > - 01287.840 E: OAuth authorisation failed - <html>The automatic process for retrieving an OAuth Access Token<br>from the OSM server failed.<br><br>Please try again or choose another kind of authorisation process,<br>i.e. semi-automatic or manual authorisation.</html> |
| | 61 | > - 01785.018 E: org.openstreetmap.josm.io.MissingOAuthAccessTokenException |
| | 62 | > - 01785.031 E: Authentication failed - <html>Failed to authenticate at the OSM server 'https://api.openstreetmap.org/api'.<br>You are using OAuth to authenticate but currently there is no<br>OAuth Access Token configured.<br>Please open the Preferences dialogue and generate or enter an Access Token.</html> |
| | 63 | > }}} |