bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Last changes


From: Jim Segrave
Subject: Re: [Bug-gnubg] Last changes
Date: Tue, 5 Feb 2008 23:00:23 +0100
User-agent: Mutt/1.5.16 (2007-06-09)

On Mon 04 Feb 2008 (18:38 +0100), Massimiliano Maini wrote:
> Michael Petch <address@hidden> wrote on 04/02/2008 17:39:58:
> > I?m not a python guy but in Python I am pretty sure that \ is an 
> > escape character like c/c++ . I am wondering if that is the reason 
> > for this error?
> 
> Not sure, but not being an expert neither ...

yes, it is

> > Out of curiousity under windows ? What environment do you build 
> > with. Ming, MSVC, cygwin?
> 
> Mingw.
> 
> > I did a MING build of the Win GUI last 
> > night and didn?t see this issue with test (Although I was using 
> > Python2.5).
> 
> I'm using 2.5 too.
> 
> > I did find one bug relating to windows and the new sound
> > option screen (Where you choose files for each sound). Under windows
> > the path separators are \ instead of unix where they are /. If you 
> > go into the sound screen make a minor change and then save settings 
> > you?ll get a ?sound file not found? type error. This was a minor fix
> > in the sound code (Changing separator).
> 
> I think that the \ vs / issue can be solved (and is mostly solved in 
> gnubg) with
> proper coding. Fact is that conding cross-platform is a bit of a pain and 
> sometimes
> bugs like this just slip in.

Simple solution, use forward slashes. Windows accepts them just fine:

"C:/Documents and Settings/something/or another" is a valid windows
path
Otherwise you need 

"C:\\Documents and Settings\\something\\or another"


-- 
Jim Segrave           address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]