Modify

Opened 3 years ago

Closed 3 years ago

#22082 closed defect (duplicate)

Non-functional plugins

Reported by: map88 Owned by: team
Priority: normal Milestone:
Component: Plugin Version:
Keywords: Cc:

Description (last modified by skyper)

I followed along with the plugin installation instructions on the website exactly and can see mapillary, building tools, and a few other plugin files in ~/.local/share/JOSM/plugins. I can see these plugins being initialized when JOSM starts up. However, they don't appear in the installed list nor do they seem to add in any of their expected functionality.

Also probably worth mentioning the program was installed from the arch repos.
Status report:

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-04-04 22:26:00 +0200 (Mon, 04 Apr 2022)
Revision:18427
Build-Date:2022-04-05 01:30:55
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18427 en) Linux EndeavourOS Linux
Memory Usage: 250 MB / 3976 MB (237 MB allocated, but free)
Java version: 18.0.1.1+2, N/A, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: KDE
VM arguments: [--add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, -Djosm.restart=true]
Program arguments: [--status-report]

Plugins:
+ flatlaf

Attachments (1)

pdfimport.jar (4.3 MB ) - added by ExecutableFiles 3 years ago.
PDFimport plugin

Change History (16)

comment:1 by anonymous, 3 years ago

Stupid question: do you gave a ~/.josm directory?
If so, try renaming that.

comment:2 by map88, 3 years ago

I do not have a .josm directory.

comment:3 by ExecutableFiles, 3 years ago

I'm having the exact same issue but on Windows. The plugins are placed in the plugin folder, and they show up in the processing file list, yet they don't make any changes the plugins said they would do, nor do they show up in the installed plugins list. It may be important to note that plugins that were already installed a while before are visible and can still function after updating the plugins, but newer plugins don't show up as installed. I'm thinking it might have to do with the specific version of JOSM installed, so I'm thinking about using an earlier version of JOSM to see if that's the issue.

comment:4 by ExecutableFiles, 3 years ago

Update, I tested it on older versions and it doesn't seem to work there. Don't know if its just because its an older version and JOSM doesn't want plugins installed on that version, or if something else is going on like if the issue was server side.

comment:5 by anonymous, 3 years ago

Do you mind uploading one of the nonworking plugin jar files?

by ExecutableFiles, 3 years ago

Attachment: pdfimport.jar added

PDFimport plugin

comment:6 by ExecutableFiles, 3 years ago

The PDF import plugin is the one I personally have been trying to get working, but the same issue occurs for many other plugins

comment:7 by skyper, 3 years ago

Description: modified (diff)

comment:8 by skyper, 3 years ago

On Debian, my plugin folder is under ~/.local/share/JOSM/. Take a look at your folder settings under Installation Details under Help -> About

comment:9 by skyper, 3 years ago

Oh, I remember problem with plugins under /usr/share/JOSM/ or /usr/local/share/JOSM/ installed at the same time. See #19006.

Last edited 3 years ago by skyper (previous) (diff)

comment:10 by map88, 3 years ago

My plugins are installed in the exact same place. I just tried a few things with interesting results. Installing from apt on a Debian install which has not had any use of JOSM before ever resulted in everything being immediately functional without issue. I also just wiped JOSM from my current system and installed it using josm-tested.jar and that worked totally fine. This leads me to believe my problems have to do with the JOSM package in the arch repos? Obviously isn't my computer or JOSM seeing as both work fine.

comment:11 by GerdP, 3 years ago

The existence of a *.jar in the plugin folder only means that the plugin was downloaded. JOSM shows messages that it procsesses the existing *.jar files but it doesn't load them unless the preference says so. It has to appear in the list of installed plugins. See Preferences->Plugins and make sure to enable the wanted plugins.
When done you should find them in the preferences.xml in the list following the line <list key='plugins'>.

in reply to:  11 comment:12 by ExecutableFiles, 3 years ago

Replying to GerdP:

The existence of a *.jar in the plugin folder only means that the plugin was downloaded. JOSM shows messages that it procsesses the existing *.jar files but it doesn't load them unless the preference says so. It has to appear in the list of installed plugins. See Preferences->Plugins and make sure to enable the wanted plugins.
When done you should find them in the preferences.xml in the list following the line <list key='plugins'>.

The plugins I want installed do not show up in the preferences.xml file. Only the plugins I had previously downloaded sometime in the past are on there. Would that be the cause of the issue here?

comment:13 by GerdP, 3 years ago

Yes. Did you really install the plugins by checking the corresponding boxes in the dialog? And did you press OK to confirm that selection?
If so, you should find the plugins in the preferences.xml unless that file is write protected.

comment:14 by ExecutableFiles, 3 years ago

I did check the corresponding boxes, however my problem was clicking update plugins and exiting out instead of simply clicking OK after checking the plugins. All fixed now, thanks for the help.

comment:15 by GerdP, 3 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #20537.

Modify Ticket

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