TypeError: instancemethod expected at least 2 arguments, got 0

File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/backend_qt4.py", line 463, in edit_parameters
     figureoptions.figure_edit(axes, self)
   File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/qt4_editor/figureoptions.py", line 132, in figure_edit
     icon=get_icon('qt4_editor_options.svg'), apply=apply_callback)
   File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/qt4_editor/formlayout.py", line 511, in fedit
     dialog = FormDialog(data, title, comment, icon, parent, apply)
   File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/qt4_editor/formlayout.py", line 416, in __init__
     parent=self)
   File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/qt4_editor/formlayout.py", line 390, in __init__
     widget = FormComboWidget(data, comment=comment, parent=self)
   File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/qt4_editor/formlayout.py", line 368, in __init__
     widget = FormWidget(data, comment=comment, parent=self)
   File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/qt4_editor/formlayout.py", line 233, in __init__
     self.data = deepcopy(data)
   File "/usr/lib64/python2.6/copy.py", line 162, in deepcopy
     y = copier(x, memo)
   File "/usr/lib64/python2.6/copy.py", line 228, in _deepcopy_list
     y.append(deepcopy(a, memo))
   File "/usr/lib64/python2.6/copy.py", line 162, in deepcopy
     y = copier(x, memo)
   File "/usr/lib64/python2.6/copy.py", line 235, in _deepcopy_tuple
     y.append(deepcopy(a, memo))
   File "/usr/lib64/python2.6/copy.py", line 162, in deepcopy
     y = copier(x, memo)
   File "/usr/lib64/python2.6/copy.py", line 228, in _deepcopy_list
     y.append(deepcopy(a, memo))
   File "/usr/lib64/python2.6/copy.py", line 162, in deepcopy
     y = copier(x, memo)
   File "/usr/lib64/python2.6/copy.py", line 292, in _deepcopy_inst
     state = deepcopy(state, memo)
   File "/usr/lib64/python2.6/copy.py", line 162, in deepcopy
     y = copier(x, memo)
   File "/usr/lib64/python2.6/copy.py", line 255, in _deepcopy_dict
     y[deepcopy(key, memo)] = deepcopy(value, memo)
   File "/usr/lib64/python2.6/copy.py", line 189, in deepcopy
     y = _reconstruct(x, rv, 1, memo)
   File "/usr/lib64/python2.6/copy.py", line 323, in _reconstruct
     y = callable(*args)
   File "/usr/lib64/python2.6/copy_reg.py", line 93, in __newobj__
     return cls.__new__(cls, *args)
TypeError: instancemethod expected at least 2 arguments, got 0

How does one reproduce this?

Mike

···

On 10/09/2011 04:32 AM, Nils Wagner wrote:

    File
"/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/backend_qt4.py",
line 463, in edit_parameters
      figureoptions.figure_edit(axes, self)
    File
"/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/qt4_editor/figureoptions.py",
line 132, in figure_edit
      icon=get_icon('qt4_editor_options.svg'),
apply=apply_callback)
    File
"/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/qt4_editor/formlayout.py",
line 511, in fedit
      dialog = FormDialog(data, title, comment, icon,
parent, apply)
    File
"/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/qt4_editor/formlayout.py",
line 416, in __init__
      parent=self)
    File
"/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/qt4_editor/formlayout.py",
line 390, in __init__
      widget = FormComboWidget(data, comment=comment,
parent=self)
    File
"/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/qt4_editor/formlayout.py",
line 368, in __init__
      widget = FormWidget(data, comment=comment,
parent=self)
    File
"/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/qt4_editor/formlayout.py",
line 233, in __init__
      self.data = deepcopy(data)
    File "/usr/lib64/python2.6/copy.py", line 162, in
deepcopy
      y = copier(x, memo)
    File "/usr/lib64/python2.6/copy.py", line 228, in
_deepcopy_list
      y.append(deepcopy(a, memo))
    File "/usr/lib64/python2.6/copy.py", line 162, in
deepcopy
      y = copier(x, memo)
    File "/usr/lib64/python2.6/copy.py", line 235, in
_deepcopy_tuple
      y.append(deepcopy(a, memo))
    File "/usr/lib64/python2.6/copy.py", line 162, in
deepcopy
      y = copier(x, memo)
    File "/usr/lib64/python2.6/copy.py", line 228, in
_deepcopy_list
      y.append(deepcopy(a, memo))
    File "/usr/lib64/python2.6/copy.py", line 162, in
deepcopy
      y = copier(x, memo)
    File "/usr/lib64/python2.6/copy.py", line 292, in
_deepcopy_inst
      state = deepcopy(state, memo)
    File "/usr/lib64/python2.6/copy.py", line 162, in
deepcopy
      y = copier(x, memo)
    File "/usr/lib64/python2.6/copy.py", line 255, in
_deepcopy_dict
      y[deepcopy(key, memo)] = deepcopy(value, memo)
    File "/usr/lib64/python2.6/copy.py", line 189, in
deepcopy
      y = _reconstruct(x, rv, 1, memo)
    File "/usr/lib64/python2.6/copy.py", line 323, in
_reconstruct
      y = callable(*args)
    File "/usr/lib64/python2.6/copy_reg.py", line 93, in
__newobj__
      return cls.__new__(cls, *args)
TypeError: instancemethod expected at least 2 arguments,
got 0

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options