[Zope-dev] Bug Report + Solution.

Yuan-Chen Cheng ycheng@oss.sinica.edu.tw
Wed, 28 Aug 2002 20:16:47 +0800


I did try to put it there.

I didn't have account there.

What I got is: (sorry for the mass as I cut and paster from mozilla)

 -------------------------------------------------------------------

Site Error

An error was encounter while publishing this resource.
 You are not authorized to access addFile.

 Traceback (innermost last):
File /usr/local/Zope/Zope-2.4/lib/python/ZPublisher/Publish.py, line 223, in publish_module
File /usr/local/Zope/Zope-2.4/lib/python/ZPublisher/Publish.py, line 187, in publish
File /usr/local/Zope/Zope-2.4/lib/python/ZPublisher/Publish.py, line 171, in publish
 File /usr/local/Zope/Zope-2.4/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: collector_add_issue) File /usr/local/Zope/Zope-2.4/lib/python/ZPublisher/Publish.py, line 112, in call_object
	           (Object: collector_add_issue)
File /usr/local/Zope/Zope-2.4/lib/python/Shared/DC/Scripts/Bindings.py, line 324, in __call__
		         (Object: collector_add_issue)
File /usr/local/Zope/Zope-2.4/lib/python/Shared/DC/Scripts/Bindings.py, line 354, in _bindAndExec
		       (Object: collector_add_issue)
File /usr/local/Zope/Collector/Products/CMFCore/FSPythonScript.py, line 115, in _exec
				     (Object: collector_add_issue)
				         (Info: ({'script':
					 <FSPythonScript instance at
					 8a78d88>, 'context': <Collector
					 'Zope' (545 issues) at
					 0xa228a10>, 'container':
					 <CMFSite instance at 9f5f340>,
					 'traverse_subpath': []},
					 ("TreeTag doesn't take care
					 virtual host monster", '',
					 'ycheng@slat.org', 'Zope',
					 'medium', 'bug+solution', "When
					 use virtual host monster, some
					 image in tree\ntag won't appear
					 in the way they should
					 be.\n\nYou can try something
					 like:\n\n   map root of zope
					 sya\n\n   http://aaa.bbb:8080/
					 (use zope)\n\n   to\n\n
					 http://aaa.bbb/abc/\n\n   (use
					 apache + virtual host
					 monster)\n\n   and then
					 goto\n\n
					 http://aaa.bbb/abc/manage\n\nthe
					 patch is attached.", '2.5.1'),
					 {}, None))
					   File Script (Python), line
					   17, in collector_add_issue
					     File
					     /usr/local/Zope/Collector/Products/CMFCollector/Collector.py,
					     line 206, in add_issue
					         (Object: Zope)
						   File
						   /usr/local/Zope/Collector/Products/CMFCollector/CollectorIssue.py,
						   line 778, in
						   addCollectorIssue
						       (Object: Zope)
						         File
							 /usr/local/Zope/Collector/Products/CMFCollector/CollectorIssue.py,
							 line 363, in
							 do_action
							     (Object:
							     545)
							       File
							       /usr/local/Zope/Collector/Products/CMFCollector/CollectorIssue.py,
							       line 537,
							       in
							       _process_file
							           (Object:
								   545)
								     File
								     /usr/local/Zope/Collector/Products/CMFCollector/CollectorIssue.py,
								     line
								     545,
								     in
								     _add_artifact
								         (Object:
									 545)
									   File
									   /usr/local/Zope/Collector/Products/CMFCore/PortalFolder.py,
									   line
									   335,
									   in
									   invokeFactory
									       (Object:
									       545)
									         File
										 /usr/local/Zope/Collector/Products/CMFCore/TypesTool.py,
										 line
										 695,
										 in
										 constructContent
										     (Object:
										     portal_types)
										       File
										       /usr/local/Zope/Collector/Products/CMFCore/TypesTool.py,
										       line
										       412,
										       in
										       constructInstance
										           (Object:
										   File)
										File /usr/local/Zope/Collector/Products/CMFCore/TypesTool.py, line 386, in _getFactoryMethod (Object: File)
File /usr/local/Zope/Zope-2.4/lib/python/AccessControl/SecurityManager.py, line 149, in validate
File /usr/local/Zope/Zope-2.4/lib/python/AccessControl/ZopeSecurityPolicy.py, line 229,
in validate Unauthorized: (see above) Troubleshooting Suggestions

* The * URL * may * be * incorrect.
* The * parameters * passed * to * this * resource * may * be * incorrect.  * A * resource * that * this * resource * relies * on * may * be * encountering * an * error.
For more detailed information about the error, please refer to the HTML source for this page.
If the error persists please contact the site maintainer.  Thank you for your patience. 

------------------------------------------------------


On Wed, Aug 28, 2002 at 12:08:17PM +0100, Chris Withers wrote:
> Please put this in the collector so it doesn't get lost:
> 
> http://collector.zope.org/Zope
> 
> cheers,
> 
> Chris