Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

SyntaxError: JSON.parse: unexpected end of data at line 2 column 1 of the JSON data

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
reportopenerp7
3 Răspunsuri
14845 Vizualizări
Imagine profil
Rihene

Hello guys!!!

Please, i wprk with Reports.

I have added a new report. It has worked fine.

But now, it shows me this error:

SyntaxError: JSON.parse: unexpected end of data at line 2 column 1 of the JSON data

http://localhost:8069/web/webclient/js?db=openerp:3104

Trace:

2015-08-11 14:30:09,330 8601 ERROR openerp openerp.service.web_services: Exception: AttValue: " or ' expected, line 44, column 11

Traceback (most recent call last):

File "/opt/openerp/v7/server/openerp/service/web_services.py", line 712, in go

(result, format) = obj.create(cr, uid, ids, datas, context)

File "/opt/openerp/v7/addons/report_webkit/webkit_report.py", line 330, in create

return super(WebKitParser, self).create(cursor, uid, ids, data, context)

File "/opt/openerp/v7/server/openerp/report/report_sxw.py", line 442, in create

fnct_ret = fnct(cr, uid, ids, data, report_xml, context)

File "/opt/openerp/v7/server/openerp/report/report_sxw.py", line 511, in create_source_pdf

return self.create_single_pdf(cr, uid, ids, data, report_xml, context)

File "/opt/openerp/v7/addons/report_webkit/webkit_report.py", line 204, in create_single_pdf

return super(WebKitParser,self).create_single_pdf(cursor, uid, ids, data, report_xml, context=context)

File "/opt/openerp/v7/server/openerp/report/report_sxw.py", line 526, in create_single_pdf

processed_rml = etree.XML(rml)

File "lxml.etree.pyx", line 3012, in lxml.etree.XML (src/lxml/lxml.etree.c:68047)

File "parser.pxi", line 1786, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:102641)

File "parser.pxi", line 1674, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:101470)

File "parser.pxi", line 1074, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:96652)

File "parser.pxi", line 582, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:91461)

File "parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:92647)

File "parser.pxi", line 622, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:91943)

XMLSyntaxError: AttValue: " or ' expected, line 44, column 11

2015-08-11 14:30:09,566 8601 ERROR openerp openerp.netsvc: AttValue: " or ' expected, line 44, column 11

(<class 'lxml.etree.XMLSyntaxError'>, XMLSyntaxError(u'AttValue: " or \' expected, line 44, column 11',), <traceback object at 0x7f772877b488>)

Traceback (most recent call last):

File "/opt/openerp/v7/server/openerp/netsvc.py", line 296, in dispatch_rpc

result = ExportService.getService(service_name).dispatch(method, params)

File "/opt/openerp/v7/server/openerp/service/web_services.py", line 654, in dispatch

res = fn(db, uid, *params)

File "/opt/openerp/v7/server/openerp/service/web_services.py", line 760, in exp_report_get

return self._check_report(report_id)

File "/opt/openerp/v7/server/openerp/service/web_services.py", line 738, in _check_report

netsvc.abort_response(exc, exc.message, 'warning', exc.traceback)

File "/opt/openerp/v7/server/openerp/netsvc.py", line 71, in abort_response

raise openerp.osv.osv.except_osv(description, details)

except_osv: (u'AttValue: " or \' expected, line 44, column 11', (<class 'lxml.etree.XMLSyntaxError'>, XMLSyntaxError(u'AttValue: " or \' expected, line 44, column 11',), <traceback object at 0x7f772877b488>))

2015-08-11 14:30:09,568 8601 INFO openerp werkzeug: 127.0.0.1 - - [11/Aug/2015 14:30:09] "POST /web/report HTTP/1.1" 500 -

Who can help me please!!

Regards.

0
Imagine profil
Abandonează
Imagine profil
Rihene
Autor Cel mai bun răspuns

I have found the solution:

It was because of the OpenERP while installing modules, table res_company is missing some attributes :  name, city, zip, country_id...

When i have eliminated them the report works correctly.

So now, i have to reinstall an other database and be carefull in completing attributes of tables :)

Regards.

0
Imagine profil
Abandonează
Imagine profil
laribi
Cel mai bun răspuns

There is an error in xml file in which you defined the header of your report or the report. Please check it or upload and hope we find a solution.

0
Imagine profil
Abandonează
Rihene
Autor

Here is the new error: 2015-08-11 15:13:34,544 12271 ERROR openerp openerp.service.web_services: Exception: u'report.titre de conge' Traceback (most recent call last): File "/opt/openerp/v7/server/openerp/service/web_services.py", line 711, in go obj = netsvc.LocalService('report.'+object) File "/opt/openerp/v7/server/openerp/netsvc.py", line 98, in LocalService return Service._services[name] KeyError: u'report.titre de conge' 2015-08-11 15:13:34,794 12271 ERROR openerp openerp.netsvc: report.titre de conge (, KeyError(u'report.titre de conge',), ) Traceback (most recent call last): File "/opt/openerp/v7/server/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/opt/openerp/v7/server/openerp/service/web_services.py", line 654, in dispatch res = fn(db, uid, *params) File "/opt/openerp/v7/server/openerp/service/web_services.py", line 760, in exp_report_get return self._check_report(report_id) File "/opt/openerp/v7/server/openerp/service/web_services.py", line 738, in _check_report netsvc.abort_response(exc, exc.message, 'warning', exc.traceback) File "/opt/openerp/v7/server/openerp/netsvc.py", line 71, in abort_response raise openerp.osv.osv.except_osv(description, details) except_osv: (u'report.titre de conge', (, KeyError(u'report.titre de conge',), ))

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
ERROR openerp openerp.netsvc: AttValue: " or ' expected, line 44, column 11 Rezolvat
report openerp7
Imagine profil
1
aug. 15
5299
Python libraries xlrd and XlsxWriter for windows 2012 server not working
report openerp7 xlrd
Imagine profil
Imagine profil
Imagine profil
3
aug. 19
10605
Not allowed to navigate top frame to data URL ?
chrome report openerp7
Imagine profil
0
mai 18
14429
How do I get the supplier Invoice No to a statement in payments
report openerp7 statement
Imagine profil
0
ian. 17
4228
Ho to create a report to a popup in Openerp
report openerp7 popup
Imagine profil
0
dec. 15
76
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now