Adding images gives error

aragonnette avatararagonnette created an issue

i am trying to add image as tutorial like

.. image:: test.png


.. figure:: test.png

but when i want to add it was giving

Exception occurred:
  File "/usr/lib/python2.6/", line 70, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 15: ordinal not in range(128)
The full traceback has been saved in /tmp/sphinx-err-sicMkg.log, if you want to report the issue to the developers.

and in traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/sphinx/cmd", line 188, in main, filenames)
  File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/sphinx/app", line 207, in build
  File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/sphinx/bui
lders/", line 198, in build_update
    'out of date' % len(to_build))
  File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/sphinx/bui
lders/", line 218, in build
    purple, length):
  File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/sphinx/bui
lders/", line 120, in status_iterator
    for item in iterable:
  File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/sphinx/env", line 519, in update_generator
    self.read_doc(docname, app=app)
  File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/sphinx/", line 672, in read_doc
    self.process_images(docname, doctree)
  File "/usr/local/lib/python2.6/dist-packages/Sphinx-1.0.7-py2.6.egg/sphinx/", line 852, in process_images
    if not os.access(path.join(self.srcdir, imgpath), os.R_OK):
  File "/usr/lib/python2.6/", line 70, in join
    path += '/' + b

pls help me how can i solve this ... am i upgrade or else

Comments (4)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.