[Zope] ImportError
Florian Reiser
florian.reiser at ra-bc.de
Wed Mar 10 11:03:51 EST 2004
Hello Troy,
the product I'm trying to remove is still installed.
Otherwise, I can't access the directory, where it was used before, any more.
Really tricky, isn't it?
Regards
Florian Reiser
-----Original Message-----
From: Troy Farrell [mailto:troy at entheossoft.com]
Sent: Wednesday, March 10, 2004 3:32 PM
To: florian.reiser at ra-bc.de; zope at zope.org
Subject: Re: [Zope] ImportError
Is the product you are trying to remove still installed? If not (grasps at
straws), you might try reinstalling it then trying the xml export. I fear,
however, that load_binput will still give you the same problems. At this
point
I'm in over my head.
Florian Reiser wrote:
> Hello Troy,
>
> if I try to export the folder to XML,
> then I get the error message:
>
> TypeError: object has read-only attributes
>
> If I export it to zexp, then everything is fine.
>
> I have included the traceback below.
> Maybe you can get a clue out of it.
>
> Regards
> Florian Reiser
>
> Exception traceback
> Time 2004/03/10 11:34:16.207 GMT+1
> User Name (User Id) administrator (administrator)
> Request URL http://nt5w-c/manage_exportObject
> Exception Type TypeError
> Exception Value object has read-only attributes
>
> Traceback (innermost last):
>
> Module ZPublisher.Publish, line 98, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 39, in call_object
> Module OFS.ObjectManager, line 490, in manage_exportObject
> Module OFS.XMLExportImport, line 58, in exportXML
> Module OFS.XMLExportImport, line 33, in XMLrecord
> Module Shared.DC.xml.ppml, line 253, in load
> Module pickle, line 567, in load
> Module Shared.DC.xml.ppml, line 406, in load_binput
> TypeError: object has read-only attributes
>
> Display traceback as text
>
> REQUEST
> form
> submit 'Export'
> id 'mzsf'
> toxml 'Y'
> download 1
>
> cookies
> zmi_use_css '1'
> tree-s 'eJzTiFZ3hANPW/VYHU0ALlYElA'
> dtpref_cols '100%'
> zmi_top_frame ''
> dtpref_rows '20'
>
> lazy items
> SESSION <bound method SessionDataManager.getSessionData of
> <SessionDataManager instance at 0424F740>>
>
> other
> AUTHENTICATION_PATH ''
> download 1
> id 'mzsf'
> SERVER_URL 'http://nt5w-c'
> PUBLISHED <bound method Application.manage_exportObject of <Application
> instance at 04960E30>>
> URL 'http://nt5w-c/manage_exportObject'
> AUTHENTICATED_USER administrator
> TraversalRequestNameStack []
> toxml 'Y'
> URL0 http://nt5w-c/manage_exportObject
> URL1 http://nt5w-c
> BASE0 http://nt5w-c
> BASE1 http://nt5w-c
> BASE2 http://nt5w-c/manage_exportObject
>
> environ
> HTTP_ACCEPT_ENCODING 'gzip, deflate'
> CONTENT_TYPE 'application/x-www-form-urlencoded'
> PATH_TRANSLATED '\\manage_exportObject'
> HTTP_ACCEPT 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/vnd.ms-excel, application/vnd.ms-powerpoint,
application/msword,
> application/x-shockwave-flash, */*'
> HTTP_COOKIE 'zmi_use_css="1"; dtpref_cols="100%"; zmi_top_frame="";
> dtpref_rows="20"; tree-s="eJzTiFZ3hANPW/VYHU0ALlYElA"'
> HTTP_ACCEPT_LANGUAGE 'en,de;q=0.8,de-ch;q=0.5,ar-dz;q=0.3'
> GATEWAY_INTERFACE 'CGI/1.1'
> SERVER_PORT '80'
> HTTP_USER_AGENT 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
Q312461;
> .NET CLR 1.0.3705; .NET CLR 1.1.4322)'
> CONTENT_LENGTH '46'
> REMOTE_ADDR '10.40.201.106'
> channel.creation_time 1078914835
> SERVER_PROTOCOL 'HTTP/1.1'
> PATH_INFO '/manage_exportObject'
> HTTP_HOST 'nt5w-c'
> REQUEST_METHOD 'POST'
> SCRIPT_NAME ''
> SERVER_SOFTWARE 'Zope/(Zope 2.6.2 (binary release, python 2.1, win32-x86),
> python 2.1.3, win32) ZServer/1.1b1'
> HTTP_CACHE_CONTROL 'no-cache'
> CONNECTION_TYPE 'Keep-Alive'
> HTTP_REFERER 'http://nt5w-c/'
> SERVER_NAME 'nt5w-c.domw2k.int'
>
>
> -----Original Message-----
> From: Troy Farrell [mailto:troy at entheossoft.com]
> Sent: Tuesday, March 09, 2004 5:39 PM
> To: florian.reiser at ra-bc.de
> Cc: zope at zope.org
> Subject: Re: [Zope] ImportError
>
>
> You could try exporting to XML to find and remove the offender then
> importing.
More information about the Zope
mailing list