← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 738683] [NEW] Graph View does not work on Mac OSX through the macports

 

Public bug reported:

I tried to run OpenERP GTK client on Mac OSX using macports. Generally
it is working fine.

There are only two problems I am facing so far are:
1. Calendar view does not work because of there are no python-hippocanvas on macports (I reported it on #738678)
2. Graph view also does not work. Here I am reporing it.

Error message is
------
Environment Information : 
System : Darwin-10.6.0-i386-64bit
OS Name : posix
Your System is not lsb compliant
Operating System Release : 10.6.0
Operating System Version : Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.6
OpenERP-Client Version : 6.1-dev
Last revision No. & ID :1838 launchpad_translations_on_behalf_of_openerp-20110319051704-g23wtgck2xx0tnu3
Traceback (most recent call last):
  File "/Users/gobi/OpenERP/openobject-client/bin/widget/view/graph_gtk/parser.py", line 56, in parse
    import graph
  File "/Users/gobi/OpenERP/openobject-client/bin/widget/view/graph_gtk/graph.py", line 50, in <module>
    from matplotlib.backends.backend_gtkcairo import FigureCanvasGTKCairo as FigureCanvas
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_gtkcairo.py", line 10, in <module>
    from matplotlib.backends.backend_gtk import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py", line 28, in <module>
    from matplotlib.backends.backend_gdk import RendererGDK, FigureCanvasGDK
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_gdk.py", line 29, in <module>
    from matplotlib.backends._backend_gdk import pixbuf_get_pixels_array
ImportError: No module named _backend_gdk

** Affects: openobject-client
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/738683

Title:
  Graph View does not work on Mac OSX through the macports

Status in OpenERP GTK Client:
  New

Bug description:
  I tried to run OpenERP GTK client on Mac OSX using macports. Generally
  it is working fine.

  There are only two problems I am facing so far are:
  1. Calendar view does not work because of there are no python-hippocanvas on macports (I reported it on #738678)
  2. Graph view also does not work. Here I am reporing it.

  Error message is
  ------
  Environment Information : 
  System : Darwin-10.6.0-i386-64bit
  OS Name : posix
  Your System is not lsb compliant
  Operating System Release : 10.6.0
  Operating System Version : Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386
  Operating System Architecture : 64bit
  Operating System Locale : en_US.UTF8
  Python Version : 2.6.6
  OpenERP-Client Version : 6.1-dev
  Last revision No. & ID :1838 launchpad_translations_on_behalf_of_openerp-20110319051704-g23wtgck2xx0tnu3
  Traceback (most recent call last):
    File "/Users/gobi/OpenERP/openobject-client/bin/widget/view/graph_gtk/parser.py", line 56, in parse
      import graph
    File "/Users/gobi/OpenERP/openobject-client/bin/widget/view/graph_gtk/graph.py", line 50, in <module>
      from matplotlib.backends.backend_gtkcairo import FigureCanvasGTKCairo as FigureCanvas
    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_gtkcairo.py", line 10, in <module>
      from matplotlib.backends.backend_gtk import *
    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py", line 28, in <module>
      from matplotlib.backends.backend_gdk import RendererGDK, FigureCanvasGDK
    File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_gdk.py", line 29, in <module>
      from matplotlib.backends._backend_gdk import pixbuf_get_pixels_array
  ImportError: No module named _backend_gdk



Follow ups

References