exUserFolder (was: Re: [Zope-dev] I/O Error)

Myroslav Opyr myroslav@zope.net.ua
Mon, 09 Sep 2002 21:42:16 +0300


Myroslav Opyr wrote:

>I've got it!
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
>Site Error
>
>  Error Type: IOError
>  Error Value: [Errno 5] Input/output error
>
>Traceback (innermost last):
>  File /usr/share/Zope-2.5.1/lib/python/ZPublisher/Publish.py, line 150,=
 in publish_module
>
>  [...snip...]
>
>  File /usr/share/Zope-2.5.1/lib/python/App/special_dtml.py, line 172, i=
n _exec
>    (Object: manage_main)
>  File /var/zope/home/shared2/Products/exUserFolder/dummyZBabelTag.py, l=
ine 96, in render
>IOError: (see above)
>
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
It is OrderedFolder + exUserFolder - ZBabel [ + FreeBSD] problem...

OrderedFolder has NoBabelTag.py and exUserFolder has dummyZBabelTag.py=20
to do the same thing. OrderedFolder does that in clean way. exUserFolder=20
- not (at least on FreeBSD). Unfortunately exUserFolder' implementation=20
does not check if babel and fish tags exist and simply overwrites other=20
implementation...

Regarding exUserFolder.py itself. That was plain print statement. And it=20
look like it is not always safe. Why there is a reason of print instead=20
of zLOG.LOG()?

It is far not the last thing which people complain about in=20
exUserFolder... Superior idea of plugins was buried in flaws of=20
implementation... As for long-term benefit LDAPUserFolder appears to be=20
stable solution...

Regards,

m.

>The problem is that I do not have exUserFolder in acquisition at that
>place. exUserFolder had patched something...
>
>Should I avoid using it at all?
>
>m.
>--
>Myroslav Opyr
>zope.net.ua * Ukrainian Zope Hosting
>e-mail: myroslav@zope.net.ua
>cell: +380 50.3174578
>
>
>On Mon, 9 Sep 2002, Tim McLaughlin wrote:
>
>>I get this same problem on our FreeBSD servers w/ Zope 2.5.1 and Python=
 2.1.1 (from ports).  I've haven't found any correlation to anything that=
 might be causing it yet... (sort of distressing)  It doesn't happen very=
 often though; I've only seen it abo
>>   =20
>>
>ut 3 times.
> =20
>
>>Cheers,
>>Tim
>>
>>Myroslav Opyr wrote:
>>   =20
>>
>>>Hi,
>>>
>>>When running one of development servers (Zope 2.5.1, Python
>>>2.1.3+freebsdPatch) Several times I've got "I/O Error" exception page
>>>when trying to render random ZMI  page. Retrying always succeeds... I
>>>was not able to get traceback so far (it is in HTML comments).
>>>
>>>Any ideas what that can be?
>>>
>>>m.
>>>     =20
>>>
>>--
>>Tim McLaughlin
>>Chief Technology Officer
>>Siteworx, Inc... Set your site on the future!
>>703.390.5421
>>   =20
>>
--=20
Myroslav Opyr
zope.net.ua <http://zope.net.ua/> =B0 Ukrainian Zope Hosting
e-mail: myroslav@zope.net.ua <mailto:myroslav@zope.net.ua>