Coder Social home page Coder Social logo

opmltomm's People

Contributors

adxsoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

robinrowe

opmltomm's Issues

Not directly related to OPMLtoMM, but Jython ... refreshing/reloading Jython scripts

Firstly, thank you very much for writing the instructions for executing Jython scripts within Freeplane. They work.

Unfortunately, Freeplane doesn't seem to refresh what it thinks the contents of a .py file is unless you bounce the Freeplane App (I'm using macOS SIerra running the latest stable Freeplane -- 1.5.21 using the embedded JRS 1.8.0_131).

I know that I can do some groovy trickery and use PythonInterpreter.execfile('/abspath/to/script'), but that seems hokey, and then I need two scripts for each Python script (the .groovy wrapper and the actual .py script).

Do you know how to force Freeplane or Jython to 'refresh' what it thinks is the contents of the script file? Much thanks!

i have a big opml file , it show this:

Traceback (most recent call last):
File "opmltomm.py", line 288, in
main()
File "opmltomm.py", line 284, in main
opml2mm.convert_to_mm(input_opml_file,output_mm_file)
File "opmltomm.py", line 186, in convert_to_mm
self.nodetree[depth] = ET.SubElement(self.nodetree[depth-1], "node",attrib=attributes)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 530, in SubElement
element = parent.makeelement(tag, attrib)
AttributeError: 'str' object has no attribute 'makeelement'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.