jasper module errors on v6

Bug #623649 reported by David Mitchell (www.novapointgroup.com)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openobject-jasper-reports
New
Undecided
Unassigned

Bug Description

Upon installation of the Jasper Reports module on v6 received the following errors:
System: Fedora 12.

#1 Error on configuration after install.
  File "/usr/lib/python2.6/site-packages/openerp-server/addons/jasper_reports/jasper_report.py", line 255, in new_register_all
    register_jasper_report( record['report_name'], record['model'] )
  File "/usr/lib/python2.6/site-packages/openerp-server/addons/jasper_reports/jasper_report.py", line 235, in register_jasper_report
    if netsvc.service_exist( name ):
AttributeError: 'module' object has no attribute 'service_exist'

The menu's still appear.

#2 Error on creation of xml file
Error traceback on Save AS of new xml data file on v6 (Partner is the object) using 4 levels
404 Not Found
The path '/form/save_binary_data/jasper.xml' was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/lib/python2.6/site-packages/openobject_web-5.2dev-py2.6.egg/openobject/tools/_expose.py", line 202, in func_wrapper
    res = func(*args, **kw)
  File "/usr/lib/python2.6/site-packages/openobject_web-5.2dev-py2.6.egg/openobject/controllers/_root.py", line 37, in default
    return request.handler()
  File "/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cperror.py", line 227, in __call__
    raise self
NotFound: (404, "The path '/form/save_binary_data/jasper.xml' was not found.")

Issue #3
Issue when uploading <reportname.jrxml> file
No report has been marked as default

Revision history for this message
David Mitchell (www.novapointgroup.com) (david-novapointgroup.com) wrote :
Revision history for this message
Albert Cervera i Areny - http://www.NaN-tic.com (albert-nan) wrote : Re: [Bug 623649] [NEW] jasper module errors on v6

Note that neither Koo nor the rest of modules of the repository support
OpenERP v6 at the moment.

A Dimecres, 25 d'agost de 2010, David Mitchell (www.novapointgroup.com) va
escriure:
> Public bug reported:
>
> Upon installation of the Jasper Reports module on v6 received the following
> errors: System: Fedora 12.
>
> #1 Error on configuration after install.
> File
> "/usr/lib/python2.6/site-packages/openerp-server/addons/jasper_reports/jas
> per_report.py", line 255, in new_register_all register_jasper_report(
> record['report_name'], record['model'] ) File
> "/usr/lib/python2.6/site-packages/openerp-server/addons/jasper_reports/jas
> per_report.py", line 235, in register_jasper_report if
> netsvc.service_exist( name ):
> AttributeError: 'module' object has no attribute 'service_exist'
>
> The menu's still appear.
>
> #2 Error on creation of xml file
> Error traceback on Save AS of new xml data file on v6 (Partner is the
> object) using 4 levels 404 Not Found
> The path '/form/save_binary_data/jasper.xml' was not found.
> Traceback (most recent call last):
> File
> "/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpreq
> uest.py", line 606, in respond cherrypy.response.body = self.handler()
> File
> "/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdis
> patch.py", line 25, in __call__ return self.callable(*self.args,
> **self.kwargs)
> File
> "/usr/lib/python2.6/site-packages/openobject_web-5.2dev-py2.6.egg/openobje
> ct/tools/_expose.py", line 202, in func_wrapper res = func(*args, **kw)
> File
> "/usr/lib/python2.6/site-packages/openobject_web-5.2dev-py2.6.egg/openobje
> ct/controllers/_root.py", line 37, in default return request.handler()
> File
> "/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cperr
> or.py", line 227, in __call__ raise self
> NotFound: (404, "The path '/form/save_binary_data/jasper.xml' was not
> found.")
>
> Issue #3
> Issue when uploading <reportname.jrxml> file
> No report has been marked as default
>
> ** Affects: openobject-client-kde
> Importance: Undecided
> Status: New
>
>
> ** Tags: jasper openerp reports v6

--
Albert Cervera i Areny
http://www.NaN-tic.com
OpenERP Partners
Mòbil: +34 669 40 40 18

http://twitter.com/albertnan
http://albert-nan.blogspot.com

Revision history for this message
David Mitchell (www.novapointgroup.com) (david-novapointgroup.com) wrote :
Download full text (5.3 KiB)

Hi Albert,

We understand that we may be venturing into uncharted territory with trying
the jasper_reports module on v6. What we're trying to determine is if these
are errors that we can fix - or get fixed relatively easily. We'd like to
use the Jasper Reports capability with v6 - which some of our clients in the
US are using initially versus using v5.0.xx. It's the bleeding edge we know
due to all the errors - but nonetheless we are looking at it.

Are you aware of any other issues or any refactoring that needs to be
completed in the module to have it work with v6?
Or any timeframes you or other's may have looking at jasper/v6
compatability?

Thanks as always for your great work.

David Mitchell

On Tue, Aug 24, 2010 at 7:34 PM, Albert Cervera i Areny -
http://www.NaN-tic.com <email address hidden> wrote:

> Note that neither Koo nor the rest of modules of the repository support
> OpenERP v6 at the moment.
>
> A Dimecres, 25 d'agost de 2010, David Mitchell (www.novapointgroup.com) va
> escriure:
> > Public bug reported:
> >
> > Upon installation of the Jasper Reports module on v6 received the
> following
> > errors: System: Fedora 12.
> >
> > #1 Error on configuration after install.
> > File
> >
> "/usr/lib/python2.6/site-packages/openerp-server/addons/jasper_reports/jas
> > per_report.py", line 255, in new_register_all register_jasper_report(
> > record['report_name'], record['model'] ) File
> >
> "/usr/lib/python2.6/site-packages/openerp-server/addons/jasper_reports/jas
> > per_report.py", line 235, in register_jasper_report if
> > netsvc.service_exist( name ):
> > AttributeError: 'module' object has no attribute 'service_exist'
> >
> > The menu's still appear.
> >
> > #2 Error on creation of xml file
> > Error traceback on Save AS of new xml data file on v6 (Partner is the
> > object) using 4 levels 404 Not Found
> > The path '/form/save_binary_data/jasper.xml' was not found.
> > Traceback (most recent call last):
> > File
> >
> "/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpreq
> > uest.py", line 606, in respond cherrypy.response.body = self.handler()
> > File
> >
> "/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdis
> > patch.py", line 25, in __call__ return self.callable(*self.args,
> > **self.kwargs)
> > File
> >
> "/usr/lib/python2.6/site-packages/openobject_web-5.2dev-py2.6.egg/openobje
> > ct/tools/_expose.py", line 202, in func_wrapper res = func(*args, **kw)
> > File
> >
> "/usr/lib/python2.6/site-packages/openobject_web-5.2dev-py2.6.egg/openobje
> > ct/controllers/_root.py", line 37, in default return request.handler()
> > File
> >
> "/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cperr
> > or.py", line 227, in __call__ raise self
> > NotFound: (404, "The path '/form/save_binary_data/jasper.xml' was not
> > found.")
> >
> > Issue #3
> > Issue when uploading <reportname.jrxml> file
> > No report has been marked as default
> >
> > ** Affects: openobject-client-kde
> > Importance: Undecided
> > Status: New
> >
> >
> > ** Tags: jasper openerp reports v6
>
>
> --
> Albert Cervera i Areny
> http://www.NaN-tic.com
> OpenERP Partners
> Mòbil: +34...

Read more...

Revision history for this message
Albert Cervera i Areny - http://www.NaN-tic.com (albert-nan) wrote :
Download full text (6.5 KiB)

A Dimecres, 25 d'agost de 2010, David Mitchell (www.novapointgroup.com) va
escriure:
> Hi Albert,
>
> We understand that we may be venturing into uncharted territory with trying
> the jasper_reports module on v6. What we're trying to determine is if these
> are errors that we can fix - or get fixed relatively easily. We'd like to
> use the Jasper Reports capability with v6 - which some of our clients in
> the US are using initially versus using v5.0.xx. It's the bleeding edge we
> know due to all the errors - but nonetheless we are looking at it.

Sure. Just to be sure you know it's not been tested/ported yet. Let me know if
you think you can find some resources/fundings to suport that before we can do
that ourselves.

> Are you aware of any other issues or any refactoring that needs to be
> completed in the module to have it work with v6?

No, sorry. Although I think it won't be a lot of work, we haven't looked at
it.

> Or any timeframes you or other's may have looking at jasper/v6
> compatability?

No again here, sorry. I think we better give no schedules than giving some
unrealistic ones. Contributions are welcomed, however.

> Thanks as always for your great work.
>
> David Mitchell
>
> On Tue, Aug 24, 2010 at 7:34 PM, Albert Cervera i Areny -
>
> http://www.NaN-tic.com <email address hidden> wrote:
> > Note that neither Koo nor the rest of modules of the repository support
> > OpenERP v6 at the moment.
> >
> > A Dimecres, 25 d'agost de 2010, David Mitchell (www.novapointgroup.com)
> > va
> >
> > escriure:
> > > Public bug reported:
> > >
> > > Upon installation of the Jasper Reports module on v6 received the
> >
> > following
> >
> > > errors: System: Fedora 12.
> > >
> > > #1 Error on configuration after install.
> > >
> > > File
> >
> > "/usr/lib/python2.6/site-packages/openerp-server/addons/jasper_reports/ja
> > s
> >
> > > per_report.py", line 255, in new_register_all register_jasper_report(
> > > record['report_name'], record['model'] ) File
> >
> > "/usr/lib/python2.6/site-packages/openerp-server/addons/jasper_reports/ja
> > s
> >
> > > per_report.py", line 235, in register_jasper_report if
> > > netsvc.service_exist( name ):
> > > AttributeError: 'module' object has no attribute 'service_exist'
> > >
> > > The menu's still appear.
> > >
> > > #2 Error on creation of xml file
> > > Error traceback on Save AS of new xml data file on v6 (Partner is the
> > > object) using 4 levels 404 Not Found
> > > The path '/form/save_binary_data/jasper.xml' was not found.
> > >
> > > Traceback (most recent call last):
> > > File
> >
> > "/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpre
> > q
> >
> > > uest.py", line 606, in respond cherrypy.response.body = self.handler()
> > >
> > > File
> >
> > "/usr/lib/python2.6/site-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdi
> > s
> >
> > > patch.py", line 25, in __call__ return self.callable(*self.args,
> > > **self.kwargs)
> > >
> > > File
> >
> > "/usr/lib/python2.6/site-packages/openobject_web-5.2dev-py2.6.egg/openobj
> > e
> >
> > > ct/tools/_expose.py", line 202, in func_wrapper res = func(*args, **kw)
> > >
> > > File
> >
> > "/usr...

Read more...

affects: openobject-client-kde → openobject-jasper-reports
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.