Opened 10 years ago

Last modified 8 years ago

#12712 closed defect

scripting: no output in plugin's console — at Version 1

Reported by: TobWen Owned by: Gubaer
Priority: normal Milestone:
Component: Plugin scripting Version: latest
Keywords: template_report github Cc:

Description (last modified by TobWen)

What steps will reproduce the problem?

  1. Load "scripting" plugin
  2. Load "jython" using scripting's GUI
  3. Switch "scripting" from JS Rhino to Python language
  4. Try to run this script: print "Hello world!"

What is the expected result?

The string "Hello world" in the log window of "scripting" plugin.

What happens instead?

No output in script's console log window.

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

See screenshot. No entry in JOSM's log.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-03-30 22:28:45 +0200 (Wed, 30 Mar 2016)
Build-Date:2016-03-31 01:32:47
Revision:10089
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10089 de) Windows 7 64-Bit
Memory Usage: 152 MB / 247 MB (41 MB allocated, but free)
Java version: 1.8.0_77-b03, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files (x86)\Java\jre1.8.0_77\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Users\Velix\AppData\Local\Temp\josm-latest-1.jnlp, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=50950, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==]
Dataset consistency test: No problems found

Plugins:
- ejml (31895)
- geotools (31895)
- jts (31772)
- log4j (31895)
- reltoolbox (31895)
- scripting (30722)
- splinex (31895)
- utilsplugin2 (32099)

Last errors/warnings:

Change History (2)

by TobWen, 10 years ago

Attachment: scripting_bug.png added

comment:1 by TobWen, 10 years ago

Description: modified (diff)
Summary: scripting with python/jython stopped workingscripting: no output in plugin's console
Note: See TracTickets for help on using tickets.