Hello,

 

For your information, same problem here (CPS 3-4-2 on Windows / ExternalEditor 0.9, I guess) ! I have no idea about the cause…

 

Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.ExternalEditor.ExternalEditor, line 98, in index_html
  Module Products.CPSCore.ProxyBase, line 827, in wl_lockValues
AttributeError: Logger instance has no __call__ method

REQUEST

form

path '/cps/workspaces/services/informatique/test/downloadFile/file/file'

 

cookies

__cp 'x%DA%C5%8E%3B%0E%021%0CD%C3%A7%81%02%81%40%9Ca%9B%5C%86%96j%15%AC%5D%8B%10%87L%C2%E7%F6%D8T%EC%09%28%3C%B6%9F-%7B%BA%B9s%8Eg%2Ag%AB%BA%95J%D5pX%A8%84%0C%AC5%3F%A5%5C%91%FB%40%C0%CE%B0%DC%B8%12%3C%27%D4%3E%19%5D%1A%8D%DA%1F%B4%C8E%AA%04%89%BAq%F1%E3%7B%60J%84%FDt0%28%2B%7D%7Ba%3B%E5%10%3D%82%8D%B9%A00%26%BE7%F2Y%40_c%A7%BF%1B%3B%FEB%8FV%1E%C41%DA%AB%0F%89%84a%DD'

__ac_name 'Admin'

cpsskins_view_mode 'eyJzZWxlY3RlZF9wb3J0bGV0IjogInBvcnRsZXRfbmF2aWdhdGlvbl8zdGFicyIsICJwb3J0bGV0c19wYW5lbCI6ICJwb3J0bGV0X3Nsb3RzIiwgImN1cnJlbnRfdXJsIjogImh0dHA6Ly9zcnZkb2MvY3BzL3dvcmtzcGFjZXMvc2VydmljZXMvaW5mb3JtYXRpcXVlL3Rlc3QvY3BzZG9jdW1lbnRfZWRpdF9mb3JtIiwgInNjcm9sbHkiOiAiMCIsICJ0aGVtZSI6ICJkZWZhdWx0IiwgInNjcm9sbHgiOiAiMCIsICJ0aGVtZXNfcGFuZWwiOiAid3lzaXd5ZyIsICJzZWxlY3RlZF9jb250ZW50IjogIjE0ODYxMjE1OTAiLCAicGFnZSI6ICJkZWZhdXRDQ01MIiwgImVkaXRlZF91cmwiOiAiY3BzL3BvcnRhbF90aGVtZXMvZGVmYXVsdC9kZWZhdXRDQ01ML21haW4vcG9ydGFsX2JveF90cmVldmlldyJ9'

_ZopeId '19793239A2lhHQBd71U'

 

lazy items

SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>>

 

other

TraversalRequestNameStack []

AUTHENTICATED_USER <CPSUser Admin>

URL 'http://srvdoc/cps/externalEdit_/index_html'

SERVER_URL 'http://srvdoc'

AUTHENTICATION_PATH 'cps'

USER_PREF_LANGUAGES <Products.Localizer.Accept.AcceptLanguage instance at 0x043FF238>

PUBLISHED <bound method ExternalEditor.index_html of <Products.ExternalEditor.ExternalEditor.ExternalEditor object at 0x01AA86B0>>

AcceptLanguage <Products.Localizer.Accept.AcceptLanguage instance at 0x043FF238>

AcceptCharset <Products.Localizer.Accept.AcceptCharset instance at 0x043FF990>

path '/cps/workspaces/services/informatique/test/downloadFile/file/file'

ACTUAL_URL 'http://srvdoc/cps/externalEdit_'

target None

URL0 http://srvdoc/cps/externalEdit_/index_html

URL1 http://srvdoc/cps/externalEdit_

URL2 http://srvdoc/cps

URL3 http://srvdoc

BASE0 http://srvdoc

BASE1 http://srvdoc

BASE2 http://srvdoc/cps

BASE3 http://srvdoc/cps/externalEdit_

BASE4 http://srvdoc/cps/externalEdit_/index_html

 

environ

HTTP_ACCEPT 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*'

CONNECTION_TYPE 'Keep-Alive'

HTTP_USER_AGENT 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1)'

HTTP_REFERER 'http://srvdoc/cps/workspaces/services/informatique/test/cpsdocument_edit_form'

SERVER_NAME 'srvdoc.CCML.local'

GATEWAY_INTERFACE 'CGI/1.1'

SERVER_SOFTWARE 'Zope/(Zope 2.9.2, python 2.4.2, win32) ZServer/1.1 CPS/3.4'

REMOTE_ADDR '137.200.24.32'

HTTP_ACCEPT_LANGUAGE 'fr'

SCRIPT_NAME ''

REQUEST_METHOD 'GET'

HTTP_HOST 'srvdoc'

PATH_INFO '/cps/externalEdit_'

SERVER_PORT '80'

SERVER_PROTOCOL 'HTTP/1.1'

QUERY_STRING 'path=/cps/workspaces/services/informatique/test/downloadFile/file/file'

channel.creation_time 1162996313

HTTP_ACCEPT_ENCODING 'gzip, deflate'

HTTP_COOKIE 'cpsskins_view_mode="eyJzZWxlY3RlZF9wb3J0bGV0IjogInBvcnRsZXRfbmF2aWdhdGlvbl8zdGFicyIsICJwb3J0bGV0c19wYW5lbCI6ICJwb3J0bGV0X3Nsb3RzIiwgImN1cnJlbnRfdXJsIjogImh0dHA6Ly9zcnZkb2MvY3BzL3dvcmtzcGFjZXMvc2VydmljZXMvaW5mb3JtYXRpcXVlL3Rlc3QvY3BzZG9jdW1lbnRfZWRpdF9mb3JtIiwgInNjcm9sbHkiOiAiMCIsICJ0aGVtZSI6ICJkZWZhdWx0IiwgInNjcm9sbHgiOiAiMCIsICJ0aGVtZXNfcGFuZWwiOiAid3lzaXd5ZyIsICJzZWxlY3RlZF9jb250ZW50IjogIjE0ODYxMjE1OTAiLCAicGFnZSI6ICJkZWZhdXRDQ01MIiwgImVkaXRlZF91cmwiOiAiY3BzL3BvcnRhbF90aGVtZXMvZGVmYXVsdC9kZWZhdXRDQ01ML21haW4vcG9ydGFsX2JveF90cmVldmlldyJ9"; __ac_name="Admin"; _ZopeId="19793239A2lhHQBd71U"; __cp="x%DA%C5%8E%3B%0E%021%0CD%C3%A7%81%02%81%40%9Ca%9B%5C%86%96j%15%AC%5D%8B%10%87L%C2%E7%F6%D8T%EC%09%28%3C%B6%9F-%7B%BA%B9s%8Eg%2Ag%AB%BA%95J%D5pX%A8%84%0C%AC5%3F%A5%5C%91%FB%40%C0%CE%B0%DC%B8%12%3C%27%D4%3E%19%5D%1A%8D%DA%1F%B4%C8E%AA%04%89%BAq%F1%E3%7B%60J%84%FDt0%28%2B%7D%7Ba%3B%E5%10%3D%82%8D%B9%A00%26%BE7%F2Y%40_c%A7%BF%1B%3B%FEB%8FV%1E%C41%DA%AB%0F%89%84a%DD"; __ac="QWRtaW46IWFkbWluKiRkb2Muag%3D%3D"'

PATH_TRANSLATED '\\cps\\externalEdit_'

 

Thanks

 

AM


De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de M LZ
Envoyé : mercredi 8 novembre 2006 15:07
À : [email protected]
Objet : [CPS-users] Re: error when trying to use external editor

 


It is CPS 3.4.2 on linux debian. I tried with the  latest version of  External Editor  and a previous version of it. The trace tells about line 827 not 817.

Thanks,
mlz.

 

On 11/7/06, Olivier Grisel <[EMAIL PROTECTED]> wrote:

M LZ a écrit :
>
> Hi,
>
> I'm trying to use external editor with an instance of CPS. I got this
> message:
>
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> Error Type: AttributeError Error Value:
> Logger instance has no __call__ method Traceback:
> Traceback (innermost last):
>
>     * Module ZPublisher.Publish, line 115, in publish
>     * Module ZPublisher.mapply, line 88, in mapply
>     * Module ZPublisher.Publish, line 41, in call_object
>     * Module Products.ExternalEditor.ExternalEditor, line 98, in index_html
>     * Module Products.CPSCore.ProxyBase, line 827, in wl_lockValues
>
> AttributeError: Logger instance has no __call__ method
>

Which version ? In the trunk line 817 of ProxyBase.py is empty. Try to see if
your problem has not been fixed in subversion.

--
Olivier

_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users



_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to