#826 JythonInterpreter 1.0

closed
None
5
2012-04-18
2012-03-29
Alan Ezust
No

{{{ JythonInterpreter 1.0
Source: Source code is in SVN with the tag XXXX (no SVN release numbers, please)
Announcement:
Requires Java 1.6
Requires jEdit 04.04.99.01
Required plugins:
ErrorList 1.9 (errorlist.ErrorListPlugin)
SideKick 1.3 (sidekick.SideKickPlugin)
Optional plugins:
Project Viewer 3.4.2 (projectviewer.ProjectPlugin)

Short Description: The JythonInterpreter plugin embeds a Jython shell into jEdit. It adds support for macros and plugins written in Python/Jython, and a SideKick service for code browsing. Jython 2.5 is included.

Long Description: <html><body><p> The JythonInterpreter plugin embeds a Jython shell into jEdit. It adds support for macros and plugins written in Python/Jython, and a SideKick service for code browsing. Jython 2.5 is included. </p></body></html>

}}}

Discussion

  • Alan Ezust

    Alan Ezust - 2012-03-29

    Sourcecode is in SVN under tags/1.0
    Announcement: Updated for jEdit 4.4 and Jython 2.5.3b1

     
  • Jarek Czekalski

    Jarek Czekalski - 2012-04-04

    I am unable to get it running. JI dockable prints "Loading" and that's it.

    7:35:25 PM [Thread-1] [debug] JythonExecutor: Imported init
    7:35:25 PM [Thread-1] [debug] PyFunction: jython.xml: /mnt/m/temp/7/pf/jedit.04.04.settings/jython/jython.xml
    7:35:26 PM [Thread-1] [debug] JythonExecutor: Imported jiconsole
    7:35:26 PM [Thread-1] [error] JythonExecutor: Executing plugin failed jython.JythonPlugin, module jiconsole

    Linux, sun java 1.6.0.24.

     
  • Alan Ezust

    Alan Ezust - 2012-04-06

    I can not reproduce that. For me, after a brief delay, I see the dockable properly.
    Do you have enough heap space?

     
  • Townsfolk

    Townsfolk - 2012-04-09

    I am seeing this as well. The log prints this:
    [java] 1:43:17 PM [Thread-5] [error] JythonExecutor: Executing plugin failed jython.JythonPlugin, module jiconsole

    And then it stops.

    Note that I'm using a cleared out version of jEdit.. So there is no settings, no files open, etc... It's a brand new jEdit - out of the box with the jython interpreter plugin installed.

     
  • Alan Ezust

    Alan Ezust - 2012-04-10

    I get a lot of weird errors in the output initially when I start it for the first time, but since it still works after that, I guess you can ignore them.
    But it still opens the dockable after a brief pause. And it allocates 100k of heap during that time.

    Tested on a cleared out version of jEdit.
    I get this in the output:
    Jython 2.5.3b1 (2.5:5fa0a5810b25, Feb 22 2012, 12:39:02)
    [OpenJDK 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_24
    Type "copyright", "credits" or "license" for more information.
    >>>

    Here are the errors I ignored:

    10:30:10 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/home/ezust/workspace/jedit/trunk/build/jedit.jar'
    10:30:10 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/usr/lib/jvm/java-6-openjdk-common/jre/lib/resources.jar'
    10:30:10 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/rt.jar'
    10:30:12 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/jsse.jar'
    10:30:12 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/jce.jar'
    10:30:12 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/charsets.jar'
    10:30:12 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/rhino.jar'
    10:30:12 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/pulse-java.jar'
    10:30:12 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/sunjce_provider.jar'
    10:30:12 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/usr/share/java/java-atk-wrapper.jar'
    10:30:12 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/dnsns.jar'
    10:30:12 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/sunpkcs11.jar'
    10:30:12 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/localedata.jar'
    10:30:13 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/home/ezust/workspace/jedit/settings5/jars/jythonlib.jar'
    10:30:13 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/home/ezust/workspace/jedit/settings5/jars/jython.jar'
    10:30:14 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/home/ezust/workspace/jedit/settings5/jars/SideKick.jar'
    10:30:14 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/home/ezust/workspace/jedit/settings5/jars/ErrorList.jar'
    10:30:14 AM [Thread-2] [error] Thread-2: *sys-package-mgr*: processing new jar, '/home/ezust/workspace/jedit/settings5/jars/JythonInterpreter.jar'

     
  • Townsfolk

    Townsfolk - 2012-04-10

    hmm.. Weird. I see those too, but the dockable doesn't show up. It just says "Loading ..." and stays that way. I quit the application after a few minutes. Maybe it's just a problem with a fresh jEdit install? I'm fine with releasing it, if there are more issues from more users, they'll let us know. :)

     
  • Alan Ezust

    Alan Ezust - 2012-04-10

    Switching between floating and docked does nothing?

     
  • Townsfolk

    Townsfolk - 2012-04-10

    Doesn't seem to. I've attached a screenshot of it docked at the left. I also tried it with a python file open. It just hung there with Loading ... for minutes before I tried closing the dockable and reopening it. After reopening it, I just see a blank dockable.

    Note that I also tried sidekick - thinking that maybe the file needs to be parsed for the interpreter to work, and sidekick just kept reporting "file unparsed".

     
  • Alan Ezust

    Alan Ezust - 2012-04-11

    JythonInterpreter needs a new maintainer.

     
  • Alan Ezust

    Alan Ezust - 2012-04-11
    • status: open --> wont-fix-rejected
     
  • Alan Ezust

    Alan Ezust - 2012-04-11

    re-tagged plugins/JythonInterpreter/tags/1.0

     
  • Alan Ezust

    Alan Ezust - 2012-04-11
    • status: wont-fix-rejected --> open
     
  • Townsfolk

    Townsfolk - 2012-04-12

    Hey Alan, I tried it again after you retagged it. It seems to be working now. I can't reproduce the stalled loading dockable anymore.

    However, while I was doing the release, I realized that this depends on Sidekick 1.3, which has a jEdit dependency of 4.5. You have JythonInterpreter set to jEdit 4.4. I haven't tested it with the previous release of SideKick, but would you like me to downgrade the sidekick dependency, or upgrade the jEdit one?

     
  • Townsfolk

    Townsfolk - 2012-04-12
    • assigned_to: nobody --> elberry
     
  • Alan Ezust

    Alan Ezust - 2012-04-17

    It looks like the sidekick dependency was downgraded in trunk already, so I will just re-tag.

     
  • Alan Ezust

    Alan Ezust - 2012-04-17

    Actually, the 1.0 tag already depends on Sidekick 1.2 so there is nothing for me to do.

     
  • Townsfolk

    Townsfolk - 2012-04-18

    Tested with jEdit 4.4.2

     
  • Townsfolk

    Townsfolk - 2012-04-18
    • status: open --> closed
     
  • Townsfolk

    Townsfolk - 2012-04-18

    Released to Plugin Central.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks