[Gambas-user] [Gambas Bug Tracker] Bug #1074: Rdir failed to scan remote directories

bugtracker at ...3416... bugtracker at ...3416...
Thu Feb 2 10:23:01 CET 2017


http://gambaswiki.org/bugtracker/edit?object=BUG.1074&from=L21haW4-

Federico ALLEGRETTI reported a new bug.

Summary
-------

Rdir failed to scan remote directories

Type             : Bug
Priority         : Medium
Gambas version   : 3.9
Product          : Language


Description
-----------

updating Gambas from 3.8.4 (original Ubuntu repositories) to gambas 3.9.2 (gambas team repository), Rdir lost the ability to scan remote mounted folders

This code:

Public Sub Form_Open()
Dim oggetto As String
  
  For Each oggetto In RDir("/mnt/Stranamore/Dischi Stranamore 2007", "*.mp3")
    TextArea1.Text = oggetto & gb.CrLf & TextArea1.Text
  Next

End

works with Gambas 3.8.4, but no file was returned with gambas 3.9.2


this code (local folder):

Public Sub Form_Open()
Dim oggetto As String
  
  For Each oggetto In RDir(user.home, "*.mp3")
    TextArea1.Text = oggetto & gb.CrLf & TextArea1.Text
  Next

End


works on both the enviroments.


System information
------------------

v1p3r at ...3642...:~$ uname -a
Linux linuxbox 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

v1p3r at ...3642...:~$ lsb_release -a
LSB Version:	core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.1 LTS
Release:	16.04
Codename:	xenial

v1p3r at ...3642...:~$ cat /etc/apt/sources.list.d/gambas-team-ubuntu-gambas3-xenial.list 
deb http://ppa.launchpad.net/gambas-team/gambas3/ubuntu xenial main
# deb-src http://ppa.launchpad.net/gambas-team/gambas3/ubuntu xenial main






More information about the User mailing list