[Zope] Install problem solved... but 2.0 squishdot problems..
Nick Garcia
ngarcia@codeit.com
Wed, 1 Sep 1999 15:52:00 -0700 (PDT)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---1463808768-1315195129-936226320=:25182
Content-Type: TEXT/PLAIN; charset=US-ASCII
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 )
>
>
---1463808768-1315195129-936226320=:25182
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="re.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.10.9909011552000.25182@cuneiform.codeit.com>
Content-Description:
Content-Disposition: attachment; filename="re.patch"
KioqIC9zY3JhdGNoL2xpYi9weXRob24vUHJvZHVjdHMvU3F1aXNoZG90L1Nx
dWlzaGRvdC5weSBXZWQgSnVuIDIzIDIxOjEwOjAyIDE5OTkNCi0tLSBTcXVp
c2hkb3QucHkgICAgICAgIFNhdCBBdWcgMTQgMjA6MTU6MDYgMTk5OQ0KKioq
KioqKioqKioqKioqDQoqKiogMTI0LDEyNyAqKioqDQogICANCiEgaW1wb3J0
IHN5cywgdHNfcmVnZXgsIHJlZ3N1YiANCiAgZnJvbSBHbG9iYWxzIGltcG9y
dCBQZXJzaXN0ZW50IA0KICBmcm9tIEdsb2JhbHMgaW1wb3J0IFBlcnNpc3Rl
bnRNYXBwaW5nIA0KLS0tIDEyNCwxMjcgLS0tLQ0KICAgDQohIGltcG9ydCBz
eXMsIHRzX3JlZ2V4LCByZWdzdWIsIHJlDQog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5ID0g
c3BsaXQoIHJlcGxhY2Uoc3VtbWFyeSwgQ1JMRiwnXG4nKSwnXG4nKQ0KISAg
ICAgICAgICAgICBzdW1tYXJ5ICA9c3BsaXQoIENSTEYuc3ViKCdcbicsIHN1
bW1hcnkpLCdcbicpDQogICAgICAgICAgZWxzZTogDQogICAgICAgICAgICAg
IHN1bW1hcnkgPSBOb25lIA0KKioqKioqKioqKioqKioqDQoqKiogODAxLDgw
NSAqKioqDQogICAgICAgICAgYm9keSA9IHN0cmlwKGJvZHkpIA0KICAgICAg
ICAgIGlmIGJvZHk6IA0KISAgICAgICAgICAgICBib2R5ICA9c3BsaXQocmVn
c3ViLmdzdWIoQ1JMRiwnXG4nLGJvZHkpLCdcbicpIA0KICAgICAgICAgIGVs
c2U6IA0KICAgICAgICAgICAgICBib2R5ID0gTm9uZSANCi0tLSA4MTIsODE3
IC0tLS0NCiAgICAgICAgICBib2R5ID0gc3RyaXAoYm9keSkgDQogICAgICAg
ICAgaWYgYm9keTogDQohICMgICAgICAgICAgICBib2R5ICA9c3BsaXQoIHJl
cGxhY2UoYm9keSwgQ1JMRiwnXG4nKSwnXG4nKQ0KISAgICAgICAgICAgICBi
b2R5ICA9c3BsaXQoIENSTEYuc3ViKCdcbicsYm9keSksJ1xuJykgDQogICAg
ICAgICAgZWxzZTogDQogICAgICAgICAgICAgIGJvZHkgPSBOb25lIA0KKioq
KioqKioqKioqKioqDQoqKiogMTIyOSwxMjMzICoqKioNCiAgICAgICAgICBi
b2R5ICAgID1zdHJpcChib2R5KSANCiAgICAgICAgICBpZiBib2R5OiANCiEg
ICAgICAgICAgICAgYm9keSAgICA9c3BsaXQocmVnc3ViLmdzdWIoQ1JMRiwn
XG4nLGJvZHkpLCdcbicpIA0KICAgICAgICAgIGVsc2U6IA0KICAgICAgICAg
ICAgICBib2R5ID0gTm9uZSANCi0tLSAxMjE4LDEyMjIgLS0tLQ0KICAgICAg
ICAgIGJvZHkgICAgPXN0cmlwKGJvZHkpIA0KICAgICAgICAgIGlmIGJvZHk6
IA0KISAgICAgICAgICAgICBib2R5ICAgID1zcGxpdChDUkxGLnN1YignXG4n
LGJvZHkpLCdcbicpIA0KICAgICAgICAgIGVsc2U6IA0KICAgICAgICAgICAg
ICBib2R5ID0gTm9uZSANCioqKioqKioqKioqKioqKg0KKioqIDEzMjQsMTMy
OCAqKioqDQogICAgICAgICAgYXV0aG9yID0gc3RyaXAoYXV0aG9yKSANCiAg
ICAgICAgICBlbWFpbCA9IHN0cmlwKGVtYWlsKSANCiEgICAgICAgICBib2R5
ID0gc3BsaXQocmVnc3ViLmdzdWIoQ1JMRiwnXG4nLGJvZHkpLCdcbicpIA0K
ICAgDQogICAgICAgICAgZm9yIGluZGV4IGluIHNlbGYuaW5kaWNlcy52YWx1
ZXMoKTogICAgICAgICAgIA0KLS0tIDEzMTMsMTMxNyAtLS0tDQogICAgICAg
ICAgYXV0aG9yID0gc3RyaXAoYXV0aG9yKSANCiAgICAgICAgICBlbWFpbCA9
IHN0cmlwKGVtYWlsKSANCiEgICAgICAgICBib2R5ID0gc3BsaXQoQ1JMRi5z
dWIoJ1xuJyxib2R5KSwnXG4nKSANCiAgIA0KICAgICAgICAgIGZvciBpbmRl
eCBpbiBzZWxmLmluZGljZXMudmFsdWVzKCk6ICAgICAgICAgICANCioqKioq
KioqKioqKioqKg0KKioqIDEzODAsMTM4NSAqKioqDQogICAgICAgICAgYXV0
aG9yPXN0cmlwKGF1dGhvcikgDQogICAgICAgICAgZW1haWwgPXN0cmlwKGVt
YWlsKSANCiEgICAgICAgICBib2R5ICA9c3BsaXQocmVnc3ViLmdzdWIoQ1JM
RiwnXG4nLGJvZHkpLCdcbicpIA0KISAgICAgICAgIHN1bW1hcnkgID1zcGxp
dChyZWdzdWIuZ3N1YihDUkxGLCdcbicsc3VtbWFyeSksJ1xuJykgDQogICAg
ICAgICAgc3ViamVjdCA9c3RyaXAoc3ViamVjdCkgDQogICAgICAgICAgZGVw
dCA9c3RyaXAoZGVwdCkgDQotLS0gMTM2OSwxMzc0IC0tLS0NCiAgICAgICAg
ICBhdXRob3I9c3RyaXAoYXV0aG9yKSANCiAgICAgICAgICBlbWFpbCA9c3Ry
aXAoZW1haWwpIA0KISAgICAgICAgIGJvZHkgID1zcGxpdChDUkxGLnN1Yign
XG4nLGJvZHkpLCdcbicpIA0KISAgICAgICAgIHN1bW1hcnkgID1zcGxpdChD
UkxGLnN1YignXG4nLHN1bW1hcnkpLCdcbicpIA0KICAgICAgICAgIHN1Ympl
Y3QgPXN0cmlwKHN1YmplY3QpIA0KICAgICAgICAgIGRlcHQgPXN0cmlwKGRl
cHQpDQo=
---1463808768-1315195129-936226320=:25182--