Modify

Opened 2 years ago

Last modified 2 years ago

#12712 new defect

scripting: no output in plugin's console window

Reported by: TobWen Owned by: Gubaer
Priority: normal Milestone:
Component: Plugin scripting Version: latest
Keywords: template_report 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 plugin's own console log window. Output in JAVA console works, but Normally, people don't see JAVA's console anymore. This might lead into confusion.

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

See screenshot. No error 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:

Attachments (1)

scripting_bug.png (13.2 KB) - added by TobWen 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by TobWen

Attachment: scripting_bug.png added

comment:1 Changed 2 years ago by TobWen

Description: modified (diff)
Summary: scripting with python/jython stopped workingscripting: no output in plugin's console

comment:2 Changed 2 years ago by TobWen

Description: modified (diff)
Summary: scripting: no output in plugin's consolescripting: no output in plugin's console window

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Gubaer.
as The resolution will be set.
to The owner will be changed from Gubaer to the specified user.
The owner will change to TobWen
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from Gubaer to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.