On Tue, Nov 9, 2010 at 10:49 AM, Jerry <jerryji1...@gmail.com> wrote:
> Thanks Gael, but with repoze.sphinx.autointerface I still have the
> same AttributeError's and a new missing theme --
>
> AttributeError: 'PkgResourceTemplateLookup' object has no attribute
> '_check'
> ...
> Theme error:
> no theme named 'pylons' found (missing theme.conf?)
>
> Jerry

I ran into this also. My guess is the pylons theme is missing, but in
the mean time you can work around it by using the default theme.

Robert

diff --git a/docs/conf.py b/docs/conf.py
index 88cf077..8a57eb6 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -104,7 +104,8 @@ add_module_names = False
 # Add and use Pylons theme
 sys.path.append(os.path.abspath('_themes'))
 html_theme_path = ['_themes']
-html_theme = 'pylons'
+#html_theme = 'pylons'
+html_theme = 'default'

 # The style sheet to use for HTML and HTML Help pages. A file of that name
 # must exist either in Sphinx' static/ path, or in one of the custom paths


> On Nov 9, 4:55 pm, Gael Pasgrimaud <g...@gawel.org> wrote:
>> On Tue, Nov 9, 2010 at 9:52 AM, Jerry <jerryji1...@gmail.com> wrote:
>> > Hi,
>>
>> > My pyramid sphinx doc build has failed ( complete log
>> >http://pylonshq.com/pasties/922d72021163f69e98a344e90cb39cf8) --
>>
>> > ERROR: test_get_template_resource_spec_with_filesystem_checks
>> > (pyramid.tests.test_mako_templating.TestPkgResourceTemplateLookup)
>> > ----------------------------------------------------------------------
>> > Traceback (most recent call last):
>> >  File "/home/jerryj/git/pyramid/pyramid/tests/
>> > test_mako_templating.py", line 221, in
>> > test_get_template_resource_spec_with_filesystem_checks
>> >    result = inst.get_template('pyramid.tests:fixtures/
>> > helloworld.mak')
>> >  File "/home/jerryj/git/pyramid/pyramid/mako_templating.py", line 41,
>> > in get_template
>> >    return self._check(uri, self._collection[uri])
>> > AttributeError: 'PkgResourceTemplateLookup' object has no attribute
>> > '_check'
>>
>> > ----------------------------------------------------------------------
>> > Ran 1185 tests in 4.574s
>>
>> > FAILED (errors=4)
>>
>> > Extension error:
>> > Could not import extension repoze.sphinx.autointerface (exception: No
>> > module named sphinx.autointerface)
>> > make: *** [html] Error 1
>>
>> > Any tip will be much appreciated.
>>
>> Look like you need to 
>> installhttp://pypi.python.org/pypi/repoze.sphinx.autointerface
>>
>> --
>> Gael
>>
>> > Jerry
>>
>> > On Nov 9, 3:29 am, Gael Pasgrimaud <g...@gawel.org> wrote:
>> >> Hi,
>>
>> >> On Mon, Nov 8, 2010 at 8:20 PM, Rob Smallshire <rob...@smallshire.org.uk> 
>> >> wrote:
>> >> > Hello,
>>
>> >> > Is the documentation for Pyramid available for download in a form
>> >> > suitable for offline reading, such as in a zip archive of the HTML or
>> >> > PDF?
>>
>> >> > The best I've found so far is to download the web site with,
>>
>> >> >    wget --convert-links --mirror -e 
>> >> > robots=offhttp://docs.pylonshq.com/pyramid/dev/
>>
>> >> > which works fine for me, but seems like a roundabout solution.
>>
>> >> Look like the source (including sphinx docs) is on 
>> >> github:https://github.com/Pylons/pyramid/tree/master/docs/
>>
>> >> > Good luck with Pyramid!
>>
>> >> > Rob
>>
>> >> > --
>> >> > You received this message because you are subscribed to the Google 
>> >> > Groups "pylons-devel" group.
>> >> > To post to this group, send email to pylons-de...@googlegroups.com.
>> >> > To unsubscribe from this group, send email to 
>> >> > pylons-devel+unsubscr...@googlegroups.com.
>> >> > For more options, visit this group 
>> >> > athttp://groups.google.com/group/pylons-devel?hl=en.
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "pylons-devel" group.
>> > To post to this group, send email to pylons-de...@googlegroups.com.
>> > To unsubscribe from this group, send email to 
>> > pylons-devel+unsubscr...@googlegroups.com.
>> > For more options, visit this group 
>> > athttp://groups.google.com/group/pylons-devel?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "pylons-devel" group.
> To post to this group, send email to pylons-de...@googlegroups.com.
> To unsubscribe from this group, send email to 
> pylons-devel+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/pylons-devel?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-de...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to