You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Piotr Zarzycki <pi...@gmail.com> on 2020/01/22 12:56:52 UTC

Generating Royale API report failing on Mac

Hi,

This is the day of failing. Another issue which I'm struggling with is
failing API report generation with SDK Nightly build [1] for a simple Hello
World Flex app.

Note that version 0.9.6 of Royale does work in that scenario.

When I'm running following command in Terminal I get following error:

/Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc
-api-report=bin-debug/royaleapireport.csv
-load-config=/Users/piotr/Downloads/flex_4.16.1_air_30/frameworks/flex-config.xml
/Users/piotr/Downloads/Tests/TestApi_Report_1/src/TestApi_Report_1.mxml
-bash:
/Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
/bin/sh^M: bad interpreter: No such file or directory

Do you have any idea why it may happen ?

[1]
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/665/

Thanks,
-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Generating Royale API report failing on Mac

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
Yes, the Ant build tries to fix the line endings on the scripts in js/bin
(I assume the Maven build does something similar, but I'm not familiar with
it). I just checked, and it did not seem to try to fix the line endings on
the scripts in bin.

I just committed a change that should do that now. Let me know if it helps,
once there's a nightly build that includes this commit.

https://github.com/apache/royale-asjs/commit/267ba30c980a7c6df3408fa1eb49390277f3fc89

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Thu, Jan 23, 2020 at 7:26 AM Piotr Zarzycki <pi...@gmail.com>
wrote:

> >
> > You can check the build log and see if the CRLF removal tasks ran or not.
>
>
> Alex what do you mean by that - do we have some removal CRLF task during
> build ?
>
> czw., 23 sty 2020 o 16:25 Piotr Zarzycki <pi...@gmail.com>
> napisał(a):
>
> > I have just downloaded  .tar.gz
> > <
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/676/artifact/out/apache-royale-0.9.7-bin-js.tar.gz>
> of
> > latest Nightly and result is exactly the same, so files probably have
> some
> > unwanted characters.
> >
> > śr., 22 sty 2020 o 22:42 Alex Harui <ah...@adobe.com.invalid>
> napisał(a):
> >
> >> IIRC, there is a step in the build process that is supposed to remove
> >> CRLF from certain files.  Did you use the zip or tar.gz for Mac?  It
> might
> >> be that if you use the zip on a Mac that the files may still have CRLF.
> >> You can check the build log and see if the CRLF removal tasks ran or
> not.
> >>
> >> I rarely use those scripts so they might have been broken for a long
> time.
> >>
> >> -Alex
> >>
> >> On 1/22/20, 11:56 AM, "Piotr Zarzycki" <pi...@gmail.com>
> >> wrote:
> >>
> >>     Alex, Carlos,
> >>
> >>     I have checked mxmlc file in repository and it has LF lines only
> >> which is
> >>     ok. However when I have downloaded build version of SDK [1] - that
> >> file and
> >>     others has CR LF [2] - which causes all problems on Mac.
> >>     Maybe this is problem with our build machine where after checkout
> >> something
> >>     is not right. I would suggests what line endings after checkout have
> >> that
> >>     files on our machine (I can't access it right now).
> >>
> >>     [1]
> >>
> >>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2F&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Aju44%2BimSaZWK9MYTXlx7w8ccrw0Bznm0NrFPFOQzVc%3D&amp;reserved=0
> >>     [2]
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibb.co%2FQ69p1BW&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=ONerEV8VAQE8IVU%2FIbm2VzCMNfYVp8HxCOn4NsMBZw4%3D&amp;reserved=0
> >>
> >>     Thanks,
> >>     Piotr
> >>
> >>     śr., 22 sty 2020 o 18:38 Carlos Rovira <ca...@apache.org>
> >> napisał(a):
> >>
> >>     > Hi,
> >>     >
> >>     > this could be something to do with changes done by me? if so I'm
> on
> >> Mac not
> >>     > Windows
> >>     >
> >>     > El mié., 22 ene. 2020 a las 17:11, Alex Harui
> >> (<ah...@adobe.com.invalid>)
> >>     > escribió:
> >>     >
> >>     > >
> >>     > >
> >>     > > On 1/22/20, 4:57 AM, "Piotr Zarzycki" <
> piotrzarzycki21@gmail.com>
> >>     > wrote:
> >>     > >
> >>     > >     Hi,
> >>     > >
> >>     > >     This is the day of failing.
> >>     > >
> >>     > > I've definitely had days like this...
> >>     > >
> >>     > > Another issue which I'm struggling with is
> >>     > >     failing API report generation with SDK Nightly build [1] for
> >> a simple
> >>     > > Hello
> >>     > >     World Flex app.
> >>     > >
> >>     > >
> >>     > >
> >>     > >
> >> /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
> >>     > >     /bin/sh^M: bad interpreter: No such file or directory
> >>     > >
> >>     > >     Do you have any idea why it may happen ?
> >>     > >
> >>     > > That usually means that the mxmlc script has Windows line
> endings.
> >>     > >
> >>     > > -Alex
> >>     > >
> >>     > >
> >>     > >
> >>     >
> >>     > --
> >>     > Carlos Rovira
> >>     >
> >>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=ivffpA6vPAMXm2Va59ENN8CjS7gFH0EPkC7Xd1ZrrSA%3D&amp;reserved=0
> >>     >
> >>
> >>
> >>     --
> >>
> >>     Piotr Zarzycki
> >>
> >>     Patreon: *
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&amp;reserved=0
> >>     <
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&amp;reserved=0
> >> >*
> >>
> >>
> >>
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>

Re: Generating Royale API report failing on Mac

Posted by Piotr Zarzycki <pi...@gmail.com>.
>
> You can check the build log and see if the CRLF removal tasks ran or not.


Alex what do you mean by that - do we have some removal CRLF task during
build ?

czw., 23 sty 2020 o 16:25 Piotr Zarzycki <pi...@gmail.com>
napisał(a):

> I have just downloaded  .tar.gz
> <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/676/artifact/out/apache-royale-0.9.7-bin-js.tar.gz> of
> latest Nightly and result is exactly the same, so files probably have some
> unwanted characters.
>
> śr., 22 sty 2020 o 22:42 Alex Harui <ah...@adobe.com.invalid> napisał(a):
>
>> IIRC, there is a step in the build process that is supposed to remove
>> CRLF from certain files.  Did you use the zip or tar.gz for Mac?  It might
>> be that if you use the zip on a Mac that the files may still have CRLF.
>> You can check the build log and see if the CRLF removal tasks ran or not.
>>
>> I rarely use those scripts so they might have been broken for a long time.
>>
>> -Alex
>>
>> On 1/22/20, 11:56 AM, "Piotr Zarzycki" <pi...@gmail.com>
>> wrote:
>>
>>     Alex, Carlos,
>>
>>     I have checked mxmlc file in repository and it has LF lines only
>> which is
>>     ok. However when I have downloaded build version of SDK [1] - that
>> file and
>>     others has CR LF [2] - which causes all problems on Mac.
>>     Maybe this is problem with our build machine where after checkout
>> something
>>     is not right. I would suggests what line endings after checkout have
>> that
>>     files on our machine (I can't access it right now).
>>
>>     [1]
>>
>> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2F&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Aju44%2BimSaZWK9MYTXlx7w8ccrw0Bznm0NrFPFOQzVc%3D&amp;reserved=0
>>     [2]
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibb.co%2FQ69p1BW&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=ONerEV8VAQE8IVU%2FIbm2VzCMNfYVp8HxCOn4NsMBZw4%3D&amp;reserved=0
>>
>>     Thanks,
>>     Piotr
>>
>>     śr., 22 sty 2020 o 18:38 Carlos Rovira <ca...@apache.org>
>> napisał(a):
>>
>>     > Hi,
>>     >
>>     > this could be something to do with changes done by me? if so I'm on
>> Mac not
>>     > Windows
>>     >
>>     > El mié., 22 ene. 2020 a las 17:11, Alex Harui
>> (<ah...@adobe.com.invalid>)
>>     > escribió:
>>     >
>>     > >
>>     > >
>>     > > On 1/22/20, 4:57 AM, "Piotr Zarzycki" <pi...@gmail.com>
>>     > wrote:
>>     > >
>>     > >     Hi,
>>     > >
>>     > >     This is the day of failing.
>>     > >
>>     > > I've definitely had days like this...
>>     > >
>>     > > Another issue which I'm struggling with is
>>     > >     failing API report generation with SDK Nightly build [1] for
>> a simple
>>     > > Hello
>>     > >     World Flex app.
>>     > >
>>     > >
>>     > >
>>     > >
>> /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
>>     > >     /bin/sh^M: bad interpreter: No such file or directory
>>     > >
>>     > >     Do you have any idea why it may happen ?
>>     > >
>>     > > That usually means that the mxmlc script has Windows line endings.
>>     > >
>>     > > -Alex
>>     > >
>>     > >
>>     > >
>>     >
>>     > --
>>     > Carlos Rovira
>>     >
>> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=ivffpA6vPAMXm2Va59ENN8CjS7gFH0EPkC7Xd1ZrrSA%3D&amp;reserved=0
>>     >
>>
>>
>>     --
>>
>>     Piotr Zarzycki
>>
>>     Patreon: *
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&amp;reserved=0
>>     <
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&amp;reserved=0
>> >*
>>
>>
>>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Generating Royale API report failing on Mac

Posted by Piotr Zarzycki <pi...@gmail.com>.
I have just downloaded  .tar.gz
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/676/artifact/out/apache-royale-0.9.7-bin-js.tar.gz>
of
latest Nightly and result is exactly the same, so files probably have some
unwanted characters.

śr., 22 sty 2020 o 22:42 Alex Harui <ah...@adobe.com.invalid> napisał(a):

> IIRC, there is a step in the build process that is supposed to remove CRLF
> from certain files.  Did you use the zip or tar.gz for Mac?  It might be
> that if you use the zip on a Mac that the files may still have CRLF.  You
> can check the build log and see if the CRLF removal tasks ran or not.
>
> I rarely use those scripts so they might have been broken for a long time.
>
> -Alex
>
> On 1/22/20, 11:56 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
>
>     Alex, Carlos,
>
>     I have checked mxmlc file in repository and it has LF lines only which
> is
>     ok. However when I have downloaded build version of SDK [1] - that
> file and
>     others has CR LF [2] - which causes all problems on Mac.
>     Maybe this is problem with our build machine where after checkout
> something
>     is not right. I would suggests what line endings after checkout have
> that
>     files on our machine (I can't access it right now).
>
>     [1]
>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2F&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Aju44%2BimSaZWK9MYTXlx7w8ccrw0Bznm0NrFPFOQzVc%3D&amp;reserved=0
>     [2]
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibb.co%2FQ69p1BW&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=ONerEV8VAQE8IVU%2FIbm2VzCMNfYVp8HxCOn4NsMBZw4%3D&amp;reserved=0
>
>     Thanks,
>     Piotr
>
>     śr., 22 sty 2020 o 18:38 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
>     > Hi,
>     >
>     > this could be something to do with changes done by me? if so I'm on
> Mac not
>     > Windows
>     >
>     > El mié., 22 ene. 2020 a las 17:11, Alex Harui
> (<ah...@adobe.com.invalid>)
>     > escribió:
>     >
>     > >
>     > >
>     > > On 1/22/20, 4:57 AM, "Piotr Zarzycki" <pi...@gmail.com>
>     > wrote:
>     > >
>     > >     Hi,
>     > >
>     > >     This is the day of failing.
>     > >
>     > > I've definitely had days like this...
>     > >
>     > > Another issue which I'm struggling with is
>     > >     failing API report generation with SDK Nightly build [1] for a
> simple
>     > > Hello
>     > >     World Flex app.
>     > >
>     > >
>     > >
>     > >
> /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
>     > >     /bin/sh^M: bad interpreter: No such file or directory
>     > >
>     > >     Do you have any idea why it may happen ?
>     > >
>     > > That usually means that the mxmlc script has Windows line endings.
>     > >
>     > > -Alex
>     > >
>     > >
>     > >
>     >
>     > --
>     > Carlos Rovira
>     >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=ivffpA6vPAMXm2Va59ENN8CjS7gFH0EPkC7Xd1ZrrSA%3D&amp;reserved=0
>     >
>
>
>     --
>
>     Piotr Zarzycki
>
>     Patreon: *
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&amp;reserved=0
>     <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&amp;reserved=0
> >*
>
>
>

-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Generating Royale API report failing on Mac

Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Takeshita,

Sure I know. What I refer I do not understand is the way how it's connected
to the problem. Anyway LFCR - is something which is ok on Windows, but not
ok on Mac?

I will try to download tar.gz on Mac and see if it works.


On Thu, Jan 23, 2020, 7:23 AM Takeshita Shoichiro <jl...@gmail.com> wrote:

> Piotr,
>
> zip and tar.gz are file types.  On Mac, it is better to download file with
> tar.gz file type. Zip is for Windows.
>
> 2020年1月23日(木) 15:11 Piotr Zarzycki <pi...@gmail.com>:
>
> > Hi Alex,
> >
> > Unfortunately I completely don't understand what do you mean. What zip or
> > tar.gz? Scenario is simple:
> >
> > 1) I'm downloading Nightly build
> > 2) Setup it in Moonshine
> > 3) Trying to generate API report using Moonshine
> >
> > Files in SDK are broken. Screenshot which I have shown in previous email
> > was taken on Windows. - In that case I did use to unzip archive Windows
> > build in unzip option.
> >
> > On Mac I'm unzipping also by build in option.
> >
> >
> > On Wed, Jan 22, 2020, 10:42 PM Alex Harui <ah...@adobe.com.invalid>
> > wrote:
> >
> > > IIRC, there is a step in the build process that is supposed to remove
> > CRLF
> > > from certain files.  Did you use the zip or tar.gz for Mac?  It might
> be
> > > that if you use the zip on a Mac that the files may still have CRLF.
> You
> > > can check the build log and see if the CRLF removal tasks ran or not.
> > >
> > > I rarely use those scripts so they might have been broken for a long
> > time.
> > >
> > > -Alex
> > >
> > > On 1/22/20, 11:56 AM, "Piotr Zarzycki" <pi...@gmail.com>
> > wrote:
> > >
> > >     Alex, Carlos,
> > >
> > >     I have checked mxmlc file in repository and it has LF lines only
> > which
> > > is
> > >     ok. However when I have downloaded build version of SDK [1] - that
> > > file and
> > >     others has CR LF [2] - which causes all problems on Mac.
> > >     Maybe this is problem with our build machine where after checkout
> > > something
> > >     is not right. I would suggests what line endings after checkout
> have
> > > that
> > >     files on our machine (I can't access it right now).
> > >
> > >     [1]
> > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2F&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Aju44%2BimSaZWK9MYTXlx7w8ccrw0Bznm0NrFPFOQzVc%3D&amp;reserved=0
> > >     [2]
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibb.co%2FQ69p1BW&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=ONerEV8VAQE8IVU%2FIbm2VzCMNfYVp8HxCOn4NsMBZw4%3D&amp;reserved=0
> > >
> > >     Thanks,
> > >     Piotr
> > >
> > >     śr., 22 sty 2020 o 18:38 Carlos Rovira <ca...@apache.org>
> > > napisał(a):
> > >
> > >     > Hi,
> > >     >
> > >     > this could be something to do with changes done by me? if so I'm
> on
> > > Mac not
> > >     > Windows
> > >     >
> > >     > El mié., 22 ene. 2020 a las 17:11, Alex Harui
> > > (<ah...@adobe.com.invalid>)
> > >     > escribió:
> > >     >
> > >     > >
> > >     > >
> > >     > > On 1/22/20, 4:57 AM, "Piotr Zarzycki" <
> piotrzarzycki21@gmail.com
> > >
> > >     > wrote:
> > >     > >
> > >     > >     Hi,
> > >     > >
> > >     > >     This is the day of failing.
> > >     > >
> > >     > > I've definitely had days like this...
> > >     > >
> > >     > > Another issue which I'm struggling with is
> > >     > >     failing API report generation with SDK Nightly build [1]
> for
> > a
> > > simple
> > >     > > Hello
> > >     > >     World Flex app.
> > >     > >
> > >     > >
> > >     > >
> > >     > >
> > >
> /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
> > >     > >     /bin/sh^M: bad interpreter: No such file or directory
> > >     > >
> > >     > >     Do you have any idea why it may happen ?
> > >     > >
> > >     > > That usually means that the mxmlc script has Windows line
> > endings.
> > >     > >
> > >     > > -Alex
> > >     > >
> > >     > >
> > >     > >
> > >     >
> > >     > --
> > >     > Carlos Rovira
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=ivffpA6vPAMXm2Va59ENN8CjS7gFH0EPkC7Xd1ZrrSA%3D&amp;reserved=0
> > >     >
> > >
> > >
> > >     --
> > >
> > >     Piotr Zarzycki
> > >
> > >     Patreon: *
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&amp;reserved=0
> > >     <
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&amp;reserved=0
> > > >*
> > >
> > >
> > >
> >
> --
> Shoichiro Takeshita
> 武下 祥一郎
>

Re: Generating Royale API report failing on Mac

Posted by Takeshita Shoichiro <jl...@gmail.com>.
Piotr,

zip and tar.gz are file types.  On Mac, it is better to download file with
tar.gz file type. Zip is for Windows.

2020年1月23日(木) 15:11 Piotr Zarzycki <pi...@gmail.com>:

> Hi Alex,
>
> Unfortunately I completely don't understand what do you mean. What zip or
> tar.gz? Scenario is simple:
>
> 1) I'm downloading Nightly build
> 2) Setup it in Moonshine
> 3) Trying to generate API report using Moonshine
>
> Files in SDK are broken. Screenshot which I have shown in previous email
> was taken on Windows. - In that case I did use to unzip archive Windows
> build in unzip option.
>
> On Mac I'm unzipping also by build in option.
>
>
> On Wed, Jan 22, 2020, 10:42 PM Alex Harui <ah...@adobe.com.invalid>
> wrote:
>
> > IIRC, there is a step in the build process that is supposed to remove
> CRLF
> > from certain files.  Did you use the zip or tar.gz for Mac?  It might be
> > that if you use the zip on a Mac that the files may still have CRLF.  You
> > can check the build log and see if the CRLF removal tasks ran or not.
> >
> > I rarely use those scripts so they might have been broken for a long
> time.
> >
> > -Alex
> >
> > On 1/22/20, 11:56 AM, "Piotr Zarzycki" <pi...@gmail.com>
> wrote:
> >
> >     Alex, Carlos,
> >
> >     I have checked mxmlc file in repository and it has LF lines only
> which
> > is
> >     ok. However when I have downloaded build version of SDK [1] - that
> > file and
> >     others has CR LF [2] - which causes all problems on Mac.
> >     Maybe this is problem with our build machine where after checkout
> > something
> >     is not right. I would suggests what line endings after checkout have
> > that
> >     files on our machine (I can't access it right now).
> >
> >     [1]
> >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2F&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Aju44%2BimSaZWK9MYTXlx7w8ccrw0Bznm0NrFPFOQzVc%3D&amp;reserved=0
> >     [2]
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibb.co%2FQ69p1BW&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=ONerEV8VAQE8IVU%2FIbm2VzCMNfYVp8HxCOn4NsMBZw4%3D&amp;reserved=0
> >
> >     Thanks,
> >     Piotr
> >
> >     śr., 22 sty 2020 o 18:38 Carlos Rovira <ca...@apache.org>
> > napisał(a):
> >
> >     > Hi,
> >     >
> >     > this could be something to do with changes done by me? if so I'm on
> > Mac not
> >     > Windows
> >     >
> >     > El mié., 22 ene. 2020 a las 17:11, Alex Harui
> > (<ah...@adobe.com.invalid>)
> >     > escribió:
> >     >
> >     > >
> >     > >
> >     > > On 1/22/20, 4:57 AM, "Piotr Zarzycki" <piotrzarzycki21@gmail.com
> >
> >     > wrote:
> >     > >
> >     > >     Hi,
> >     > >
> >     > >     This is the day of failing.
> >     > >
> >     > > I've definitely had days like this...
> >     > >
> >     > > Another issue which I'm struggling with is
> >     > >     failing API report generation with SDK Nightly build [1] for
> a
> > simple
> >     > > Hello
> >     > >     World Flex app.
> >     > >
> >     > >
> >     > >
> >     > >
> > /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
> >     > >     /bin/sh^M: bad interpreter: No such file or directory
> >     > >
> >     > >     Do you have any idea why it may happen ?
> >     > >
> >     > > That usually means that the mxmlc script has Windows line
> endings.
> >     > >
> >     > > -Alex
> >     > >
> >     > >
> >     > >
> >     >
> >     > --
> >     > Carlos Rovira
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=ivffpA6vPAMXm2Va59ENN8CjS7gFH0EPkC7Xd1ZrrSA%3D&amp;reserved=0
> >     >
> >
> >
> >     --
> >
> >     Piotr Zarzycki
> >
> >     Patreon: *
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&amp;reserved=0
> >     <
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&amp;reserved=0
> > >*
> >
> >
> >
>
-- 
Shoichiro Takeshita
武下 祥一郎

Re: Generating Royale API report failing on Mac

Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Alex,

Unfortunately I completely don't understand what do you mean. What zip or
tar.gz? Scenario is simple:

1) I'm downloading Nightly build
2) Setup it in Moonshine
3) Trying to generate API report using Moonshine

Files in SDK are broken. Screenshot which I have shown in previous email
was taken on Windows. - In that case I did use to unzip archive Windows
build in unzip option.

On Mac I'm unzipping also by build in option.


On Wed, Jan 22, 2020, 10:42 PM Alex Harui <ah...@adobe.com.invalid> wrote:

> IIRC, there is a step in the build process that is supposed to remove CRLF
> from certain files.  Did you use the zip or tar.gz for Mac?  It might be
> that if you use the zip on a Mac that the files may still have CRLF.  You
> can check the build log and see if the CRLF removal tasks ran or not.
>
> I rarely use those scripts so they might have been broken for a long time.
>
> -Alex
>
> On 1/22/20, 11:56 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
>
>     Alex, Carlos,
>
>     I have checked mxmlc file in repository and it has LF lines only which
> is
>     ok. However when I have downloaded build version of SDK [1] - that
> file and
>     others has CR LF [2] - which causes all problems on Mac.
>     Maybe this is problem with our build machine where after checkout
> something
>     is not right. I would suggests what line endings after checkout have
> that
>     files on our machine (I can't access it right now).
>
>     [1]
>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2F&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Aju44%2BimSaZWK9MYTXlx7w8ccrw0Bznm0NrFPFOQzVc%3D&amp;reserved=0
>     [2]
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibb.co%2FQ69p1BW&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=ONerEV8VAQE8IVU%2FIbm2VzCMNfYVp8HxCOn4NsMBZw4%3D&amp;reserved=0
>
>     Thanks,
>     Piotr
>
>     śr., 22 sty 2020 o 18:38 Carlos Rovira <ca...@apache.org>
> napisał(a):
>
>     > Hi,
>     >
>     > this could be something to do with changes done by me? if so I'm on
> Mac not
>     > Windows
>     >
>     > El mié., 22 ene. 2020 a las 17:11, Alex Harui
> (<ah...@adobe.com.invalid>)
>     > escribió:
>     >
>     > >
>     > >
>     > > On 1/22/20, 4:57 AM, "Piotr Zarzycki" <pi...@gmail.com>
>     > wrote:
>     > >
>     > >     Hi,
>     > >
>     > >     This is the day of failing.
>     > >
>     > > I've definitely had days like this...
>     > >
>     > > Another issue which I'm struggling with is
>     > >     failing API report generation with SDK Nightly build [1] for a
> simple
>     > > Hello
>     > >     World Flex app.
>     > >
>     > >
>     > >
>     > >
> /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
>     > >     /bin/sh^M: bad interpreter: No such file or directory
>     > >
>     > >     Do you have any idea why it may happen ?
>     > >
>     > > That usually means that the mxmlc script has Windows line endings.
>     > >
>     > > -Alex
>     > >
>     > >
>     > >
>     >
>     > --
>     > Carlos Rovira
>     >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=ivffpA6vPAMXm2Va59ENN8CjS7gFH0EPkC7Xd1ZrrSA%3D&amp;reserved=0
>     >
>
>
>     --
>
>     Piotr Zarzycki
>
>     Patreon: *
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&amp;reserved=0
>     <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&amp;reserved=0
> >*
>
>
>

Re: Generating Royale API report failing on Mac

Posted by Alex Harui <ah...@adobe.com.INVALID>.
IIRC, there is a step in the build process that is supposed to remove CRLF from certain files.  Did you use the zip or tar.gz for Mac?  It might be that if you use the zip on a Mac that the files may still have CRLF.  You can check the build log and see if the CRLF removal tasks ran or not.

I rarely use those scripts so they might have been broken for a long time.

-Alex

On 1/22/20, 11:56 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

    Alex, Carlos,
    
    I have checked mxmlc file in repository and it has LF lines only which is
    ok. However when I have downloaded build version of SDK [1] - that file and
    others has CR LF [2] - which causes all problems on Mac.
    Maybe this is problem with our build machine where after checkout something
    is not right. I would suggests what line endings after checkout have that
    files on our machine (I can't access it right now).
    
    [1]
    https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2F&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Aju44%2BimSaZWK9MYTXlx7w8ccrw0Bznm0NrFPFOQzVc%3D&amp;reserved=0
    [2] https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibb.co%2FQ69p1BW&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=ONerEV8VAQE8IVU%2FIbm2VzCMNfYVp8HxCOn4NsMBZw4%3D&amp;reserved=0
    
    Thanks,
    Piotr
    
    śr., 22 sty 2020 o 18:38 Carlos Rovira <ca...@apache.org> napisał(a):
    
    > Hi,
    >
    > this could be something to do with changes done by me? if so I'm on Mac not
    > Windows
    >
    > El mié., 22 ene. 2020 a las 17:11, Alex Harui (<ah...@adobe.com.invalid>)
    > escribió:
    >
    > >
    > >
    > > On 1/22/20, 4:57 AM, "Piotr Zarzycki" <pi...@gmail.com>
    > wrote:
    > >
    > >     Hi,
    > >
    > >     This is the day of failing.
    > >
    > > I've definitely had days like this...
    > >
    > > Another issue which I'm struggling with is
    > >     failing API report generation with SDK Nightly build [1] for a simple
    > > Hello
    > >     World Flex app.
    > >
    > >
    > >
    > > /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
    > >     /bin/sh^M: bad interpreter: No such file or directory
    > >
    > >     Do you have any idea why it may happen ?
    > >
    > > That usually means that the mxmlc script has Windows line endings.
    > >
    > > -Alex
    > >
    > >
    > >
    >
    > --
    > Carlos Rovira
    > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=ivffpA6vPAMXm2Va59ENN8CjS7gFH0EPkC7Xd1ZrrSA%3D&amp;reserved=0
    >
    
    
    -- 
    
    Piotr Zarzycki
    
    Patreon: *https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&amp;reserved=0
    <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&amp;sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&amp;reserved=0>*
    


Re: Generating Royale API report failing on Mac

Posted by Piotr Zarzycki <pi...@gmail.com>.
Alex, Carlos,

I have checked mxmlc file in repository and it has LF lines only which is
ok. However when I have downloaded build version of SDK [1] - that file and
others has CR LF [2] - which causes all problems on Mac.
Maybe this is problem with our build machine where after checkout something
is not right. I would suggests what line endings after checkout have that
files on our machine (I can't access it right now).

[1]
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/
[2] https://ibb.co/Q69p1BW

Thanks,
Piotr

śr., 22 sty 2020 o 18:38 Carlos Rovira <ca...@apache.org> napisał(a):

> Hi,
>
> this could be something to do with changes done by me? if so I'm on Mac not
> Windows
>
> El mié., 22 ene. 2020 a las 17:11, Alex Harui (<ah...@adobe.com.invalid>)
> escribió:
>
> >
> >
> > On 1/22/20, 4:57 AM, "Piotr Zarzycki" <pi...@gmail.com>
> wrote:
> >
> >     Hi,
> >
> >     This is the day of failing.
> >
> > I've definitely had days like this...
> >
> > Another issue which I'm struggling with is
> >     failing API report generation with SDK Nightly build [1] for a simple
> > Hello
> >     World Flex app.
> >
> >
> >
> > /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
> >     /bin/sh^M: bad interpreter: No such file or directory
> >
> >     Do you have any idea why it may happen ?
> >
> > That usually means that the mxmlc script has Windows line endings.
> >
> > -Alex
> >
> >
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Generating Royale API report failing on Mac

Posted by Carlos Rovira <ca...@apache.org>.
Hi,

this could be something to do with changes done by me? if so I'm on Mac not
Windows

El mié., 22 ene. 2020 a las 17:11, Alex Harui (<ah...@adobe.com.invalid>)
escribió:

>
>
> On 1/22/20, 4:57 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
>
>     Hi,
>
>     This is the day of failing.
>
> I've definitely had days like this...
>
> Another issue which I'm struggling with is
>     failing API report generation with SDK Nightly build [1] for a simple
> Hello
>     World Flex app.
>
>
>
> /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
>     /bin/sh^M: bad interpreter: No such file or directory
>
>     Do you have any idea why it may happen ?
>
> That usually means that the mxmlc script has Windows line endings.
>
> -Alex
>
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Generating Royale API report failing on Mac

Posted by Alex Harui <ah...@adobe.com.INVALID>.

On 1/22/20, 4:57 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

    Hi,
    
    This is the day of failing. 

I've definitely had days like this...

Another issue which I'm struggling with is
    failing API report generation with SDK Nightly build [1] for a simple Hello
    World Flex app.
    
    
    /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc:
    /bin/sh^M: bad interpreter: No such file or directory
    
    Do you have any idea why it may happen ?
    
That usually means that the mxmlc script has Windows line endings.

-Alex