[Stackless] problem with Plone (in Zope) and stackless python
Serge Renfer
serge.renfer at edu.ge.ch
Wed Oct 20 08:42:06 CEST 2004
Hello,
I'm very interested in slp because we are running a zope site for
colleges in Geneva on Sun machines. We have quite a lot of problems
with "threading" incompatibilities between Solaris (8) and python
threading.
I'm exploring slp to pass over these problems.
With slp 3, I'v had no problem to compile Zope (2.7.2), but the problem
comes with the Plone component (the PlacelessTranslationService,
exactly)
I've tried it on my Mac OSX and I stumble on the same place as with
Solaris:
------
2004-10-19T10:55:14 ERROR(200) Zope Could not import
Products.PlacelessTranslationService
Traceback (most recent call last):
File
"/Users/serge/slp/zope/Zope-2.7.2-0/lib/python/OFS/Application.py",
line 660, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File
"/Users/serge/slp/zope/Zope-2.7.2-0/Products/
PlacelessTranslationService/__init__.py", line 33, in ?
from PlacelessTranslationService import
PlacelessTranslationService, PTSWrapper
File
"/Users/serge/slp/zope/Zope-2.7.2-0/Products/
PlacelessTranslationService/PlacelessTranslationService.py", line 33,
in ?
from GettextMessageCatalog import BrokenMessageCatalog,
GettextMessageCatalog, translationRegistry, getMessage
File
"/Users/serge/slp/zope/Zope-2.7.2-0/Products/
PlacelessTranslationService/GettextMessageCatalog.py", line 87, in ?
class BrokenMessageCatalog(Persistent, Implicit, Traversable, Tabs):
File
"/Users/serge/slp/zope/Zope-2.7.2-0/Products/
PlacelessTranslationService/GettextMessageCatalog.py", line 173, in
BrokenMessageCatalog
index_html = ptFile('index_html', globals(), 'www',
'catalog_broken')
File
"/Users/serge/slp/zope/Zope-2.7.2-0/Products/
PlacelessTranslationService/GettextMessageCatalog.py", line 62, in
ptFile
filename = os.path.join(*filename)
File "/Users/serge/slp/local/lib/python2.3/posixpath.py", line 62, in
join
elif path == '' or path.endswith('/'):
AttributeError: 'stackless.modict' object has no attribute 'endswith'
Traceback (most recent call last):
File
"/Users/serge/slp/zope/Zope-2.7.2-0/lib/python/Zope/Startup/run.py",
line 50, in ?
run()
File
"/Users/serge/slp/zope/Zope-2.7.2-0/lib/python/Zope/Startup/run.py",
line 19, in run
start_zope(opts.configroot)
File
"/Users/serge/slp/zope/Zope-2.7.2-0/lib/python/Zope/Startup/
__init__.py", line 51, in start_zope
starter.startZope()
File
"/Users/serge/slp/zope/Zope-2.7.2-0/lib/python/Zope/Startup/
__init__.py", line 230, in startZope
Zope.startup()
File
"/Users/serge/slp/zope/Zope-2.7.2-0/lib/python/Zope/__init__.py", line
47, in startup
_startup()
File
"/Users/serge/slp/zope/Zope-2.7.2-0/lib/python/Zope/App/startup.py",
line 45, in startup
OFS.Application.import_products()
File
"/Users/serge/slp/zope/Zope-2.7.2-0/lib/python/OFS/Application.py",
line 637, in import_products
import_product(product_dir, product_name, raise_exc=debug_mode)
File
"/Users/serge/slp/zope/Zope-2.7.2-0/lib/python/OFS/Application.py",
line 660, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File
"/Users/serge/slp/zope/Zope-2.7.2-0/Products/
PlacelessTranslationService/__init__.py", line 33, in ?
from PlacelessTranslationService import
PlacelessTranslationService, PTSWrapper
File
"/Users/serge/slp/zope/Zope-2.7.2-0/Products/
PlacelessTranslationService/PlacelessTranslationService.py", line 33,
in ?
from GettextMessageCatalog import BrokenMessageCatalog,
GettextMessageCatalog, translationRegistry, getMessage
File
"/Users/serge/slp/zope/Zope-2.7.2-0/Products/
PlacelessTranslationService/GettextMessageCatalog.py", line 87, in ?
class BrokenMessageCatalog(Persistent, Implicit, Traversable, Tabs):
File
"/Users/serge/slp/zope/Zope-2.7.2-0/Products/
PlacelessTranslationService/GettextMessageCatalog.py", line 173, in
BrokenMessageCatalog
index_html = ptFile('index_html', globals(), 'www',
'catalog_broken')
File
"/Users/serge/slp/zope/Zope-2.7.2-0/Products/
PlacelessTranslationService/GettextMessageCatalog.py", line 62, in
ptFile
filename = os.path.join(*filename)
File "/Users/serge/slp/local/lib/python2.3/posixpath.py", line 62, in
join
elif path == '' or path.endswith('/'):
AttributeError: 'stackless.modict' object has no attribute 'endswith'
Has anyone a clue to let me install the whole zope setup to test slp in
our case?
Thank you in advance!
serge
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless
More information about the Stackless
mailing list