Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2015 22:11:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201699] [Patch] devel/drpython: Fixes AttributeError on wx.HIDE_READONLY for wx.FileDialog
Message-ID:  <bug-201699-13-Q48TZYuEqG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201699-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201699-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201699

--- Comment #1 from Jordan Irwin <antumdeluge@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201699-13-Q48TZYuEqG>