← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 774227] [NEW] calendar view crashing on OpenSuSE 11.4

 

Public bug reported:

after installing various hippo packages from
http://software.opensuse.org/search?q=hippocanvas&baseproject=openSUSE%3A11.4&lang=en&exclude_debug=true

CanvasBox is missing
no form with calendar view opens -
solution - uninstall thess packages again

HippoDraw
libhippocanvas-1-0-0.3.0-3.1.i586                                                                                                                              
libhippocanvas-1-0-python-0.3.0-3.1.i586
libhippocanvas-1-0-devel-0.3.0-3.1.i586
libhippocanvas-1-0-python-0.3.0-3.1.i586.rpm

>>> import hippo

>>> dir(hippo)
['Canvas', 'CanvasWindow', 'CircularBuffer', 'ColorValue', 'Cut', 'CutController', 'DataArray', 'DataRep', 'DataSource', 'Display', 'FCNBase', 'FactoryPointRep', 'FitsController', 'FitsNTuple', 'Fitter', 'FitterFactory', 'Function', 'FunctionBase', 'FunctionFactory', 'HDApp', 'Line', 'ListTuple', 'NTuple', 'NTupleController', 'NTupleFCN', 'NTupleInternal', 'Observable', 'Observer', 'PointRepFactory', 'RepBase', 'StatedFCN', 'Symbol', '__doc__', '__file__', '__name__', '__package__']

>>> import SpiffGtkWidgets
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build/bdist.linux-x86_64/egg/SpiffGtkWidgets/__init__.py", line 1, in <module>
    #
  File "build/bdist.linux-x86_64/egg/SpiffGtkWidgets/Calendar/__init__.py", line 1, in <module>
    #
  File "build/bdist.linux-x86_64/egg/SpiffGtkWidgets/Calendar/Calendar.py", line 24, in <module>
  File "build/bdist.linux-x86_64/egg/SpiffGtkWidgets/Calendar/CanvasDayRange.py", line 22, in <module>
  File "build/bdist.linux-x86_64/egg/SpiffGtkWidgets/Calendar/CanvasTimeline.py", line 20, in <module>
AttributeError: 'module' object has no attribute 'CanvasBox'


Traceback (most recent call last):
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/modules/gui/window/tree.py", line 297, in sc_go
    self.sig_action(None, 'tree_but_open', id)
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/modules/gui/window/tree.py", line 203, in sig_action
    warning=warning)
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/modules/action/main.py", line 199, in exec_keyword
    self._exec_action(action, data, context=context)
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/modules/action/main.py", line 143, in _exec_action
    limit=datas['limit'], auto_refresh=datas['auto_refresh'], auto_search = datas['auto_search'], search_view = datas['search_view'])
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/modules/gui/window/__init__.py", line 49, in create
    auto_refresh=auto_refresh, auto_search=auto_search, search_view=search_view)
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/modules/gui/window/form.py", line 73, in __init__
    show_search=True, window=self.window, limit=limit, readonly=bool(auto_refresh), auto_search=auto_search, search_view=search_view)
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/widget/screen/screen.py", line 129, in __init__
    view = self.add_view_id(view_id, view_type[0], help=help)
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/widget/screen/screen.py", line 582, in add_view_id
    toolbar=view.get('toolbar', False), submenu=view.get('submenu', False), context=context)
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/widget/screen/screen.py", line 610, in add_view
    from widget.view.widget_parse import widget_parse
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/widget/view/widget_parse.py", line 29, in <module>
    import calendar_gtk
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/widget/view/calendar_gtk/__init__.py", line 30, in <module>
    from parser import *
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/widget/view/calendar_gtk/parser.py", line 32, in <module>
    from SpiffGtkWidgets import Calendar
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/SpiffGtkWidgets/__init__.py", line 22, in <module>
    import Calendar
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/SpiffGtkWidgets/Calendar/__init__.py", line 19, in <module>
    from Calendar import Calendar
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/SpiffGtkWidgets/Calendar/Calendar.py", line 28, in <module>
    from CanvasDayRange        import CanvasDayRange
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/SpiffGtkWidgets/Calendar/CanvasDayRange.py", line 26, in <module>
    from CanvasTimeline   import CanvasTimeline
  File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/SpiffGtkWidgets/Calendar/CanvasTimeline.py", line 24, in <module>
    class CanvasTimeline(hippo.CanvasBox):
AttributeError: 'module' object has no attribute 'CanvasBox'

** 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/774227

Title:
  calendar view crashing on OpenSuSE 11.4

Status in OpenERP GTK Client:
  New

Bug description:
  after installing various hippo packages from
  http://software.opensuse.org/search?q=hippocanvas&baseproject=openSUSE%3A11.4&lang=en&exclude_debug=true

  CanvasBox is missing
  no form with calendar view opens -
  solution - uninstall thess packages again

  HippoDraw
  libhippocanvas-1-0-0.3.0-3.1.i586                                                                                                                              
  libhippocanvas-1-0-python-0.3.0-3.1.i586
  libhippocanvas-1-0-devel-0.3.0-3.1.i586
  libhippocanvas-1-0-python-0.3.0-3.1.i586.rpm

  >>> import hippo

  >>> dir(hippo)
  ['Canvas', 'CanvasWindow', 'CircularBuffer', 'ColorValue', 'Cut', 'CutController', 'DataArray', 'DataRep', 'DataSource', 'Display', 'FCNBase', 'FactoryPointRep', 'FitsController', 'FitsNTuple', 'Fitter', 'FitterFactory', 'Function', 'FunctionBase', 'FunctionFactory', 'HDApp', 'Line', 'ListTuple', 'NTuple', 'NTupleController', 'NTupleFCN', 'NTupleInternal', 'Observable', 'Observer', 'PointRepFactory', 'RepBase', 'StatedFCN', 'Symbol', '__doc__', '__file__', '__name__', '__package__']

  >>> import SpiffGtkWidgets
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "build/bdist.linux-x86_64/egg/SpiffGtkWidgets/__init__.py", line 1, in <module>
      #
    File "build/bdist.linux-x86_64/egg/SpiffGtkWidgets/Calendar/__init__.py", line 1, in <module>
      #
    File "build/bdist.linux-x86_64/egg/SpiffGtkWidgets/Calendar/Calendar.py", line 24, in <module>
    File "build/bdist.linux-x86_64/egg/SpiffGtkWidgets/Calendar/CanvasDayRange.py", line 22, in <module>
    File "build/bdist.linux-x86_64/egg/SpiffGtkWidgets/Calendar/CanvasTimeline.py", line 20, in <module>
  AttributeError: 'module' object has no attribute 'CanvasBox'

  
  Traceback (most recent call last):
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/modules/gui/window/tree.py", line 297, in sc_go
      self.sig_action(None, 'tree_but_open', id)
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/modules/gui/window/tree.py", line 203, in sig_action
      warning=warning)
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/modules/action/main.py", line 199, in exec_keyword
      self._exec_action(action, data, context=context)
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/modules/action/main.py", line 143, in _exec_action
      limit=datas['limit'], auto_refresh=datas['auto_refresh'], auto_search = datas['auto_search'], search_view = datas['search_view'])
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/modules/gui/window/__init__.py", line 49, in create
      auto_refresh=auto_refresh, auto_search=auto_search, search_view=search_view)
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/modules/gui/window/form.py", line 73, in __init__
      show_search=True, window=self.window, limit=limit, readonly=bool(auto_refresh), auto_search=auto_search, search_view=search_view)
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/widget/screen/screen.py", line 129, in __init__
      view = self.add_view_id(view_id, view_type[0], help=help)
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/widget/screen/screen.py", line 582, in add_view_id
      toolbar=view.get('toolbar', False), submenu=view.get('submenu', False), context=context)
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/widget/screen/screen.py", line 610, in add_view
      from widget.view.widget_parse import widget_parse
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/widget/view/widget_parse.py", line 29, in <module>
      import calendar_gtk
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/widget/view/calendar_gtk/__init__.py", line 30, in <module>
      from parser import *
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/widget/view/calendar_gtk/parser.py", line 32, in <module>
      from SpiffGtkWidgets import Calendar
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/SpiffGtkWidgets/__init__.py", line 22, in <module>
      import Calendar
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/SpiffGtkWidgets/Calendar/__init__.py", line 19, in <module>
      from Calendar import Calendar
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/SpiffGtkWidgets/Calendar/Calendar.py", line 28, in <module>
      from CanvasDayRange        import CanvasDayRange
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/SpiffGtkWidgets/Calendar/CanvasDayRange.py", line 26, in <module>
      from CanvasTimeline   import CanvasTimeline
    File "/sw/home/gass/OpenERP/trunk/openobject-client/6.0/bin/SpiffGtkWidgets/Calendar/CanvasTimeline.py", line 24, in <module>
      class CanvasTimeline(hippo.CanvasBox):
  AttributeError: 'module' object has no attribute 'CanvasBox'


Follow ups

References