kapilt / getpaid

Automatically exported from code.google.com/p/getpaid
0 stars 0 forks source link

load from adressbook error: AttributeError: 'module' object has no attribute 'getFieldsNames' #312

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When trying to load an address from the addressbook:

Traceback:
Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 113, in pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 620, in do_insertText_tal
  Module Products.PageTemplates.Expressions, line 225, in evaluateText
  Module zope.tales.tales, line 696, in evaluate
   - URL: /home/evenios/instances/encrypted.evenios.com/src/Products.PloneGetPaid/Products/PloneGetPaid/browser/templates/addressbook-listing.pt
   - Line 8, Column 12
   - Expression: <PathExpr standard:u'view/getEntryScripts'>
   - Names:
      {'args': (),
       'container': <PloneSite at /evenios.xdv>,
       'context': <PloneSite at /evenios.xdv>,
       'default': <object object at 0x7f9098fe2b50>,
       'here': <PloneSite at /evenios.xdv>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xa7e01b0>,
       'request': <HTTPRequest, URL=https://encrypted.evenios.com/@@addresbook-listing>,
       'root': <Application at >,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7887a10>,
       'traverse_subpath': [],
       'user': <PloneUser 'acsr'>,
       'view': <Products.Five.metaclass.AddressBookView object at 0xa4e1910>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xa6c3e50>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 155, in _eval
  Module Products.PageTemplates.Expressions, line 117, in render
  Module Products.PloneGetPaid.browser.checkout, line 907, in getEntryScripts
AttributeError: 'module' object has no attribute 'getFieldsNames'

Plone 4.1.2 with SVN trunk of Products.PloneGetPaid Revision: 3918

Original issue reported on code.google.com by develo...@acsr.de on 15 Feb 2012 at 8:19

GoogleCodeExporter commented 8 years ago
Solved: http://code.google.com/p/getpaid/issues/detail?id=304

Original comment by man...@minombre.es on 10 Dec 2012 at 8:17