[Bug 201699] [Patch] devel/drpython: Fixes AttributeError on wx.HIDE_READONLY for wx.FileDialog

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 19 22:11:51 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201699

--- Comment #1 from Jordan Irwin <antumdeluge at gmail.com> ---
This is the traceback of the error previously mentioned:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/drpython/drpython.py", line
2340, in OnOpen
    dlg = drFileDialog.FileDialog(self, "Open", self.prefs.wildcard,
MultipleSelection=True, ShowRecentFiles=True)
  File "/usr/local/lib/python2.7/site-packages/drpython/drFileDialog.py", line
1031, in FileDialog
    return drWxFileDialog(parent, title, "", "", wildcard,
wx.OPEN|wx.HIDE_READONLY|wx.MULTIPLE)
AttributeError: 'module' object has no attribute 'HIDE_READONLY'

The patch also changes "wx.OPEN" to "wx.FD_OPEN" and "wx.MULTIPLE" to
"wx.FD_MULTIPLE".

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list