Jul 03
Jolle Carlestam Compiled LassoApp won't serve html content
Jul 03, 2012; 22:00
Jolle Carlestam
Compiled LassoApp won't serve html content
I'm experimenting with LassoApps. In my app I have a file called index[html].lasso. It in turn calls an include. When running with the LassoApp as a plain directory the index files content is displayed in the browser. As I expect and want it to.
But as soon as I compile the directory to a binary Lasso will stop displaying the content. The code inside it appears to run. Tested by having a log_critical inside both the index file and the include. Both entries show up in the log file. But the browser receives zero content.
I get the same result on both my local OSX and on Centos 5.X, both running 9.2.3.
What am I doing wrong?
HDB
Jolle
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jul 03
Jolle Carlestam Re: Compiled LassoApp won't serve html content
Jul 03, 2012; 22:00
Jolle Carlestam
Re: Compiled LassoApp won't serve html content
3 jul 2012 kl. 19:50 skrev Jolle Carlestam:
> I'm experimenting with LassoApps. In my app I have a file called index[html].lasso. It in turn calls an include. When running with the LassoApp as a plain directory the index files content is displayed in the browser. As I expect and want it to.
>
> But as soon as I compile the directory to a binary Lasso will stop displaying the content. The code inside it appears to run. Tested by having a log_critical inside both the index file and the include. Both entries show up in the log file. But the browser receives zero content.
Added info, if I call a plain html file it will display just dandy. It is only files that Lasso will process that fail to display any content.
HDB
Jolle
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jul 03
Kyle Jessup Re: Compiled LassoApp won't serve html content
Jul 03, 2012; 22:00
Kyle Jessup
Re: Compiled LassoApp won't serve html content
On Jul 3, 2012, at 2:03 PM, Jolle Carlestam wrote:
> 3 jul 2012 kl. 19:50 skrev Jolle Carlestam:
>
>> I'm experimenting with LassoApps. In my app I have a file called index[html].lasso. It in turn calls an include. When running with the LassoApp as a plain directory the index files content is displayed in the browser. As I expect and want it to.
>>
>> But as soon as I compile the directory to a binary Lasso will stop displaying the content. The code inside it appears to run. Tested by having a log_critical inside both the index file and the include. Both entries show up in the log file. But the browser receives zero content.
>
>
> Added info, if I call a plain html file it will display just dandy. It is only files that Lasso will process that fail to display any content.
I just tested with the files you sent me and the culprit is the BOM you put in the UTF-8 files.
Remove the BOM - Lasso 9 doesn't need the BOM anyway
or
Add -autocollect to your invocation of the lassoc tool.
-Kyle
> HDB
> Jolle
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jul 03
Jolle Carlestam Re: Compiled LassoApp won't serve html content
Jul 03, 2012; 22:00
Jolle Carlestam
Re: Compiled LassoApp won't serve html content
3 jul 2012 kl. 20:31 skrev Kyle Jessup:
> I just tested with the files you sent me and the culprit is the BOM you put in the UTF-8 files.
> Remove the BOM - Lasso 9 doesn't need the BOM anyway
Ah, the BOM, the BOM.
I remember a time, was but a decade ago. The truth was "There must always be a BOM and it will be the one BOM!"
And now ye tell me the truth is no more. "Thou shalt have no BOM in the beginning nor in the end!"
Ah, my humble brain hurts from all these changes. Every few years the rules of the world are replaced without warning. Things we knew is no more. What's to become of us?
HDB
Jolle
pst. And yes, removing the BOM did it.
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jul 03
Ke Carlton Re: Compiled LassoApp won't serve html content
Jul 03, 2012; 22:00
Ke Carlton
Re: Compiled LassoApp won't serve html content
Has this been added to a bug list?
On 3 July 2012 20:07, Jolle Carlestam <Jolle.Carlestam@amtac.net> wrote:
>
> pst. And yes, removing the BOM did it.
>
>
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jul 03
Kyle Jessup Re: Compiled LassoApp won't serve html content
Jul 03, 2012; 22:00
Kyle Jessup
Re: Compiled LassoApp won't serve html content
On Jul 3, 2012, at 3:07 PM, Jolle Carlestam wrote:
> 3 jul 2012 kl. 20:31 skrev Kyle Jessup:
>
>> I just tested with the files you sent me and the culprit is the BOM you put in the UTF-8 files.
>> Remove the BOM - Lasso 9 doesn't need the BOM anyway
>
> Ah, the BOM, the BOM.
> I remember a time, was but a decade ago. The truth was "There must always be a BOM and it will be the one BOM!"
> And now ye tell me the truth is no more. "Thou shalt have no BOM in the beginning nor in the end!"
>
> Ah, my humble brain hurts from all these changes. Every few years the rules of the world are replaced without warning. Things we knew is no more. What's to become of us?
>
> HDB
> Jolle
>
> pst. And yes, removing the BOM did it.
Good. The lassoc tool doesn't look past a BOM when determining if the file should be implicily autocollect or not.
-Kyle
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jul 03
Trevor Borgmeier Re: Compiled LassoApp won't serve html content
Jul 03, 2012; 22:00
Trevor Borgmeier
Re: Compiled LassoApp won't serve html content
on 7/3/12 1:31 PM Kyle Jessup wrote:
> On Jul 3, 2012, at 2:03 PM, Jolle Carlestam wrote:
>
>> 3 jul 2012 kl. 19:50 skrev Jolle Carlestam:
>>
>>> I'm experimenting with LassoApps. In my app I have a file called index[html].lasso. It in turn calls an include. When running with the LassoApp as a plain directory the index files content is displayed in the browser. As I expect and want it to.
>>>
>>> But as soon as I compile the directory to a binary Lasso will stop displaying the content. The code inside it appears to run. Tested by having a log_critical inside both the index file and the include. Both entries show up in the log file. But the browser receives zero content.
>>
>> Added info, if I call a plain html file it will display just dandy. It is only files that Lasso will process that fail to display any content.
> I just tested with the files you sent me and the culprit is the BOM you put in the UTF-8 files.
> Remove the BOM - Lasso 9 doesn't need the BOM anyway
So what does this mean? I thought using the BOM was one of the nice
things that set lasso apart from PHP. Should we not be using BOM w/ LP9?
-Trevor
> or
> Add -autocollect to your invocation of the lassoc tool.
>
> -Kyle
>
>> HDB
>> Jolle
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list Lasso
> Lasso@lists.lassosoft.com
> To unsubscribe, E-mail to:<Lasso-unsubscribe@lists.lassosoft.com>
> Send administrative queries to<Lasso-request@lists.lassosoft.com>
>
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jul 03
Jolle Carlestam Re: Compiled LassoApp won't serve html content
Jul 03, 2012; 22:00
Jolle Carlestam
Re: Compiled LassoApp won't serve html content
3 jul 2012 kl. 21:11 skrev Ke Carlton:
> Has this been added to a bug list?
>
Might even be worth mentioning in the Language Guide about LassoApps? I did actually look there before I posted. :-)
HDB
Jolle
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jul 03
Kyle Jessup Re: Compiled LassoApp won't serve html content
Jul 03, 2012; 22:00
Kyle Jessup
Re: Compiled LassoApp won't serve html content
On Jul 3, 2012, at 3:17 PM, Trevor Borgmeier wrote:
> on 7/3/12 1:31 PM Kyle Jessup wrote:
>> On Jul 3, 2012, at 2:03 PM, Jolle Carlestam wrote:
>>
>>> 3 jul 2012 kl. 19:50 skrev Jolle Carlestam:
>>>
>>>> I'm experimenting with LassoApps. In my app I have a file called index[html].lasso. It in turn calls an include. When running with the LassoApp as a plain directory the index files content is displayed in the browser. As I expect and want it to.
>>>>
>>>> But as soon as I compile the directory to a binary Lasso will stop displaying the content. The code inside it appears to run. Tested by having a log_critical inside both the index file and the include. Both entries show up in the log file. But the browser receives zero content.
>>>
>>> Added info, if I call a plain html file it will display just dandy. It is only files that Lasso will process that fail to display any content.
>> I just tested with the files you sent me and the culprit is the BOM you put in the UTF-8 files.
>> Remove the BOM - Lasso 9 doesn't need the BOM anyway
>
> So what does this mean? I thought using the BOM was one of the nice things that set lasso apart from PHP. Should we not be using BOM w/ LP9?
It doesn't mean anything. You can use the BOM with Lasso 9 if you want.
This discussion is about a separate tool for doing ahead of time compilation.
-Kyle
>
> -Trevor
>
>
>> or
>> Add -autocollect to your invocation of the lassoc tool.
>>
>> -Kyle
>>
>>> HDB
>>> Jolle
>> #############################################################
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso
>> Lasso@lists.lassosoft.com
>> To unsubscribe, E-mail to:<Lasso-unsubscribe@lists.lassosoft.com>
>> Send administrative queries to<Lasso-request@lists.lassosoft.com>
>>
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list Lasso
> Lasso@lists.lassosoft.com
> To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
> Send administrative queries to <Lasso-request@lists.lassosoft.com>
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>