Python Script 1.0.4

  • Dave Brotherstone

    Couple of issues resolved since 1.0.2. Thanks to Cyrillev, Kyrus86 and Ron Jenson for reporting issues.

    • Fixed crash bug with Notepad.runPluginCommand()
    • Fixed issue in Python with complex numbers (abs, hypot would never return)

    This updates the Python27.dll, and the libs (all the .pyd files), so either use the MSI or ensure that you update all files from the zips.

    Thanks again to everybody who's tested the releases since 1.0. If nothing is reported over the next few days, we should be OK to push it up to plugin manager.


  • Dieter Koessl

    Dieter Koessl - 2014-04-22

    notepad.prompt() crashes the editor.

    notepad++: v6.5.5
    PythonScript: v1.0.4, v1.0.2, v1.0.1

    Start the console and at the prompt type:
    notepad.prompt("1", "2")
    Enter something or leave the box blank. Now click OK. Bang.

    It also happens when all other plugins are disabled. If you replace
    PythonScript.dll with the old 0.9.2 version the UAE doesn't happen.

    I also ran the editor from within Delphi (RAD Studio XE4 to be specific)
    using one of my plugins. The crash gets trapped in function PyObject_Call
    at a "inc dword ptr [eax+0c]" instruction. eax is zero. Looks like a null
    pointer reference.

    Hope this helps.

  • Dave Brotherstone

    Confirmed. Sorry there's still issues. Thanks for reporting. The error was quite trivial - sadly it's obviously quite a tricky function to unit test, hence there aren't any tests for it.

    Release coming shortly (not sure if I'll manage it today though).

    Thanks again, and sorry that we're still getting issues like this.



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

Sign up for the SourceForge newsletter:

No, thanks