Menu

#2 create new version error

open
nobody
None
5
2003-09-14
2003-09-14
No

When attempting to use the "create new version" command for
apublished document, I am taken to the error screen reading

Error Type: AttributeError

Error Value: SESSION

the error log gives the traceback as below:

Time 2003/09/14 12:06:55.448 GMT+2
User Name (User Id) Chris Tignor (Chris Tignor)
Request URL http://www.xxx.org/index/edit/tab_edit_make_copy
Exception Type AttributeError
Exception Value SESSION

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 Products.FileSystemSite.FSPythonScript, line 90, in
__call__
* Module Shared.DC.Scripts.Bindings, line 252, in __call__
* Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
* Module Products.FileSystemSite.FSPythonScript, line 124, in
_exec
__traceback_info__: ({'script': <FSPythonScript at /osji/silva_01/
service_views/Silva/edit/VersionedContent/tab_edit_make_copy
used for /osji/silva_01/service_views/Silva/edit/
VersionedContent/Document>, 'context': <
DirectoryViewSurrogate instance at 960dbc0>, 'container': <
DirectoryViewSurrogate instance at 9338a18>,
'traverse_subpath': []}, (), {}, None)
* Module Script (Python), line 5, in tab_edit_make_copy
* Module Shared.DC.Scripts.Bindings, line 252, in __call__
* Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
* Module Products.FileSystemSite.FSPageTemplate, line 165, in
_exec
* Module Products.PageTemplates.ZopePageTemplate, line 228,
in _exec
* Module Products.FileSystemSite.FSPageTemplate, line 139, in
pt_render
* Module Products.PageTemplates.PageTemplate, line 95, in
pt_render
<FSPageTemplate at /osji/silva_01/service_views/Silva/edit/
VersionedContent/tab_edit used for /osji/silva_01/service_views/
Silva/edit/VersionedContent/Document>
* Module TAL.TALInterpreter, line 200, in __call__
* Module TAL.TALInterpreter, line 244, in interpret
* Module TAL.TALInterpreter, line 412, in do_optTag_tal
* Module TAL.TALInterpreter, line 394, in no_tag
* Module TAL.TALInterpreter, line 244, in interpret
* Module TAL.TALInterpreter, line 703, in do_useMacro
* Module TAL.TALInterpreter, line 244, in interpret
* Module TAL.TALInterpreter, line 726, in do_defineSlot
* Module TAL.TALInterpreter, line 244, in interpret
* Module TAL.TALInterpreter, line 414, in do_optTag_tal
* Module TAL.TALInterpreter, line 399, in do_optTag
* Module TAL.TALInterpreter, line 394, in no_tag
* Module TAL.TALInterpreter, line 244, in interpret
* Module TAL.TALInterpreter, line 669, in do_condition
* Module TAL.TALInterpreter, line 244, in interpret
* Module TAL.TALInterpreter, line 592, in do_insertStructure_tal
* Module Products.PageTemplates.TALES, line 217, in evaluate
Line 86, Column 0
Expression: standard:'view/edit'
Names:

{'container': <DirectoryViewSurrogate instance at 9338a18>,
'default': <Products.PageTemplates.TALES.Default instance at
0x879e894>,
'here': <DirectoryViewSurrogate instance at 960dbc0>,
'loop': <SafeMapping instance at 934ffe0>,
'modules': <
Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x87a764c>,
'nothing': None,
'options': {'args': (),
'message': 'New version created.',
'message_type': 'feedback'},
'repeat': <SafeMapping instance at 934ffe0>,
'request': <HTTPRequest, URL=http://www.xxx.org/index/edit/
tab_edit_make_copy>,
'root': <Application instance at 9078a50>,
'template': <FSPageTemplate at /osji/silva_01/service_views/
Silva/edit/VersionedContent/tab_edit used for /osji/silva_01/
service_views/Silva/edit/VersionedContent/Document>,
'traverse_subpath': [],
'user': Chris Tignor}
* Module Products.PageTemplates.Expressions, line 206, in
__call__
* Module Products.PageTemplates.Expressions, line 201, in _eval
* Module Products.PageTemplates.Expressions, line 100, in
render
* Module Products.PageTemplates.ZRPythonExpr, line 74, in
call_with_ns
* Module Products.FileSystemSite.FSPythonScript, line 85, in
__render_with_namespace__
* Module Shared.DC.Scripts.Bindings, line 266, in
__render_with_namespace__
* Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
* Module Products.FileSystemSite.FSPythonScript, line 124, in
_exec
__traceback_info__: ({'script': <FSPythonScript at /osji/silva_01/
service_views/Silva/edit/VersionedContent/Document/edit>,
'context': <DirectoryViewSurrogate instance at 960dbc0>,
'container': <DirectoryViewSurrogate instance at 960dbc0>,
'traverse_subpath': []}, (), {}, None)
* Module Script (Python), line 1, in edit
* Module ZPublisher.HTTPRequest, line 1194, in __getattr__

AttributeError: SESSION

Display traceback as text

REQUEST

form

cookies
tree-s 'eJzTiFYPybUsjQq0tVWP1dEEACIsBBg'

lazy items

other
AUTHENTICATION_PATH 'osji/silva_01/vhm'
model <Silva Document instance index>
PUBLISHED <FSPythonScript at /osji/silva_01/service_views/
Silva/edit/VersionedContent/tab_edit_make_copy used for /osji/
silva_01/service_views/Silva/edit/VersionedContent/Document>
traverse_subpath []
SERVER_URL 'http://www.xxx.org'
VirtualRootPhysicalPath ('', 'osji', 'silva_01')
URL 'http://www.xxx.org/index/edit/tab_edit_make_copy'
AUTHENTICATED_USER Chris Tignor
TraversalRequestNameStack []
URL0 http://www.xxx.org/index/edit/tab_edit_make_copy
URL1 http://www.xxx.org/index/edit
URL2 http://www.xxx.org/index
URL3 http://www.xxx.org
BASE0 http://www.xxx.org
BASE1 http://www.xxx.org
BASE2 http://www.xxx.org/index
BASE3 http://www.xxx.org/index/edit
BASE4 http://www.xxx.org/index/edit/tab_edit_make_copy

environ
SERVER_SOFTWARE 'Zope/(Zope 2.6.1 (source release, python
2.1, linux2), python 2.1.3, linux2) ZServer/1.1b1'
CONTENT_LENGTH '0'
CONTENT_TYPE 'application/x-www-form-urlencoded'
PATH_TRANSLATED '/VirtualHostBase/http/www.xxx.org:80/osji/
silva_01/VirtualHostRoot/index/edit/tab_edit_make_copy'
HTTP_VIA '1.1 www.xxx.org'
HTTP_UA_OS 'MacOS'
HTTP_X_FORWARDED_HOST 'www.xxx.org'
HTTP_ACCEPT_LANGUAGE 'en'
HTTP_X_FORWARDED_FOR '24.215.159.110'
REMOTE_ADDR '127.0.0.1'
SERVER_PORT '9674'
HTTP_USER_AGENT 'Mozilla/4.0 (compatible; MSIE 5.22;
Mac_PowerPC)'
HTTP_ACCEPT '*/*'
channel.creation_time 1063534014
HTTP_UA_CPU 'PPC'
HTTP_EXTENSION 'Security/Remote-Passphrase'
SERVER_PROTOCOL 'HTTP/1.1'
PATH_INFO '/VirtualHostBase/http/www.xxx.org:80/osji/silva_01/
VirtualHostRoot/index/edit/tab_edit_make_copy'
HTTP_HOST '127.0.0.1:9674'
REQUEST_METHOD 'POST'
HTTP_MAX_FORWARDS '10'
SCRIPT_NAME ''
SITE 'osji'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_COOKIE '__ac=
Q2hyaXMgVGlnbm9yOmN0aWdub3JAZWFydGhsaW5rLm5ldA%3D
%3D%0A; tree-s=eJzTiFYPybUsjQq0tVWP1dEEACIsBBg'
HTTP_X_FORWARDED_SERVER 'www.xxx.org'
HTTP_PRAGMA 'no-cache'
SERVER_NAME 'localhost'
HTTP_REFERER 'http://www.xxx.org/index/edit/tab_edit'

any idea why this is happening and how I can fix it?

thanks,

C>T>

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.