ason | 2 May 2010 17:12
Picon

twitter-related service for iPhone by OpenLaszlo DHTML SOLO

Hi everyone,

Just information.

We have developed the twitter-related web service for iPhone by
OpenLaszlo DHTML SOLO.
It is a free service now.

The service URLs and the screen shots are here:
http://bmb.oidc.jp/article.php/20100422185946172#articleblock
(written by Japanese)

The usage:
1) input the word that you want to search into the edittext.
2) you can select an interval second and a colorset
3) touch the pad (or click)
4) Then, the real-time tweet is showed every interval second.

Best regards,
ason

cem sonmez | 4 May 2010 10:03
Picon

Re: [Laszlo-dev] Problem running lzc in Ubuntu 9.10

cc'ing to laszlo-user
same issue repeats on my machine.
I have been facing this problem for a long time, so I had to use
developer console and using it to generate application objects since
that time.
Regards

2010/5/3 Brian Hartman <bhartman36@...>:
> Hi, Everyone.
>
> I have 4.7.2 running.  I've confirmed that Tomcat is running on my system,
> but when I try to compile a project with lzc, I get the following error:
>
> ./lzc: line 24:
> /home/bhartman/lps-4.7.2/bin/./../Server/tomcat-5.0.24/work/LPS/localhost/lps-4.7.2/WEB-INF/lps/server/bin/lzenv:
> No such file or directory
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/openlaszlo/compiler/Main
> Caused by: java.lang.ClassNotFoundException: org.openlaszlo.compiler.Main
>     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> Could not find the main class: org.openlaszlo.compiler.Main.  Program will
> exit.
>
> I've set my variables as follows:
>
(Continue reading)

P T Withington | 4 May 2010 14:15
Picon
Favicon
Gravatar

Re: [Laszlo-dev] Problem running lzc in Ubuntu 9.10

lzc is just a shell script that tries to automatically figure out LPS_HOME.  Looks like it's logic is a little twisted:

> myhome=`dirname "$0"`
> if [ -e "$myhome/../Server" ]; then
>   case "$myhome" in
>     /*) ;;
>     *) myhome=`pwd`/"$myhome" ;;
>   esac
>   LPS_HOME=`find "$myhome/../Server" -name lps-'*'|head -1` 
> fi

At the very least, I wonder why it goes through all this effort if LPS_HOME is already set?

I think we should just delete all that and require LPS_HOME to be set.

Henry (cc-ed) was the last to touch this in r12136 [make lzenv lzc Solaris compatible (gah)]

On 2010-05-04, at 04:03, cem sonmez wrote:

> cc'ing to laszlo-user
> same issue repeats on my machine.
> I have been facing this problem for a long time, so I had to use
> developer console and using it to generate application objects since
> that time.
> Regards
> 
> 2010/5/3 Brian Hartman <bhartman36@...>:
>> Hi, Everyone.
>> 
>> I have 4.7.2 running.  I've confirmed that Tomcat is running on my system,
(Continue reading)

P T Withington | 4 May 2010 14:22
Picon
Favicon
Gravatar

Re: [Laszlo-dev] Problem running lzc in Ubuntu 9.10

Filed as LPP-8959 lzc ignores LPS_HOME on Cem's behalf.

On 2010-05-04, at 08:15, P T Withington wrote:

> lzc is just a shell script that tries to automatically figure out LPS_HOME.  Looks like it's logic is a
little twisted:
> 
>> myhome=`dirname "$0"`
>> if [ -e "$myhome/../Server" ]; then
>>  case "$myhome" in
>>    /*) ;;
>>    *) myhome=`pwd`/"$myhome" ;;
>>  esac
>>  LPS_HOME=`find "$myhome/../Server" -name lps-'*'|head -1` 
>> fi
> 
> At the very least, I wonder why it goes through all this effort if LPS_HOME is already set?
> 
> I think we should just delete all that and require LPS_HOME to be set.
> 
> Henry (cc-ed) was the last to touch this in r12136 [make lzenv lzc Solaris compatible (gah)]
> 
> On 2010-05-04, at 04:03, cem sonmez wrote:
> 
>> cc'ing to laszlo-user
>> same issue repeats on my machine.
>> I have been facing this problem for a long time, so I had to use
>> developer console and using it to generate application objects since
>> that time.
>> Regards
(Continue reading)

cem sonmez | 4 May 2010 14:29
Picon

Re: [Laszlo-dev] Problem running lzc in Ubuntu 9.10

Allright ptw, thanks
I have no idea what is going on backstage, but also in my opinion,
setting lps-home path by users seems better. So you will may struggle
with the paths of lps.
Regards

2010/5/4 P T Withington <ptw@...>:
> Filed as LPP-8959 lzc ignores LPS_HOME on Cem's behalf.
>
> On 2010-05-04, at 08:15, P T Withington wrote:
>
>> lzc is just a shell script that tries to automatically figure out LPS_HOME.  Looks like it's logic is a
little twisted:
>>
>>> myhome=`dirname "$0"`
>>> if [ -e "$myhome/../Server" ]; then
>>>  case "$myhome" in
>>>    /*) ;;
>>>    *) myhome=`pwd`/"$myhome" ;;
>>>  esac
>>>  LPS_HOME=`find "$myhome/../Server" -name lps-'*'|head -1`
>>> fi
>>
>> At the very least, I wonder why it goes through all this effort if LPS_HOME is already set?
>>
>> I think we should just delete all that and require LPS_HOME to be set.
>>
>> Henry (cc-ed) was the last to touch this in r12136 [make lzenv lzc Solaris compatible (gah)]
>>
>> On 2010-05-04, at 04:03, cem sonmez wrote:
(Continue reading)

cem sonmez | 4 May 2010 14:33
Picon

Re: [Laszlo-dev] Problem running lzc in Ubuntu 9.10

edit : So you will may not  struggle with the paths of lps more.

2010/5/4 cem sonmez <cemosonmez@...>:

> Allright ptw, thanks
> I have no idea what is going on backstage, but also in my opinion,
> setting lps-home path by users seems better. So you will may struggle
> with the paths of lps.
> Regards
>
> 2010/5/4 P T Withington <ptw@...>:
>> Filed as LPP-8959 lzc ignores LPS_HOME on Cem's behalf.
>>
>> On 2010-05-04, at 08:15, P T Withington wrote:
>>
>>> lzc is just a shell script that tries to automatically figure out LPS_HOME.  Looks like it's logic is a
little twisted:
>>>
>>>> myhome=`dirname "$0"`
>>>> if [ -e "$myhome/../Server" ]; then
>>>>  case "$myhome" in
>>>>    /*) ;;
>>>>    *) myhome=`pwd`/"$myhome" ;;
>>>>  esac
>>>>  LPS_HOME=`find "$myhome/../Server" -name lps-'*'|head -1`
>>>> fi
>>>
>>> At the very least, I wonder why it goes through all this effort if LPS_HOME is already set?
>>>
>>> I think we should just delete all that and require LPS_HOME to be set.
(Continue reading)

P T Withington | 4 May 2010 14:37
Picon
Favicon
Gravatar

Re: [Laszlo-dev] Problem running lzc in Ubuntu 9.10

As a work-around, you can just edit the lzc shell script and remove the lines I quoted.  That shell script is
only for the convenience of the user, not used by the system.

On 2010-05-04, at 08:29, cem sonmez wrote:

> Allright ptw, thanks
> I have no idea what is going on backstage, but also in my opinion,
> setting lps-home path by users seems better. So you will may struggle
> with the paths of lps.
> Regards
> 
> 2010/5/4 P T Withington <ptw@...>:
>> Filed as LPP-8959 lzc ignores LPS_HOME on Cem's behalf.
>> 
>> On 2010-05-04, at 08:15, P T Withington wrote:
>> 
>>> lzc is just a shell script that tries to automatically figure out LPS_HOME.  Looks like it's logic is a
little twisted:
>>> 
>>>> myhome=`dirname "$0"`
>>>> if [ -e "$myhome/../Server" ]; then
>>>>  case "$myhome" in
>>>>    /*) ;;
>>>>    *) myhome=`pwd`/"$myhome" ;;
>>>>  esac
>>>>  LPS_HOME=`find "$myhome/../Server" -name lps-'*'|head -1`
>>>> fi
>>> 
>>> At the very least, I wonder why it goes through all this effort if LPS_HOME is already set?
>>> 
(Continue reading)

cem sonmez | 4 May 2010 14:59
Picon

Re: [Laszlo-dev] Problem running lzc in Ubuntu 9.10

Yes, now  I am able to use lzc on command line, thanks a lot. I set
the LPS_HOME manually and now everthing is ok.
Regards

2010/5/4 P T Withington <ptw@...>:
> As a work-around, you can just edit the lzc shell script and remove the lines I quoted.  That shell script
is only for the convenience of the user, not used by the system.
>
> On 2010-05-04, at 08:29, cem sonmez wrote:
>
>> Allright ptw, thanks
>> I have no idea what is going on backstage, but also in my opinion,
>> setting lps-home path by users seems better. So you will may struggle
>> with the paths of lps.
>> Regards
>>
>> 2010/5/4 P T Withington <ptw@...>:
>>> Filed as LPP-8959 lzc ignores LPS_HOME on Cem's behalf.
>>>
>>> On 2010-05-04, at 08:15, P T Withington wrote:
>>>
>>>> lzc is just a shell script that tries to automatically figure out LPS_HOME.  Looks like it's logic is a
little twisted:
>>>>
>>>>> myhome=`dirname "$0"`
>>>>> if [ -e "$myhome/../Server" ]; then
>>>>>  case "$myhome" in
>>>>>    /*) ;;
>>>>>    *) myhome=`pwd`/"$myhome" ;;
>>>>>  esac
(Continue reading)

cem sonmez | 6 May 2010 14:29
Picon

Is it possible to attach a flash.net.NetStream object to <videoplayer>

Hi all
I am trying to attach a stream of a record on the flash server and
play it on the videoplayer.
I am able to attach the stream by using _attachStream of <videoview>.
But I want to play the record on the videoplayer.
So
I have flash.net.NetStream object called "myStream" and can attach it
to the videoview with no problem =>
myVideoview._attachStream(myStream)
But I see that there is not a _attachStream() like method for
<videoplayer>. And also I can not set the stream property of
videoplayer or videoview with the existing NetStream object.

Does anyone have an idea how to attach the NetStream object to <videoplayer>?

Ps : I am aware of <mediastream>, but I have done something on
NetStream objects. If your suggestion is on the way that I mentioned,
it would be appreciated.
Thanks in advance
Kind regards

--

-- 
Cem SONMEZ

Raju Bitter | 6 May 2010 13:11

[Laszlo-dev] Problem running lzc in Ubuntu 9.10

Hey Ason,


the app runs well on the HTC Desire/Google Nexus, here are some screenshots.

Cheers,
Raju

Gmane