can't see network filesystems on dirdialog, just local ones

dialog = wx.DirDialog(None)
if dialog.ShowModal() == wx.ID_OK:
  self.dst = dialog.GetPath()
dialog.Destroy()

the dialog works fine, BUT i can't see any network mounted filesystem
(while on the filemanager there are some..), how to solve this?
i'm using nautilus on gnome
thank you

Are they actually mounted at the unix level or are they just Gnome pseudo file systems (or whatever they are called)? IOW, can you go to a command line in a terminal and cd to the network filesystem's folder?

···

On 10/9/09 9:49 AM, Notch-1 wrote:

dialog = wx.DirDialog(None)
if dialog.ShowModal() == wx.ID_OK:
  self.dst = dialog.GetPath()
dialog.Destroy()

the dialog works fine, BUT i can't see any network mounted filesystem
(while on the filemanager there are some..), how to solve this?
i'm using nautilus on gnome

--
Robin Dunn
Software Craftsman

From mount i got only this:
gvfs-fuse-daemon on /home/notch-1/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,user=notch-1)

that is there since the boot (uneffected by mounting/unmounting
network filesystems).
I can access /home/notch-1/.gvfs/ (this seems the mountpoint for all
network filesystems) BUT not from dirdialog, only from nautilus (or
the shell off course)
I can cd on them, but i can't see them with mount command, so the
answer to your question is tricky...

Robin Dunn ha scritto:

···

On 10/9/09 9:49 AM, Notch-1 wrote:
>
> dialog = wx.DirDialog(None)
> if dialog.ShowModal() == wx.ID_OK:
> self.dst = dialog.GetPath()
> dialog.Destroy()
>
> the dialog works fine, BUT i can't see any network mounted filesystem
> (while on the filemanager there are some..), how to solve this?
> i'm using nautilus on gnome

Are they actually mounted at the unix level or are they just Gnome
pseudo file systems (or whatever they are called)? IOW, can you go to a
command line in a terminal and cd to the network filesystem's folder?

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

Hello,

···

On Fri, Oct 9, 2009 at 1:39 PM, Notch-1 <notch1@gmail.com> wrote:

From mount i got only this:
gvfs-fuse-daemon on /home/notch-1/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,user=notch-1)

I have seen this too with GVFS. As a work around you can get to the
mounts by accessing the path (~/.gvfs/).

Cody

As i said, i can access /home/notch-1/.gvfs/ BUT not from the dialog
created by dirdialog, only from nautilus or the system shell.
From dirdialog i can only see an empty directory, when i go to
~/.gvfs/

Anyway now this seems to be changed, i can see my mounted network
filesystems in ~/.gvfs/ with dirdialog, don't ask what i changed :smiley:
Any chances to get the full standard gnome open directory dialog?
thanks

Cody Precord ha scritto:

···

Hello,

On Fri, Oct 9, 2009 at 1:39 PM, Notch-1 <notch1@gmail.com> wrote:
>
> From mount i got only this:
> gvfs-fuse-daemon on /home/notch-1/.gvfs type fuse.gvfs-fuse-daemon
> (rw,nosuid,nodev,user=notch-1)

I have seen this too with GVFS. As a work around you can get to the
mounts by accessing the path (~/.gvfs/).

Cody

It should be using the default GTK dialog if the running GTK version is new enough. wxGTK doesn't link to any gnome libraries so if gnome has something different I don't think it can be used.

···

On 10/9/09 12:19 PM, Notch-1 wrote:

Any chances to get the full standard gnome open directory dialog?
thanks

--
Robin Dunn
Software Craftsman

Another great workaround thanks to chrisccoulson and hyperair on
#ubuntu-devel:

import gio
print gio.File(PATH).get_path()

this will translate all ftp://, sftp://, ftps://, dav://, davs://, smb://
(, etc...) mounted network filesystems correctly.
reference: Gio – 2.0

please note that this is not a solution for this specific issue, but
since is still very related with this thread, i'm posting it anyway

···

On 9 Ott, 22:36, Robin Dunn <ro...@alldunn.com> wrote:

On 10/9/09 12:19 PM, Notch-1 wrote:

> Any chances to get the full standard gnome open directory dialog?
> thanks

It should be using the default GTK dialog if the running GTK version is
new enough. wxGTK doesn't link to any gnome libraries so if gnome has
something different I don't think it can be used.

--
Robin Dunn
Software Craftsmanhttp://wxPython.org