On Mon, 28 Jul 2014 14:29:43 +0930
B Bruen <bbr...@paddys-hill.net> wrote:

> On Sun, 27 Jul 2014 20:35:53 -0600
> Randall Morgan <rmorga...@gmail.com> wrote:
> 
> > Must be too big on your end. I know I and others have sent larger files...
> > But the link works also. I'll look at your code and get back to you.
> > 
> 
> I have had a bit of a look at this.  To me, it appears that sdl is doing 
> something nasty to the Try.. If Error construct.
> The failure occurs in the Settings class when it is creating the directory 
> chain for the user's .config/gambas3 directory.
> It fails on the first iteration through the path, i.e. 
>   Try Mkdir "/" & sPath 
> when sPath = "" i.e. the root directory (strangely enough!) already exists.
> 
> That line should not fail i.e. the Try should ignore the error silently. But 
> with sdl it appears not too?
> 
> Definitely a bug within Gambas itself.
> 
> Over to Benoit...
> 
> regards
> Bruce
> 
> -- 
> B Bruen <bbr...@paddys-hill.net>
> 
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls. 
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

oops
P.S. the fail occurs in the Settings class at line 96

It can be patched if you are using the Gambas source by changing line 96 to:
  If Not Exists("/" & sPath) Then MkDir "/" & sPath

but you will still get fails later when another Try... is executed in the 
Settings class.

regards
Bruce
-- 
B Bruen <bbr...@paddys-hill.net>

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to