OpenERP [6.0] AttributeError:'NoneType'对象没有属性'close'

时间:2014-01-29 10:05:11

标签: openerp

我正在使用GTK Openerp 6.0

我在处理多个报告时遇到错误。这是错误代码:


[2014-01-30 10:07:09,874][core_db] DEBUG:init:loading 1 packages..

[2014-01-30 10:07:09,874][core_db] INFO:init:module base: loading objects

[2014-01-30 10:07:11,446][core_db] DEBUG:init:Updating graph with 33 more modules

[2014-01-30 10:07:11,447][core_db] DEBUG:init:loading 34 packages..

[2014-01-30 10:07:11,447][core_db] INFO:init:module base: loading objects

[2014-01-30 10:07:11,546][core_db] INFO:init:module process: loading objects

[2014-01-30 10:07:11,553][core_db] INFO:init:module base_setup: loading objects

[2014-01-30 10:07:11,556][core_db] INFO:init:module board: loading objects

[2014-01-30 10:07:11,565][core_db] INFO:init:module decimal_precision: loading objects

[2014-01-30 10:07:11,566][core_db] INFO:init:module web_livechat: loading objects

[2014-01-30 10:07:11,568][core_db] INFO:init:module analytic: loading objects

[2014-01-30 10:07:11,757][core_db] INFO:init:module product: loading objects

[2014-01-30 10:07:11,782][core_db] INFO:init:module resource: loading objects

[2014-01-30 10:07:11,789][core_db] INFO:init:module hr: loading objects

[2014-01-30 10:07:11,799][core_db] INFO:init:module account: loading objects

[2014-01-30 10:07:11,895][core_db] INFO:init:module base_iban: loading objects

[2014-01-30 10:07:11,895][core_db] INFO:init:module base_iban: registering objects

[2014-01-30 10:07:11,944][core_db] INFO:init:module account_voucher: loading objects

[2014-01-30 10:07:11,957][core_db] INFO:init:module account_chart: loading objects

[2014-01-30 10:07:11,957][core_db] INFO:init:module account_chart: registering objects

[2014-01-30 10:07:11,960][core_db] INFO:init:module account_accountant: loading objects

[2014-01-30 10:07:11,960][core_db] INFO:init:module account_invoice_layout: loading objects

[2014-01-30 10:07:11,967][core_db] INFO:init:module stock: loading objects

[2014-01-30 10:07:12,003][core_db] INFO:init:module base_vat: loading objects

[2014-01-30 10:07:12,005][core_db] INFO:init:module base_vat: registering objects

[2014-01-30 10:07:12,023][core_db] INFO:init:module procurement: loading objects

[2014-01-30 10:07:12,036][core_db] INFO:init:module account_payment: loading objects

[2014-01-30 10:07:12,046][core_db] INFO:init:module account_coda: loading objects

[2014-01-30 10:07:12,046][core_db] INFO:init:module account_coda: registering objects

[2014-01-30 10:07:12,089][core_db] INFO:init:module l10n_be: loading objects

[2014-01-30 10:07:12,091][core_db] INFO:init:module l10n_be: registering objects

[2014-01-30 10:07:12,167][core_db] INFO:init:module purchase: loading objects

[2014-01-30 10:07:12,194][core_db] INFO:init:module sale: loading objects

[2014-01-30 10:07:12,209][core_db] INFO:init:module sale_journal: loading objects

[2014-01-30 10:07:12,217][core_db] INFO:init:module purchase_requisition: loading objects

[2014-01-30 10:07:12,226][core_db] INFO:init:module sale_margin: loading objects

[2014-01-30 10:07:12,236][core_db] INFO:init:module delivery: loading objects

[2014-01-30 10:07:12,250][core_db] INFO:init:module sale_order_dates: loading objects

[2014-01-30 10:07:12,253][core_db] INFO:init:module mrp: loading objects

[2014-01-30 10:07:12,282][core_db] INFO:init:module sale_layout: loading objects

[2014-01-30 10:07:12,282][core_db] INFO:init:module sale_layout: registering objects


[2014-01-30 10:07:12,349][core_db] INFO:init:module mrp_repair: loading objects

[2014-01-30 10:07:12,357][core_db] INFO:init:module mrp_operations: loading objects

[2014-01-30 10:07:12,369][core_db] INFO:init:module point_of_sale: loading objects

[2014-01-30 10:07:12,789][core_db] DEBUG:netsvc.agent:Cancel timers for core_db db

[2014-01-30 10:07:13,217][core_db] INFO:web-service:bad login or password from 'admin' using 
database 'core_db'

[2014-01-30 10:07:15,888][core_db] INFO:web-service:successful login from 'admin' using database 'core_db'

[2014-01-30 10:07:19,680][core_db] INFO:web-service:successful login from 'admin' using database 'core_db'

[2014-01-30 10:07:38,848][core_db] DEBUG:addons.account.account:Filters:  AND l.state <> 'draft' AND l.period_id IN (SELECT id FROM account_period WHERE fiscalyear_id IN (1))  AND l.move_id IN (SELECT id FROM account_move WHERE account_move.state = 'posted')

[2014-01-30 10:07:39,026][core_db] DEBUG:addons.account.account:Filters:  AND l.state <> 'draft' AND l.period_id IN (SELECT id FROM account_period WHERE fiscalyear_id IN (1))  AND l.move_id IN (SELECT id FROM account_move WHERE account_move.state = 'posted')

[2014-01-30 10:07:39,068][core_db] DEBUG:addons.account.account:Status: SELECT

[2014-01-30 10:07:39,069][core_db] DEBUG:addons.account.account:Status: SELECT

[2014-01-30 10:07:46,686][core_db] DEBUG:addons.account.account:Filters:  AND l.state <> 'draft' AND l.period_id IN (SELECT id FROM account_period WHERE fiscalyear_id IN (1))  AND l.move_id IN (SELECT id FROM account_move WHERE account_move.state = 'posted')

[2014-01-30 10:07:46,691][core_db] DEBUG:addons.account.account:Status: SELECT

[2014-01-30 10:07:48,430][core_db] DEBUG:addons.account.account:Filters:  AND l.state <> 'draft' AND l.period_id IN (SELECT id FROM account_period WHERE fiscalyear_id IN (1))  AND l.move_id IN (SELECT id FROM account_move WHERE account_move.state = 'posted')

[2014-01-30 10:07:48,446][core_db] DEBUG:addons.account.account:Status: SELECT

[2014-01-30 10:07:48,936][core_db] DEBUG:addons.account.account:Filters:  AND l.state <> 
'draft' AND l.period_id IN (SELECT id FROM account_period WHERE fiscalyear_id IN (1))  AND l.move_id IN (SELECT id FROM account_move WHERE account_move.state = 'posted')

[2014-01-30 10:07:48,951][core_db] DEBUG:addons.account.account:Status: SELECT

[2014-01-30 10:07:51,164][core_db] DEBUG:addons.account.account:Filters:  AND l.state <> 'draft' AND l.period_id IN (SELECT id FROM account_period WHERE fiscalyear_id IN (1))  AND l.move_id IN (SELECT id FROM account_move WHERE account_move.state = 'posted')

[2014-01-30 10:07:51,176][core_db] DEBUG:addons.account.account:Status: SELECT

[2014-01-30 10:07:51,244][core_db] DEBUG:netsvc.agent:Run ir_cron._poolJobs(*('core_db',), **{})

[2014-01-30 10:07:51,940][core_db] ERROR:web-services:[01]: Exception: recursive feed

[2014-01-30 10:07:51,941][core_db] ERROR:web-services:[01]: Exception: 'NoneType' object has no attribute 'close'

[2014-01-30 10:07:51,943][core_db] ERROR:web-services:[02]: Traceback (most recent call last):

[2014-01-30 10:07:51,943][core_db] ERROR:web-services:[02]: Traceback (most recent call last):

[2014-01-30 10:07:51,944][core_db] ERROR:web-services:[03]:   File "service\web_services.pyo", line 724, in go

[2014-01-30 10:07:51,944][core_db] ERROR:web-services:[03]:   File "service\web_services.pyo", line 724, in go

[2014-01-30 10:07:51,944][core_db] ERROR:web-services:[04]:   File "report\report_sxw.pyo", line 418, in create

[2014-01-30 10:07:51,944][core_db] ERROR:web-services:[04]:   File "report\report_sxw.pyo", line 418, in create

[2014-01-30 10:07:51,946][core_db] ERROR:web-services:[05]:   File "report\report_sxw.pyo", line 481, in create_source_pdf

[2014-01-30 10:07:51,947][core_db] ERROR:web-services:[05]:   File "report\report_sxw.pyo", line 481, in create_source_pdf

[2014-01-30 10:07:51,947][core_db] ERROR:web-services:[06]:   File "report\report_sxw.pyo", line 503, in create_single_pdf

[2014-01-30 10:07:51,947][core_db] ERROR:web-services:[06]:   File "report\report_sxw.pyo", line 503, in create_single_pdf

[2014-01-30 10:07:51,947][core_db] ERROR:web-services:[07]:   File "report\interface.pyo", line 193, in create_pdf

[2014-01-30 10:07:51,947][core_db] ERROR:web-services:[07]:   File "report\interface.pyo", line 193, in create_pdf

[2014-01-30 10:07:51,947][core_db] ERROR:web-services:[08]:   File "report\render\render.pyo", line 63, in render

[2014-01-30 10:07:51,948][core_db] ERROR:web-services:[08]:   File "report\render\render.pyo", line 63, in render

[2014-01-30 10:07:51,948][core_db] ERROR:web-services:[09]:   File "report\render\rml.pyo", line 41, in _render

[2014-01-30 10:07:51,948][core_db] ERROR:web-services:[09]:   File "report\render\rml.pyo", line 41, in _render

[2014-01-30 10:07:51,950][core_db] ERROR:web-services:[10]:   File "report\render\rml2pdf\trml2pdf.pyo", line 971, in parseNode

[2014-01-30 10:07:51,950][core_db] ERROR:web-services:[10]:   File "report\render\rml2pdf\trml2pdf.pyo", line 971, in parseNode

[2014-01-30 10:07:51,950][core_db] ERROR:web-services:[11]:   File "report\render\rml2pdf\trml2pdf.pyo", line 303, in render

[2014-01-30 10:07:51,950][core_db] ERROR:web-services:[11]:   File "report\render\rml2pdf\trml2pdf.pyo", line 303, in render

[2014-01-30 10:07:51,950][core_db] ERROR:web-services:[12]:   File "report\render\rml2pdf\trml2pdf.pyo", line 942, in render

[2014-01-30 10:07:51,951][core_db] ERROR:web-services:[12]:   File "report\render\rml2pdf\trml2pdf.pyo", line 942, in render

[2014-01-30 10:07:51,951][core_db] ERROR:web-services:[13]:   File "report\render\rml2pdf\trml2pdf.pyo", line 861, in render

[2014-01-30 10:07:51,951][core_db] ERROR:web-services:[13]:   File "report\render\rml2pdf\trml2pdf.pyo", line 861, in render

[2014-01-30 10:07:51,953][core_db] ERROR:web-services:[14]:   File "report\render\rml2pdf\trml2pdf.pyo", line 854, in process_story

[2014-01-30 10:07:51,953][core_db] ERROR:web-services:[14]:   File "report\render\rml2pdf\trml2pdf.pyo", line 854, in process_story

[2014-01-30 10:07:51,953][core_db] ERROR:web-services:[15]:   File "report\render\rml2pdf\trml2pdf.pyo", line 723, in _flowable

[2014-01-30 10:07:51,953][core_db] ERROR:web-services:[15]:   File "report\render\rml2pdf\trml2pdf.pyo", line 723, in _flowable

[2014-01-30 10:07:51,953][core_db] ERROR:web-services:[16]:   File "report\render\rml2pdf\trml2pdf.pyo", line 713, in _pto

[2014-01-30 10:07:51,953][core_db] ERROR:web-services:[16]:   File "report\render\rml2pdf\trml2pdf.pyo", line 713, in _pto

[2014-01-30 10:07:51,954][core_db] ERROR:web-services:[17]:   File "report\render\rml2pdf\trml2pdf.pyo", line 818, in _flowable

[2014-01-30 10:07:51,954][core_db] ERROR:web-services:[17]:   File "report\render\rml2pdf\trml2pdf.pyo", line 818, in _flowable

[2014-01-30 10:07:51,954][core_db] ERROR:web-services:[18]:   File "report\render\rml2pdf\trml2pdf.pyo", line 861, in render

[2014-01-30 10:07:51,954][core_db] ERROR:web-services:[18]:   File "report\render\rml2pdf\trml2pdf.pyo", line 861, in render

[2014-01-30 10:07:51,956][core_db] ERROR:web-services:[19]:   File 
"report\render\rml2pdf\trml2pdf.pyo", line 854, in process_story

[2014-01-30 10:07:51,956][core_db] ERROR:web-services:[19]:   File "report\render\rml2pdf\trml2pdf.pyo", line 854, in process_story

[2014-01-30 10:07:51,956][core_db] ERROR:web-services:[20]:   File "report\render\rml2pdf\trml2pdf.pyo", line 777, in _flowable

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[20]:   File "report\render\rml2pdf\trml2pdf.pyo", line 777, in _flowable

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[21]:   File "report\render\rml2pdf\trml2pdf.pyo", line 661, in _table

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[21]:   File "report\render\rml2pdf\trml2pdf.pyo", line 661, in _table

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[22]:   File "report\render\rml2pdf\trml2pdf.pyo", line 730, in _flowable

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[22]:   File "report\render\rml2pdf\trml2pdf.pyo", line 730, in _flowable

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[23]:   File "reportlab\platypus\paragraph.pyo", line 827, in __init__

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[23]:   File "reportlab\platypus\paragraph.pyo", line 827, in __init__

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[24]:   File "reportlab\platypus\paragraph.pyo", line 842, in _setup

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[24]:   File "reportlab\platypus\paragraph.pyo", line 842, in _setup

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[25]:   File "reportlab\platypus\paraparser.pyo", line 1057, in parse

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[25]:   File "reportlab\platypus\paraparser.pyo", line 1057, in parse

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[26]:   File "reportlab\lib\xmllib.pyo", line 521, in close

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[26]:   File "reportlab\lib\xmllib.pyo", line 521, in close

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[27]: AssertionError: recursive feed

[2014-01-30 10:07:51,957][core_db] ERROR:web-services:[27]: AttributeError: 'NoneType' 
object has no attribute 'close'

[2014-01-30 10:07:52,232][core_db] DEBUG:web-services:netrpc: rpc-dispatching exception
Traceback (most recent call last):
  File "service\netrpc_server.pyo", line 70, in run
  File "netsvc.pyo", line 499, in dispatch
OpenERPDispatcherException

[2014-01-30 10:07:52,710][core_db] DEBUG:web-services:netrpc: rpc-dispatching exception
Traceback (most recent call last):
  File "service\netrpc_server.pyo", line 70, in run
  File "netsvc.pyo", line 499, in dispatch
OpenERPDispatcherException

你们之前有没有遇到过这个问题?请帮我解决这个问题.. 谢谢大家。

0 个答案:

没有答案