Ubuntu Pastebin

Paste from dholbach at Fri, 29 May 2015 12:01:36 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
daniel@daydream:~$ ./script.py 
bash: ./script.py: /usr/bin/python3^M: Defekter Interpreter: Datei oder Verzeichnis nicht gefunden
daniel@daydream:~$ python script.py 
Traceback (most recent call last):                                                                                                                    
  File "script.py", line 71, in <module>
    doc = md_to_html(doc_path)
  File "script.py", line 36, in md_to_html
    html = markdown.markdown(f, output_format="html5")
  File "/usr/lib/python2.7/dist-packages/markdown/__init__.py", line 494, in markdown
    return md.convert(text)
  File "/usr/lib/python2.7/dist-packages/markdown/__init__.py", line 359, in convert
    source = util.text_type(source)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 934: ordinal not in range(128). -- Note: Markdown only accepts unicode input!
daniel@daydream:~$ 
Download as text