[EMAIL PROTECTED] wrote: > Je viens d'installer CPSGeo 0.9.2-1 et même si j'arrive à accéder à la > géolocalisation dans mon portail, j'ai quelques soucis par la suite... Une > piste peut-être...
> CPS 3.4.0 full > Zope Version (Zope 2.9.1-, python 2.4.2, linux2) > Python Version 2.4.2 (#2, Sep 30 2005, 21:19:01) [GCC 4.0.2 20050808 > (prerelease) (Ubuntu 4.0.1-4ubuntu8)] > System Platform linux2 > ----------------------------------------------------------- > 2006-03-28T09:25:46 INFO CPSGeo will use elementtree as XML library > ------ > 2006-03-28T09:25:46 INFO CPSGeo Registers .xml extension for CMFCore.FSFile > ------ > 2006-03-28T09:25:46 INFO CPSGeo Registers .xslt extension for CMFCore.FSFile > ------- > 2006-03-28T09:25:46 WARNING Init Class Products.CPSGeo.Map.Map has a security > declaration for nonexistent method 'getCapabilitiesURL' > ------ > 2006-03-28T09:25:46 WARNING Init Class Products.CPSGeo.Map.Map has a security > declaration for nonexistent method 'getCapabilitiesURL' > ------ > 2006-03-28T09:25:46 WARNING Init Class Products.CPSGeo.MapTool.MapTool has a > security declaration for nonexistent method 'manage_geoLocationView' > ------ > 2006-03-28T09:25:46 WARNING Init Class Products.CPSGeo.MapTool.MapTool has a > security declaration for nonexistent method 'manage_geoLocationView' Ok, ce sont des déclarations de sécurité qui ne sont pas correctes sur les classes. Elles apparaissent depuis CPS-3.4.0. Pouvez-vous rentrez un bug à ce sujet svp sur : http://svn.nuxeo.org/trac/pub/newticket/ > > ---------------------------------------------------------- > J'obtiens également ceci quand je tente de créer ma première geolocalisation : > ------------------------------------------------------------ > 2006-03-27T22:24:01 ERROR Zope.SiteErrorLog > http://www.xxxx.fr:8080/xxxxxx/members/Paulxxxxx/xxxx/portal_maps/onearth/mapContext > Traceback (most recent call last): > File "/opt/zope291/lib/python/ZPublisher/Publish.py", line 114, in publish > request, bind=1) > File "/opt/zope291/lib/python/ZPublisher/mapply.py", line 88, in mapply > if debug is not None: return debug(object,args,context) > File "/opt/zope291/lib/python/ZPublisher/Publish.py", line 40, in > call_object > result=apply(object,args) # Type s<cr> to step into published object. > File "/home/xxxxxxxxx/instance291/Products/CPSGeo/Map.py", line 108, in > mapContext > return '<?xml version="1.0" encoding="utf-8"?>' \ > File "/home/xxxxxxxx/instance291/Products/CPSGeo/ogclib/wmc.py", line 277, > in mapToWebMapContext > return MapContext(map, **kws)() > File "/home/xxxxxxxx/instance291/Products/CPSGeo/ogclib/wmc.py", line 210, > in __call__ > wmc_doc_tree.append(self._getLayerListElement()) > File "/home/axxxxxxx/instance291/Products/CPSGeo/ogclib/wmc.py", line 145, > in _getLayerListElement > layer_infos = self._map.getLayerInfos() > File "/home/xxxxxxxxx/instance291/Products/CPSGeo/Map.py", line 126, in > getLayerInfos > cap = self._readCapabilities() > File "/home/xxxxxxxxinstance291/Products/CPSGeo/Map.py", line 92, in > _readCapabilities > return reader.read(self.url) > File "/home/xxxxxxxxx/instance291/Products/CPSGeo/ogclib/wms.py", line 179, > in read > u = urllib.urlopen(request) > File "/usr/lib/python2.4/urllib.py", line 77, in urlopen > return opener.open(url) > File "/usr/lib/python2.4/urllib.py", line 185, in open > return getattr(self, name)(url) > File "/usr/lib/python2.4/urllib.py", line 308, in open_http > h.endheaders() > File "/usr/lib/python2.4/httplib.py", line 795, in endheaders > self._send_output() > File "/usr/lib/python2.4/httplib.py", line 676, in _send_output > self.send(msg) > File "/usr/lib/python2.4/httplib.py", line 643, in send > self.connect() > File "/usr/lib/python2.4/httplib.py", line 611, in connect > socket.SOCK_STREAM): > ------------------------------------------------------------ > 2006-03-27T22:29:56 ERROR root Exception while rendering an error message > Traceback (most recent call last): > File "/opt/zope291/lib/python/OFS/SimpleItem.py", line 223, in > raise_standardErrorMessage > v = s(**kwargs) > File "/opt/zope291/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in > __call__ > return self._bindAndExec(args, kw, None) > File "/opt/zope291/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in > _bindAndExec > return self._exec(bound_data, args, kw) > File "/home/xxxxxxxxx/instance291/Products/CMFCore/FSPageTemplate.py", line > 195, in _exec > result = self.pt_render(extra_context=bound_names) > File "/home/xxxxxxx/instance291/Products/CMFCore/FSPageTemplate.py", line > 134, in pt_render > result = FSPageTemplate.inheritedAttribute('pt_render')( > File "/opt/zope291/lib/python/Products/PageTemplates/PageTemplate.py", line > 104, in pt_render > tal=not source, strictinsert=0)() > File "/opt/zope291/lib/python/TAL/TALInterpreter.py", line 238, in __call__ > self.interpret(self.program) > File "/opt/zope291/lib/python/TAL/TALInterpreter.py", line 281, in interpret > handlers[opcode](self, args) > File "/opt/zope291/lib/python/TAL/TALInterpreter.py", line 457, in > do_optTag_tal > self.do_optTag(stuff) > File "/opt/zope291/lib/python/TAL/TALInterpreter.py", line 442, in do_optTag > return self.no_tag(start, program) > File "/opt/zope291/lib/python/TAL/TALInterpreter.py", line 437, in no_tag > self.interpret(program) > File "/opt/zope291/lib/python/TAL/TALInterpreter.py", line 281, in interpret > handlers[opcode](self, args) > File "/opt/zope291/lib/python/TAL/TALInterpreter.py", line 749, in > do_useMacro > self.interpret(macro) > File "/opt/zope291/lib/python/TAL/TALInterpreter.py", line 281, in interpret > handlers[opcode](self, args) > File "/opt/zope291/lib/python/TAL/TALInterpreter.py", line 507, in > do_setLocal_tal > self.engine.setLocal(name, self.engine.evaluateValue(expr)) > File "/opt/zope291/lib/python/Products/PageTemplates/TALES.py", line 221, > in evaluate > return expression(self) > File "/opt/zope291/lib/python/Products/PageTemplates/ZRPythonExpr.py", line > 47, in __call__ > return eval(code, g, {}) > File "Python expression "mtool.assertViewable(here)"", line 1, in > <expression> > File "/home/xxxxxxxxx/instance291/Products/CPSCore/CPSMembershipTool.py", > line 114, in assertViewable > raise Unauthorized > Unauthorized: <AccessControl.unauthorized.Unauthorized instance at 0xb1865b6c> > ------ > Idem ici. Pouvez-vous rentrez un bug svp à la même adresse que ci-dessus ? Je n'ai pas tester encore avec du CPS 3.4.0. Ce sera fait avec le profile d'extension pour ce produit très bientôt. merci pour les retours. J. -- Julien Anguenot | Nuxeo R&D (Paris, France) CPS Platform : http://www.cps-project.org Zope3 / ECM : http://www.z3lab.org mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
signature.asc
Description: OpenPGP digital signature
_______________________________________________ cps-users-fr Adresse de la liste : [email protected] Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>
