Ok, looks like I was barking up the wrong tree. Please undo the fix
to revert to what you had prior to implementing my suggestion. It's
time for me to wave the white flag here--anyone else have an idea?
- Kamal
On Dec 15, 2005, at 1:39 PM, Qass wrote:
Hi:
I changed the import line as you suggested and this is the error I get
when I run zopectl start:
. Traceback (most recent call last):
File "/opt/zope-2.8.4/lib/python/zdaemon/zdrun.py", line 719, in ?
main()
File "/opt/zope-2.8.4/lib/python/zdaemon/zdrun.py", line 716, in
main
d.main(args)
File "/opt/zope-2.8.4/lib/python/zdaemon/zdrun.py", line 243, in
main
self.run()
File "/opt/zope-2.8.4/lib/python/zdaemon/zdrun.py", line 256, in run
self.opensocket()
File "/opt/zope-2.8.4/lib/python/zdaemon/zdrun.py", line 278, in
opensocket
sock.bind(tempname)
File "<string>", line 1, in bind
socket.error: (2, 'No such file or directory')
Is fixing this going to fix the "Plone Site" problem of it not showing
up in the ZMI/Control Panel/Products listing?
Thanks again for your help.
Q
On 12/15/05, Kamal Gill <[EMAIL PROTECTED]> wrote:
Hmm. Based on your zopectl fg output, I took a closer look at
Products/validation/service.py, which imports IValidator from
Products/validation/interfaces/IValidator.py, which attempts to
import Interface and Attribute from (I think) <Zope_ROOT>/lib/python/
Interface
In <ZOPE_ROOT>/lib/python/Interface, I see an Attribute.py, but I
*don't* see an Interface.py, although there's an IInterface.py.
I'm curious to learn what would happen if you change the first line
of Products/validation/interfaces/IValidator.py to the following
(note the change from Interface to IInterface). If you decide to try
this, please backup your file before making the changes. ;-)
from interface import IInterface, Attribute
I'm also curious about why that import works on my Zope instance when
I have no clue where Interface.py is imported from.
- Kamal
On Dec 15, 2005, at 9:58 AM, Qass wrote:
zopectl fg gives the following errors:
Traceback (most recent call last):
File "/opt/zope-2.8.4/lib/python/OFS/Application.py", line 695, in
import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/home/blah/zope/Products/ATContentTypes/__init__.py", line
41, in ?
from Products.Archetypes.public import process_types
File "/home/blah/zope/Products/Archetypes/__init__.py", line 55,
in ?
import Products.validation
File "/home/blah/zope/Products/validation/__init__.py", line 1,
in ?
from config import validation
File "/home/blah/zope/Products/validation/config.py", line 24,
in ?
initialize(validation)
File "/home/blah/zope/Products/validation/validators/__init__.py",
line 22, in initialize
service.register(validator)
File "/home/blah/zope/Products/validation/service.py", line 35,
in register
if not IValidator.isImplementedBy(validator):
AttributeError: class IValidator has no attribute 'isImplementedBy'
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup