Install problem solved... but 2.0 squishdot problems..
Ok, I figured out the problem.. Zope is smarter than I was and decided that I shouldn't be using root as the account to run under, so started as nobody.. Unfortunatly, nobody didn't have the rights it needed. Creating a zope account and running it under that made things work much better. Now.. of course, the day I go out of my way to install zope, version 2.0 comes out.. so I decide I should upgrade now before I get comfortable with my current version.. So zope 2.0 installs fine, but when trying to create a new squishdot site, I get the following error: Traceback (innermost last): File /home/nicp/zope2/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /home/nicp/zope2/lib/python/ZPublisher/Publish.py, line 179, in publish File /home/nicp/zope2/lib/python/Zope/__init__.py, line 201, in zpublisher_exception_hook (Object: ElementWithAttributes) File /home/nicp/zope2/lib/python/ZPublisher/Publish.py, line 165, in publish File /home/nicp/zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addSquishdot) File /home/nicp/zope2/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: manage_addSquishdot) File /home/nicp/zope2/lib/python/Products/Squishdot/Squishdot.py, line 1487, in manage_addSquishdot (Object: ElementWithAttributes) File /home/nicp/zope2/lib/python/Products/Squishdot/Squishdot.py, line 480, in __init__ (Object: ElementWithAttributes) File /home/nicp/zope2/lib/python/Products/Squishdot/Squishdot.py, line 230, in addArt (Object: ElementWithAttributes) File /home/nicp/zope2/lib/python/Products/Squishdot/Squishdot.py, line 796, in addPosting (Object: ElementWithAttributes) File /home/nicp/zope2/lib/python1.5/regsub.py, line 38, in gsub AttributeError: (see above) I've read about the fix needed to TinyTable in order to make Squishdot work with the new Zope's, and I edited the file as needed, but I still get the error. I suspect I need to recompile the TinyTable.py file (into a .pyc?), but I've never worked with Python before, so I don't know how.. Can anybody give me a quick hand again? BTW.. The initial impressions once I got Squishdot going on the older version of Zope are very good.. I'm really impressed with it! Kudos to all that have contributed to it. -Nic
You need to apply this patch to Squishdot.py to get it to work with Zope 2.0. Good Luck! Nick Garcia | ngarcia@codeit.com CodeIt Computing | http://codeit.com On Wed, 1 Sep 1999, Nicolas Pottier wrote:
Ok, I figured out the problem.. Zope is smarter than I was and decided that I shouldn't be using root as the account to run under, so started as nobody.. Unfortunatly, nobody didn't have the rights it needed. Creating a zope account and running it under that made things work much better.
Now.. of course, the day I go out of my way to install zope, version 2.0 comes out.. so I decide I should upgrade now before I get comfortable with my current version..
So zope 2.0 installs fine, but when trying to create a new squishdot site, I get the following error:
Traceback (innermost last): File /home/nicp/zope2/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /home/nicp/zope2/lib/python/ZPublisher/Publish.py, line 179, in publish File /home/nicp/zope2/lib/python/Zope/__init__.py, line 201, in zpublisher_exception_hook (Object: ElementWithAttributes) File /home/nicp/zope2/lib/python/ZPublisher/Publish.py, line 165, in publish File /home/nicp/zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addSquishdot) File /home/nicp/zope2/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: manage_addSquishdot) File /home/nicp/zope2/lib/python/Products/Squishdot/Squishdot.py, line 1487, in manage_addSquishdot (Object: ElementWithAttributes) File /home/nicp/zope2/lib/python/Products/Squishdot/Squishdot.py, line 480, in __init__ (Object: ElementWithAttributes) File /home/nicp/zope2/lib/python/Products/Squishdot/Squishdot.py, line 230, in addArt (Object: ElementWithAttributes) File /home/nicp/zope2/lib/python/Products/Squishdot/Squishdot.py, line 796, in addPosting (Object: ElementWithAttributes) File /home/nicp/zope2/lib/python1.5/regsub.py, line 38, in gsub AttributeError: (see above)
I've read about the fix needed to TinyTable in order to make Squishdot work with the new Zope's, and I edited the file as needed, but I still get the error. I suspect I need to recompile the TinyTable.py file (into a .pyc?), but I've never worked with Python before, so I don't know how..
Can anybody give me a quick hand again?
BTW.. The initial impressions once I got Squishdot going on the older version of Zope are very good.. I'm really impressed with it! Kudos to all that have contributed to it.
-Nic
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
Thanks! This did the trick (without the other patch).. -Nic Nick Garcia wrote:
You need to apply this patch to Squishdot.py to get it to work with Zope 2.0.
Good Luck!
Nick Garcia | ngarcia@codeit.com CodeIt Computing | http://codeit.com
participants (2)
-
Nick Garcia -
Nicolas Pottier