This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: TypeError in deepcopy
Type: crash Stage:
Components: Library (Lib) Versions: Python 2.5
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: efrerich, gvanrossum
Priority: normal Keywords:

Created on 2008-01-24 17:34 by efrerich, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg61641 - (view) Author: Egon Frerich (efrerich) Date: 2008-01-24 17:34
Traceback (most recent call last):
  File "/home/egon/Entwicklung/notes/gui/uicommand.py", line 645, in
doCommand
    self.controller.copyItemID()
  File "/home/egon/Entwicklung/notes/gui/navicontroller.py", line 306,
in copyItemID
    id_copy = self.Sammlung.kopiereEintrag(id)
  File "/home/egon/Entwicklung/notes/domain/note.py", line 185, in
kopiereEintrag
    EintragKopie = copy.deepcopy(Eintrag)
  File "/usr/lib/python2.5/copy.py", line 189, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/usr/lib/python2.5/copy.py", line 337, in _reconstruct
    state = deepcopy(state, memo)
  File "/usr/lib/python2.5/copy.py", line 162, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python2.5/copy.py", line 254, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python2.5/copy.py", line 189, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/usr/lib/python2.5/copy.py", line 337, in _reconstruct
    state = deepcopy(state, memo)
  File "/usr/lib/python2.5/copy.py", line 162, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python2.5/copy.py", line 254, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python2.5/copy.py", line 189, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/usr/lib/python2.5/copy.py", line 322, in _reconstruct
    y = callable(*args)
  File "/usr/lib/python2.5/copy_reg.py", line 92, in __newobj__
    return cls.__new__(cls, *args)
TypeError: object.__new__(PySwigObject) is not safe, use
PySwigObject.__new__()
msg61647 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2008-01-24 18:30
Sorry, we're not able to help with SWIG errors in this bug tracker.
History
Date User Action Args
2022-04-11 14:56:30adminsetgithub: 46219
2008-01-24 18:30:07gvanrossumsetstatus: open -> closed
resolution: rejected
messages: + msg61647
nosy: + gvanrossum
2008-01-24 17:34:17efrerichcreate