Giter Club home page Giter Club logo

mm2s5's Issues

Error executing mm2s5; AttributeError: 'NoneType' object has no attribute 'replace'

What steps will reproduce the problem?
1. mm2s5 doc/sample.mm
2.
3.

What is the expected output? What do you see instead?
Expect to complete the execution without error. 
But I got the error and trace back as below:
sze8060@SZ-SZE8060-YU /cygdrive/d/Programs/mm2s5-0.2.0
$ mm2s5 doc/sample.mm
Traceback (most recent call last):
  File "/usr/bin/mm2s5", line 5, in <module>
    pkg_resources.run_script('mm2s5==0.2.0', 'mm2s5')
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c5-
py2.5.egg/pkg_resources.py", line 407, in run_script
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c5-
py2.5.egg/pkg_resources.py", line 1084, in run_script
  File "/usr/lib/python2.5/site-packages/mm2s5-0.2.0-py2.5.egg/EGG-
INFO/scripts/mm2s5", line 3, in <module>
    mm2s5.mm2s5.parse_command_line()
  File "/usr/lib/python2.5/site-packages/mm2s5-0.2.0-
py2.5.egg/mm2s5/mm2s5.py", line 308, in parse_command_line
    lines = mm2s5.open(infile)
  File "/usr/lib/python2.5/site-packages/mm2s5-0.2.0-
py2.5.egg/mm2s5/mm2s5.py", line 69, in open
    lines = self.convert()
  File "/usr/lib/python2.5/site-packages/mm2s5-0.2.0-
py2.5.egg/mm2s5/mm2s5.py", line 149, in convert
    self._doList(lines, page, 0)
  File "/usr/lib/python2.5/site-packages/mm2s5-0.2.0-
py2.5.egg/mm2s5/mm2s5.py", line 242, in _doList
    lines += self._insert_line_item(text, line, depth, attribs)
  File "/usr/lib/python2.5/site-packages/mm2s5-0.2.0-
py2.5.egg/mm2s5/mm2s5.py", line 253, in _insert_line_item
    text = text.replace('<html>', '')
AttributeError: 'NoneType' object has no attribute 'replace'

sze8060@SZ-SZE8060-YU /cygdrive/d/Programs/mm2s5-0.2.0


What version of the product are you using? On what operating system?
Python 2.5.2 (r252:60911, Dec  2 2008, 09:26:14) in cygwin 1.7 with 
ElementTree 1.3 manually installed. (There is no difference of using the 
shipped ElementTree from Cygwin.)
Windows XP Professional with service pack 3

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 31 Jan 2010 at 9:46

Make better instructions

Hello,

Well, i recently found your mm2s5 project. It make me crazy !!!
This is one of the stuff we need to promote freemind/freeplane use at office 
work. Instead of commercial product we can't buy.

Trouble : i am a neewby in python (programming in fact, i'v just a little 
practice in Visual Basic and ... cobol in 1995) !!!

I'v read the README.txt but please, could you write a more complete steps to 
install and use mm2s5 ?

I want to learn how you make this and, why not, learn the language you use 
(python ?) to keep the project in live.

Thank.

--
Nolive

Original issue reported on code.google.com by [email protected] on 16 Jun 2010 at 2:38

Current freemind beta support?

What steps will reproduce the problem?
1. Download latest freemind beta (i.e. 
http://sourceforge.net/project/showfiles.php?
group_id=7118&package_id=188772)
2. Save map
3. Try mm2s5
4. Get error:
     mm2s5.mm2s5.parse_command_line()
    ....
     KeyError: 'TEXT'


What version of the product are you using? On what operating system?
* latest mm2s5 script
* running with Python 2.4 
* Mac OS X 10.4.11

Please provide any additional information below.
* Mainly just curious if anyone else has it working, before I spent time trying 
to get it working :)

Original issue reported on code.google.com by [email protected] on 29 Feb 2008 at 1:30

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.