wx.DirDialog only return home DIR

27 views
Skip to first unread message

wangzhaohe

unread,
Nov 12, 2012, 9:27:05 AM11/12/12
to wxPython-users
Hello:

os: ubuntu 1210(upgrade from 1204)
python2.7.3
wxpython 2.9.4.1(install from source)

When I run DirDialog in demo.py, I found only return home dir, not the
dir which i slected.
Anyone can I help me?

thanks

wangz...@gmail.com
12/11/2012

Robin Dunn

unread,
Nov 12, 2012, 3:49:09 PM11/12/12
to wxpytho...@googlegroups.com
On 11/12/12 6:27 AM, wangzhaohe wrote:
> Hello:
>
> os: ubuntu 1210(upgrade from 1204)
> python2.7.3
> wxpython 2.9.4.1(install from source)
>
> When I run DirDialog in demo.py, I found only return home dir, not the
> dir which i slected.
> Anyone can I help me?


It's working here for me, although I'm not on the newest ubuntu. Do you
go into the dir you want to choose before pressing the button? Or do
you just select it and then hit the button?


--
Robin Dunn
Software Craftsman
http://wxPython.org

wangzhaohe

unread,
Nov 12, 2012, 7:58:22 PM11/12/12
to wxpytho...@googlegroups.com

 2012-11-13- 04:49, Robin Dunn wrote:
On 11/12/12 6:27 AM, wangzhaohe wrote:
Hello:

os: ubuntu 1210(upgrade from 1204)
python2.7.3
wxpython 2.9.4.1(install from source)

When I run DirDialog in demo.py, I found only return home dir, not the
dir which i slected.
Anyone can help me?


It's working here for me, although I'm not on the newest ubuntu.  Do you go into the dir you want to choose before pressing the button?  Or do you just select it and then hit the button?


Thanks a lot!
Just select it and then hit the button OK. (In windows xp, user can not enter the last directory, but gtk can)
Reply all
Reply to author
Forward
0 new messages