Re: upload zope.app.exception to pypi

Jan-Wijbrand Kolman <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <501E7E7F-101B-4D21-B72D-CBD15E3B80C1%[email protected]>
Jan-Wijbrand Kolman <[email protected]> wrote:
> Baiju M <[email protected]> wrote:
>> $ ./bin/test
>> /opt/baiju/wa/z3hello/eggs/zope.testing-3.8.6-py2.6.egg/zope/testing/
> testrunner/debug.py:23:
>> DeprecationWarning: zope.testing.doctest is deprecated in favour of
>> the Python standard library doctest module
>>   from zope.testing import doctest
>> Test-module import failures:
>> 
>> Module: zope.app.exception.browser.tests.test_unauthorized
>> 
>> Traceback (most recent call last):
>>   File "/tmp/zope.app.exception/src/zope/app/exception/browser/tests/
> test_unauthorized.py",
>> line 20, in <module>
>>     import zope.app.pagetemplate.namedtemplate
>>   File "/opt/baiju/wa/z3hello/eggs/zope.app.pagetemplate-3.10.0-py2.6.egg/
> zope/app/pagetemplate/namedtemplate.py",
>> line 20, in <module>
>>     from zope.browerpage.namedtemplate import implementation
>> ImportError: No module named browerpage.namedtemplate
> 
> As it turns out, since the "release" of zope.app.exception 3.6.0 namedtemplate 
> has again been moved. It is now in zope.browserpage. However, zope.browserpage 
> is not required yet by zope.app.exception.

This has been fixed now, but now I'm stumped at this error:

16:17 jw:~/project/grokdev/z.a.exception
$ ./bin/test
/home/jw/project/grokdev/z.a.exception/eggs/zope.testing-3.8.6-py2.5.egg/zope/
testing/testrunner/debug.py:23: DeprecationWarning: zope.testing.doctest is 
deprecated in favour of the Python standard library doctest module
  from zope.testing import doctest
Running zope.app.exception.testing.AppExceptionLayer tests:
  Set up zope.app.exception.testing.AppExceptionLayer Traceback (most recent 
call last):
  File "/home/jw/project/grokdev/z.a.exception/eggs/zope.testing-3.8.6-
py2.5.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/jw/project/grokdev/z.a.exception/eggs/zope.testing-3.8.6-
py2.5.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/jw/project/grokdev/z.a.exception/eggs/zope.app.testing-3.7.3-
py2.5.egg/zope/app/testing/functional.py", line 337, in setUp
    self.config_file, product_config=self.product_config)
  File "/home/jw/project/grokdev/z.a.exception/eggs/zope.app.testing-3.7.3-
py2.5.egg/zope/app/testing/functional.py", line 226, in __init__
    setup.setUpManager()
  File "/home/jw/project/grokdev/z.a.exception/eggs/
zope.app.securitypolicy-3.5.1-py2.5.egg/zope/app/securitypolicy/browser/tests/
functional.py", line 26, in setUpManager
    functional.HTTPCaller()(grant_request, handle_errors=False)
  File "/home/jw/project/grokdev/z.a.exception/eggs/zope.app.testing-3.7.3-
py2.5.egg/zope/app/testing/functional.py", line 743, in __call__
    request = publish(request, handle_errors=handle_errors)
  File "/home/jw/project/grokdev/z.a.exception/eggs/zope.publisher-3.12.0-
py2.5.egg/zope/publisher/publish.py", line 131, in publish
    obj = request.traverse(obj)
  File "/home/jw/project/grokdev/z.a.exception/eggs/zope.publisher-3.12.0-
py2.5.egg/zope/publisher/browser.py", line 556, in traverse
    ob, add_steps = publication.getDefaultTraversal(self, ob)
  File "/home/jw/project/grokdev/z.a.exception/eggs/zope.app.publication-3.10.0-
py2.5.egg/zope/app/publication/browser.py", line 36, in getDefaultTraversal
    return ob.browserDefault(request)
Unauthorized: (<zope.browserpage.simpleviewclass.SimpleViewClass from /home/jw/
project/grokdev/z.a.exception/eggs/zope.app.securitypolicy-3.5.1-py2.5.egg/zope/
app/securitypolicy/browser/granting.pt object at 0xa6e6f8c>, 'browserDefault', 
'zope.Security')

I'm trying to figure out what has changed that could be related to this, but if 
anyone has a hint for me...

regards,
jw



_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.