From: John H. <jdh...@ac...> - 2004-01-30 18:05:32
|
>>>>> "Nils" == Nils Wagner <nw...@me...> writes: Nils> ~/cvs/matplotlib/htdocs> /usr/bin/python process_docs.py Nils> Converting matplotlib.afm.html to template Converting Nils> matplotlib.artist.html to template Converting Nils> matplotlib.axes.html to template Converting Nils> matplotlib.axis.html to template Converting Nils> matplotlib.backend_bases.html to template Converting Nils> matplotlib.backends.backend_gd.html to template Traceback Nils> (most recent call last): File "process_docs.py", line 28, in Nils> ? s = file('../docs/' + fname).read() IOError: [Errno 2] No Nils> such file or directory: Nils> '../docs/matplotlib.backends.backend_gd.html' Are you aware that the htdocs build the matplotlib web page, which can be found at http://matplotlib.sourceforge.net. In other words, unless you want to edit the web page docs, there is not much need to build them yourself since they are available online. If all you want is the pydoc documentation, this is online at http://matplotlib.sourceforge.net/matlab_commands.html and http://matplotlib.sourceforge.net/classdocs.html If you really want to build the html docs yourself, from your error message it looks like you do not have gd module properly installed. Can you do this? >> import matplotlib >> matplotlib.use('GD') >> from matplotlib.matlab import * If not, then GD is not installed properly and you need to follow the install instructions at http://matplotlib.sourceforge.net/backends.html#GD. You will need to have all backends working before you can build the htdocs. One last word of warning, since you are building htdocs, you are using CVS, right? CVS has undergone a lot of changes in the last 2 days, particularly the GD backend, and if you have the latest CVS version, GD won't run properly without a patched gdmodule. Stay tuned for another post with all the required info for using the latest CVS. JDH |