[Kmkey-spanish] Problema con Conceptos contables

Rafael Flores Belmar rflores.belmar en gmail.com
Mie Oct 12 02:26:55 CEST 2011


Hola Albert,

He actualizado solo KMKey y ha funcionado todo muy bien, agradezco
mucho tu ayuda.

Saludos,

Rafael

El 10-10-2011, a las 2:27, "Albert Buyó" <abuyo en earcon.com> escribió:

> Hola Rafael , buenos días
>
> mira primero si tienes todos los upgrades pasados, en zmi -->
> portal_setup (solamente los de KMkey, los de CPS no deben pasarse)
>
> si no, mira en portal_schemas --> account_unit, deberías tener un
> campo tipo fecha 'start_date' (en minúscula todo)
>
> saludos
>
> Albert
>
> On 10/8/11, Rafael Flores Belmar <rflores.belmar en gmail.com> wrote:
>> Estimados,
>>
>> Tengo un problema al ejecutar los "conceptos contables" me da el error:
>>
>> Error: Start_date
>>
>> La plataforma es ubuntu 10.04 LTS con zope 294.
>>
>> Adjunto el log:
>>
>> ime2011/10/08 12:19:46.043 GMT-3User Name (User Id)adminkmkey
>> (adminkmkey)Request
>> URLhttp://protegopro.sytes.net/workspaces/kmkey/accountUnits.htmlException
>> TypeKeyErrorException Value'start_date'
>>
>> 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.Five.browser.metaconfigure, line 403, in __call__
>>   - Module Shared.DC.Scripts.Bindings, line 311, in __call__
>>   - Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>>   - Module Products.PageTemplates.PageTemplateFile, line 113, in _exec
>>   - Module Products.PageTemplates.PageTemplate, line 104, in pt_render
>>   *<ImplicitAcquirerWrapper object at 0xeffdf4c>*
>>   - Module TAL.TALInterpreter, line 238, in __call__
>>   - Module TAL.TALInterpreter, line 281, in interpret
>>   - Module TAL.TALInterpreter, line 749, in do_useMacro
>>   - Module TAL.TALInterpreter, line 281, in interpret
>>   - Module TAL.TALInterpreter, line 457, in do_optTag_tal
>>   - Module TAL.TALInterpreter, line 442, in do_optTag
>>   - Module TAL.TALInterpreter, line 437, in no_tag
>>   - Module TAL.TALInterpreter, line 281, in interpret
>>   - Module TAL.TALInterpreter, line 715, in do_condition
>>   - Module TAL.TALInterpreter, line 281, in interpret
>>   - Module TAL.TALInterpreter, line 772, in do_defineSlot
>>   - Module TAL.TALInterpreter, line 281, in interpret
>>   - Module TAL.TALInterpreter, line 457, in do_optTag_tal
>>   - Module TAL.TALInterpreter, line 442, in do_optTag
>>   - Module TAL.TALInterpreter, line 437, in no_tag
>>   - Module TAL.TALInterpreter, line 281, in interpret
>>   - Module TAL.TALInterpreter, line 691, in do_loop_tal
>>   - Module TAL.TALInterpreter, line 281, in interpret
>>   - Module TAL.TALInterpreter, line 457, in do_optTag_tal
>>   - Module TAL.TALInterpreter, line 442, in do_optTag
>>   - Module TAL.TALInterpreter, line 437, in no_tag
>>   - Module TAL.TALInterpreter, line 281, in interpret
>>   - Module TAL.TALInterpreter, line 310, in do_startEndTag
>>   - Module TAL.TALInterpreter, line 339, in do_startTag
>>   - Module TAL.TALInterpreter, line 405, in attrAction_tal
>>   - Module Products.PageTemplates.TALES, line 227, in evaluateText
>>   - Module Products.PageTemplates.TALES, line 221, in evaluate
>>   *URL: index*
>>   *Line 137, Column 24*
>>   *Expression: <PythonExpr dm['start_date'] and
>>   dm['start_date'].strftime('%d/%m/%Y')>*
>>   *Names:*
>>
>>   {'container': <ProxyBTreeFolder at
>> /quality_express_src/workspaces/kmkey>,
>>    'context': <ProxyBTreeFolder at /quality_express_src/workspaces/kmkey>,
>>    'default': <Products.PageTemplates.TALES.Default instance at
>> 0xb6d773ac>,
>>    'here': <ProxyBTreeFolder at /quality_express_src/workspaces/kmkey>,
>>    'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xeffd6ec>,
>>    'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
>> instance at 0xb6d1fe8c>,
>>    'nothing': None,
>>    'options': {'args': (<Products.Five.metaclass.SimpleViewClass from
>> /usr/local/kmkey/zope/Products/KMKeyDefault/browser/accountUnits.pt
>> object at 0xea983cc>,)},
>>    'repeat': <Products.PageTemplates.TALES.SafeMapping object at
>> 0xeffd6ec>,
>>    'request': <HTTPRequest,
>> URL=http://protegopro.sytes.net/workspaces/kmkey/accountUnits.html>,
>>    'root': <Application at >,
>>    'template': <ImplicitAcquirerWrapper object at 0xeffdf4c>,
>>    'traverse_subpath': [],
>>    'user': <CPSUser adminkmkey>,
>>    'view': <Products.Five.metaclass.SimpleViewClass from
>> /usr/local/kmkey/zope/Products/KMKeyDefault/browser/accountUnits.pt
>> object at 0xea983cc>,
>>    'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
>> object at 0xeffd5ac>}
>>
>>   - Module Products.PageTemplates.PythonExpr, line 70, in __call__
>>   __traceback_info__: dm['start_date'] and
>>   dm['start_date'].strftime('%d/%m/%Y')
>>   - Module <string>, line 2, in f
>>   - Module Products.CPSSchemas.DataModel, line 171, in __getitem__
>>   - Module Products.CPSSchemas.DataModel, line 164, in checkReadAccess
>>
>> KeyError: 'start_date'
>>
>> Desde ya les agradezco su ayuda.
>>
>> Rafael.
>>
>
>
> --
> --
> -----------------
> Albert Buyó
> Earcon S.L. - http://www.earcon.com
>                 - http://www.kmkey.com
> _______________________________________________
> Kmkey-spanish mailing list
> Kmkey-spanish en lists.forge.osor.eu
> https://lists.forge.osor.eu/listinfo/kmkey-spanish



More information about the Kmkey-spanish mailing list