Modify

Opened 4 years ago

Closed 4 years ago

#21023 closed defect (fixed)

Mapillary preferences: can't login

Reported by: pyrog Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin mapillary Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Press the "Open preferences for this panel"
  2. Press "Login"

What is the expected result?

The Mapillary website display a form to select our username and password.

What happens instead?

The form is displayed less than 1 second and the message "App not found" is displayed.

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

The default browser is Safari on macOS Big Sure.

If I copy the URL and paste it in Firefox or Chrome, the form is displayed.

Revision:17919
Build-Date:2021-06-02 20:30:01

Identification: JOSM/1.5 (17919 en_GB) Mac OS X 11.4
OS Build number: macOS 11.4 (20F71)
Memory Usage: 872 MB / 2048 MB (417 MB allocated, but free)
Java version: 16.0.1+9, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 69732928 1280×800 (scaling 2.00×2.00)
Maximum Screen Size: 1280×800
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: en_GB
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=17919, --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:
+ Mapillary (2.0.0-alpha.12.3)
+ SnapNewNodes (1557488602)
+ apache-commons (35524)
+ apache-http (35589)
+ buildings_tools (35756)
+ cadastre-fr (35758)
+ ejml (35458)
+ geotools (35458)
+ jaxb (35543)
+ jna (35662)
+ jts (35458)
+ opendata (35640)
+ photo_geotagging (35738)
+ photoadjust (35770)
+ scripting (30798)
+ utilsplugin2 (35691)

Tagging presets:
+ https://raw.githubusercontent.com/OpenNauticalChart/josm/master/INT-1-preset.xml

Map paint styles:
- ${HOME}/Downloads/Styles_ColourGPSData-style.mapcss

Last errors/warnings:
- 00039.857 E: Failed to locate image 'regulatory--dual-lanes-cyclists-and-pedestrians--g1'
- 00041.264 E: Failed to locate image 'regulatory--texts--g1'
- 00041.266 E: Failed to locate image 'regulatory--texts--g2'
- 00041.567 E: Failed to locate image 'void--car-mount'
- 00041.569 E: Failed to locate image 'void--dynamic'
- 00041.571 E: Failed to locate image 'void--ego-vehicle'
- 00041.572 E: Failed to locate image 'void--ground'
- 00041.586 E: Failed to locate image 'void--static'
- 00041.901 E: Failed to locate image 'warning--kangaroo-crossing--g1'
- 07036.143 W: java.net.BindException: Address already in use

Attachments (1)

App not found.png (1.1 MB ) - added by pyrog 4 years ago.

Download all attachments as: .zip

Change History (4)

by pyrog, 4 years ago

Attachment: App not found.png added

comment:1 by pyrog, 4 years ago

Same issue under Linux with Firefox

comment:2 by taylor.smock, 4 years ago

This is because Mapillary changed their login/auth flow. For example, it looks like the OAuth2 flow that the plugin used to use is no longer supported.

I don't have all the information I need yet to fix this. Some people independently reported it on the GitHub ( https://github.com/JOSM/Mapillary/issues/183 ) -- thanks for reporting it here, I actually get emails from JOSM trac. :)

I've tried going through the OAuth2 workflow manually and with a library, but neither worked. I'm waiting on examples from Mapillary before I poke them (I'm assuming that they've got some fires to put out, and logging in isn't terribly critical anymore). Or I don't have any APIs that can only be used by logged-in users anyway. Yet.

comment:3 by taylor.smock, 4 years ago

Resolution: fixed
Status: newclosed

This specific issue should now be fixed.
https://github.com/JOSM/Mapillary/releases/tag/v2.0.0-alpha.22

Notes:

  • It requires a client secret, which I did *not* check in to source code, and the code may change in the future, requiring the user to log in again.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain taylor.smock.
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.