Art Hunkins | 2 Jan 20:54
Favicon

malformed OurMusic bundle

Mikus suggested the following to me (re: my OurMusic activities and Windows
line-endings):

> ----- Original Message ----- 
> From: "Mikus Grinbergs" <mikus <at> bga.com>
> To: "Art Hunkins" <abhunkin <at> uncg.edu>
> Cc: "Testing" <testing <at> lists.laptop.org>
> Sent: Tuesday, December 29, 2009 11:13 PM
>
>> The other is a personal dislike.  Various files in this bundle have
>> Windows line-endings.  I'm running Linux on my XO (that's a Fedora-based
>> build), and have the 'python-psyco' accelerator installed.  In the past,
>> I've seen my system's python execution fail when the python files in an
>> Activity did not have Linux line-endings.
>>
>> mikus

 I use Windows to do most of my text editing, and my question is: how much 
of
 an issue is this for you Linux people?

 If it is, could you suggest a simple conversion utility, that changes
 Windows to Linux line endings?

 Art Hunkins
Wade Brainerd | 2 Jan 23:10
Picon
Gravatar

Re: malformed OurMusic bundle

What editor do you use to edit source code?  I do lots of development
on Windows too, but haven't had this problem.

-Wade

On Sat, Jan 2, 2010 at 2:54 PM, Art Hunkins <abhunkin <at> uncg.edu> wrote:
> Mikus suggested the following to me (re: my OurMusic activities and Windows
> line-endings):
>
>> ----- Original Message -----
>> From: "Mikus Grinbergs" <mikus <at> bga.com>
>> To: "Art Hunkins" <abhunkin <at> uncg.edu>
>> Cc: "Testing" <testing <at> lists.laptop.org>
>> Sent: Tuesday, December 29, 2009 11:13 PM
>>
>>> The other is a personal dislike.  Various files in this bundle have
>>> Windows line-endings.  I'm running Linux on my XO (that's a Fedora-based
>>> build), and have the 'python-psyco' accelerator installed.  In the past,
>>> I've seen my system's python execution fail when the python files in an
>>> Activity did not have Linux line-endings.
>>>
>>> mikus
>
>
>  I use Windows to do most of my text editing, and my question is: how much
> of
>  an issue is this for you Linux people?
>
>  If it is, could you suggest a simple conversion utility, that changes
>  Windows to Linux line endings?
(Continue reading)

imm | 3 Jan 11:24

Re: malformed OurMusic bundle


On 2 Jan 2010, at 22:10, Wade Brainerd wrote:

> What editor do you use to edit source code?  I do lots of development
> on Windows too, but haven't had this problem.

As Wade says, I find that a lot of "modern" Windows text editors  
(Notepad not being one of them!) seem to be able to handle unix, dos  
or Mac-style line endings OK, and that many programming editors have  
an explicit option for setting your preferred line-ending style when  
you save a file, so that may be an easy option.

That said, I'd hazard that the "canonical" answer to Art's question  
is probably "dos2unix" which many linux distros have, and which I  
think also exists in win32 compatible forms....
imm | 3 Jan 11:24

Re: malformed OurMusic bundle


On 2 Jan 2010, at 22:10, Wade Brainerd wrote:

> What editor do you use to edit source code?  I do lots of development
> on Windows too, but haven't had this problem.

As Wade says, I find that a lot of "modern" Windows text editors  
(Notepad not being one of them!) seem to be able to handle unix, dos  
or Mac-style line endings OK, and that many programming editors have  
an explicit option for setting your preferred line-ending style when  
you save a file, so that may be an easy option.

That said, I'd hazard that the "canonical" answer to Art's question  
is probably "dos2unix" which many linux distros have, and which I  
think also exists in win32 compatible forms....
Wade Brainerd | 2 Jan 23:10
Picon
Gravatar

Re: malformed OurMusic bundle

What editor do you use to edit source code?  I do lots of development
on Windows too, but haven't had this problem.

-Wade

On Sat, Jan 2, 2010 at 2:54 PM, Art Hunkins <abhunkin <at> uncg.edu> wrote:
> Mikus suggested the following to me (re: my OurMusic activities and Windows
> line-endings):
>
>> ----- Original Message -----
>> From: "Mikus Grinbergs" <mikus <at> bga.com>
>> To: "Art Hunkins" <abhunkin <at> uncg.edu>
>> Cc: "Testing" <testing <at> lists.laptop.org>
>> Sent: Tuesday, December 29, 2009 11:13 PM
>>
>>> The other is a personal dislike.  Various files in this bundle have
>>> Windows line-endings.  I'm running Linux on my XO (that's a Fedora-based
>>> build), and have the 'python-psyco' accelerator installed.  In the past,
>>> I've seen my system's python execution fail when the python files in an
>>> Activity did not have Linux line-endings.
>>>
>>> mikus
>
>
>  I use Windows to do most of my text editing, and my question is: how much
> of
>  an issue is this for you Linux people?
>
>  If it is, could you suggest a simple conversion utility, that changes
>  Windows to Linux line endings?
(Continue reading)

Sascha Silbe | 3 Jan 01:33

Re: malformed OurMusic bundle

On Sat, Jan 02, 2010 at 02:54:15PM -0500, Art Hunkins wrote:

> If it is, could you suggest a simple conversion utility, that changes
> Windows to Linux line endings?
I've used zip/unzip (the linux version of it, i.e. InfoZIP) for this in 
the past. Take a look at options -l and -ll for zip (probably what you 
need as you want to ship a bundle), resp. -a for unzip (which is what I 
used as I needed the individual files).

CU Sascha

--

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Sascha Silbe | 3 Jan 01:33

Re: malformed OurMusic bundle

On Sat, Jan 02, 2010 at 02:54:15PM -0500, Art Hunkins wrote:

> If it is, could you suggest a simple conversion utility, that changes
> Windows to Linux line endings?
I've used zip/unzip (the linux version of it, i.e. InfoZIP) for this in 
the past. Take a look at options -l and -ll for zip (probably what you 
need as you want to ship a bundle), resp. -a for unzip (which is what I 
used as I needed the individual files).

CU Sascha

--

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Gmane