Modify

Opened 4 years ago

Closed 4 years ago

#19893 closed defect (fixed)

Error when trying to upload images to Mapillary (with Mapillary plugin), continued

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

Description

This is very similar to the defect described in #19671. However, the stack trace shows a different error message, so I created a new ticket.

What steps will reproduce the problem?

The steps are described in:
https://wiki.openstreetmap.org/wiki/JOSM/Plugins/Mapillary#Upload_images_from_a_.22GeoImage_layer.22_to_mapillary.com

What is the expected result?

The images are uploaded to Mapillary.

What happens instead?

An error message: "An unexpected exception occurred." See attachment.

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

Both JOSM and the Mapillary plugin are up to date.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-10-03 13:42:38 +0200 (Sat, 03 Oct 2020)
Revision:17084
Build-Date:2020-10-04 01:30:47
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (17084 en) Linux Ubuntu 20.04.1 LTS
Memory Usage: 488 MB / 1962 MB (151 MB allocated, but free)
Java version: 11.0.8+10-post-Ubuntu-0ubuntu120.04, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1600x900 (scaling 1.0x1.0), :0.1 1920x1080 (scaling 1.0x1.0)
Maximum Screen Size: 1920x1080
Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32
Desktop environment: ubuntu:GNOME
Java package: openjdk-11-jre:amd64-11.0.8+10-0ubuntu1~20.04
Java ATK Wrapper package: libatk-wrapper-java:all-0.37.1-1
fonts-noto: fonts-noto:-
VM arguments: [--add-modules=java.scripting,java.sql, -Djosm.restart=true, -Djava.net.useSystemProxies=true, -Dawt.useSystemAAFontSettings=on, -Dswing.aatext=true]
Dataset consistency test: No problems found

Plugins:
+ ElevationProfile (35444)
+ Mapillary (1.5.25)
+ apache-commons (35524)
+ apache-http (35092)
+ ejml (35313)
+ geotools (35169)
+ javafx-unixoid (35458)
+ jaxb (35092)
+ jna (35092)
+ jts (35122)
+ opendata (35513)
+ pbf (35446)
+ photo_geotagging (35499)
+ photoadjust (35405)
+ utilsplugin2 (35487)

Last errors/warnings:
- 00005.384 E: java.lang.UnsatisfiedLinkError: <josm.userdata>/plugins/javafx/libfxplugins.so: libgstreamer-lite.so: cannot open shared object file: No such file or directory
- 00005.393 E: java.lang.UnsatisfiedLinkError: <josm.userdata>/plugins/javafx/libavplugin-ffmpeg-57.so: libgstreamer-lite.so: cannot open shared object file: No such file or directory
- 00005.398 E: java.lang.UnsatisfiedLinkError: <josm.userdata>/plugins/javafx/libavplugin-54.so: libgstreamer-lite.so: cannot open shared object file: No such file or directory
- 00005.402 E: java.lang.UnsatisfiedLinkError: <josm.userdata>/plugins/javafx/libavplugin-56.so: libgstreamer-lite.so: cannot open shared object file: No such file or directory
- 00005.408 E: java.lang.UnsatisfiedLinkError: <josm.userdata>/plugins/javafx/libavplugin-ffmpeg-56.so: libavcodec-ffmpeg.so.56: cannot open shared object file: No such file or directory
- 00335.634 W: Invalid Mapillary token, resetting field: java.io.FileNotFoundException: https://a.mapillary.com/v2/me/uploads/secrets?client_id=UTZhSnNFdGpxSEFFREUwb01GYzlXZzpjNGViMzQxMTIzMjY0MjZm
- 00336.390 E: Handled by bug report queue: java.lang.IllegalArgumentException
- 00635.378 E: Thread main-worker-0 raised java.lang.IllegalStateException: Can't obtain secrents from user
- 00635.380 E: Handled by bug report queue: java.lang.IllegalStateException: Can't obtain secrents from user
- 00698.330 W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>apache-commons</li><li>photoadjust</li><li>geotools</li><li>opendata</li><li>ElevationProfile</li><li>jts</li><li>Mapillary</li><li>ejml</li><li>jaxb</li><li>utilsplugin2</li><li>pbf</li><li>javafx-unixoid</li><li>photo_geotagging</li><li>jna</li><li>apache-http</li></ul>The plugins are not going to be loaded.</html>


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: pool-5-thread-1 (137)
java.lang.IllegalArgumentException
	at org.openstreetmap.josm.plugins.mapillary.oauth.UploadUtils.uploadFile(UploadUtils.java:275)
	at org.openstreetmap.josm.plugins.mapillary.oauth.UploadUtils.upload(UploadUtils.java:235)
	at org.openstreetmap.josm.plugins.mapillary.oauth.UploadUtils$SequenceUploadRunnable.lambda$run$1(UploadUtils.java:109)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)

Attachments (1)

Screenshot_MapillaryPlugin.png (23.5 KB ) - added by ggrab 4 years ago.

Download all attachments as: .zip

Change History (3)

by ggrab, 4 years ago

comment:1 by simon04, 4 years ago

Component: CorePlugin mapillary
Owner: changed from team to taylor.smock

comment:2 by taylor.smock, 4 years ago

Resolution: fixed
Status: newclosed

Fixed in e1b4c90e396977c49188111dbd274de665d29b88. This also required an API update, so please let me know if things are broken. I did test, but there may be corner cases.

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.