Re: [ovirt-users] gwt super dev mode

2015-12-23 Thread Alexander Wels
On Wednesday, December 23, 2015 11:15:17 AM royin rolland wrote:
> Hi,
> 
> Depending on your patch, appear “Error while executing action: A Request to
> the Server failed with the following Status Code: 500".

Did you do step 2?

setup GWT_CODESVR=localhost:9876 in the shell you are going to start the 
engine in. This will allow the engine to know where to get the permutations 
generated by the "code" server below.

Before you start the engine, which I am assuming you are running from a shell 
like so:

$HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py 
start

Make sure you do this:
set GWT_CODESVR=localhost:9876
export GWT_CODESVR

Then run the command to start the engine.

> > 在 2015年12月21日,22:54,Alexander Wels  写道:
> > 
> > On Thursday, December 17, 2015 09:05:10 AM Vojtech Szocs wrote:
> >> Hi,
> >> 
> >> oVirt UI currently uses GWT SDK version 2.6.1
> >> In GWT 2.6.x "classic" dev mode is still the default one.
> >> 
> >> We tried to use "super" dev mode some time ago [1] but it
> >> didn't work for us, probably due to using direct-eval RPC
> >> mechanism (we got HTTP 500 responses for RPC requests).
> >> 
> >>  [1] https://gerrit.ovirt.org/#/c/26093/
> >> 
> >> Because "classic" dev mode relies on NPAPI-based browser
> >> plugin, the downside is that developers must use old'ish
> >> browsers that still support NPAPI (Firefox <= 26 etc).
> >> 
> >> I think we can revisit this and try to experiment with
> >> "super" dev mode as I believe [1] was done in context of
> >> GWT 2.5.x anyway.
> >> 
> >> Regards,
> >> Vojtech
> > 
> > Hi,
> > 
> > I updated the initial WIP patch and I think it should work if you follow
> > the instructions in the new patch [2]. Feel free to give it a whirl and
> > give me feedback.
> > 
> > [2] https://gerrit.ovirt.org/#/c/50742/
> > > 
> >> - Original Message -
> >> 
> >>> From: "royin rolland"  >>> > To: vsz...@redhat.com
> >>> 
> >>> Cc: users@ovirt.org 
> >>> Sent: Wednesday, December 16, 2015 2:49:25 AM
> >>> Subject: gwt super dev mode
> >>> 
> >>> hi,vszos:
> >>> 
> >>>   ovirt engine when it supports super dev mode?ovirt 3.6?

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] gwt super dev mode

2015-12-23 Thread royin rolland
Hi,

I was doing this, the problem still exists

> 在 2015年12月23日,21:14,Alexander Wels  写道:
> 
> On Wednesday, December 23, 2015 11:15:17 AM royin rolland wrote:
>> Hi,
>> 
>> Depending on your patch, appear “Error while executing action: A Request to
>> the Server failed with the following Status Code: 500".
> 
> Did you do step 2?
> 
> setup GWT_CODESVR=localhost:9876 in the shell you are going to start the 
> engine in. This will allow the engine to know where to get the permutations 
> generated by the "code" server below.
> 
> Before you start the engine, which I am assuming you are running from a shell 
> like so:
> 
> $HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py 
> start
> 
> Make sure you do this:
> set GWT_CODESVR=localhost:9876
> export GWT_CODESVR
> 
> Then run the command to start the engine.
> 
>>> 在 2015年12月21日,22:54,Alexander Wels  写道:
>>> 
>>> On Thursday, December 17, 2015 09:05:10 AM Vojtech Szocs wrote:
 Hi,
 
 oVirt UI currently uses GWT SDK version 2.6.1
 In GWT 2.6.x "classic" dev mode is still the default one.
 
 We tried to use "super" dev mode some time ago [1] but it
 didn't work for us, probably due to using direct-eval RPC
 mechanism (we got HTTP 500 responses for RPC requests).
 
 [1] https://gerrit.ovirt.org/#/c/26093/
 
 Because "classic" dev mode relies on NPAPI-based browser
 plugin, the downside is that developers must use old'ish
 browsers that still support NPAPI (Firefox <= 26 etc).
 
 I think we can revisit this and try to experiment with
 "super" dev mode as I believe [1] was done in context of
 GWT 2.5.x anyway.
 
 Regards,
 Vojtech
>>> 
>>> Hi,
>>> 
>>> I updated the initial WIP patch and I think it should work if you follow
>>> the instructions in the new patch [2]. Feel free to give it a whirl and
>>> give me feedback.
>>> 
>>> [2] https://gerrit.ovirt.org/#/c/50742/
>>> >> >> 
 - Original Message -
 
> From: "royin rolland"  
> >> To: 
> vsz...@redhat.com 
> >
> Cc: users@ovirt.org   >
> Sent: Wednesday, December 16, 2015 2:49:25 AM
> Subject: gwt super dev mode
> 
> hi,vszos:
> 
>   ovirt engine when it supports super dev mode?ovirt 3.6?

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] gwt super dev mode

2015-12-23 Thread Alexander Wels
On Wednesday, December 23, 2015 11:43:44 PM royin rolland wrote:
> Hi,
> 
> I was doing this, the problem still exists
> 

I am assuming you have the code server running on your local host on port 
9876. Do you have a firewall blocking it?

Are there any interesting exceptions logged in $PREFIX/var/log/ovirt-
engine/server.log


> > 在 2015年12月23日,21:14,Alexander Wels  写道:
> > 
> > On Wednesday, December 23, 2015 11:15:17 AM royin rolland wrote:
> >> Hi,
> >> 
> >> Depending on your patch, appear “Error while executing action: A Request
> >> to
> >> the Server failed with the following Status Code: 500".
> > 
> > Did you do step 2?
> > 
> > setup GWT_CODESVR=localhost:9876 in the shell you are going to start the
> > engine in. This will allow the engine to know where to get the
> > permutations
> > generated by the "code" server below.
> > 
> > Before you start the engine, which I am assuming you are running from a
> > shell like so:
> > 
> > $HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine/ovirt-engine.p
> > y
> > start
> > 
> > Make sure you do this:
> > set GWT_CODESVR=localhost:9876
> > export GWT_CODESVR
> > 
> > Then run the command to start the engine.
> > 
> >>> 在 2015年12月21日,22:54,Alexander Wels  写道:
> >>> 
> >>> On Thursday, December 17, 2015 09:05:10 AM Vojtech Szocs wrote:
>  Hi,
>  
>  oVirt UI currently uses GWT SDK version 2.6.1
>  In GWT 2.6.x "classic" dev mode is still the default one.
>  
>  We tried to use "super" dev mode some time ago [1] but it
>  didn't work for us, probably due to using direct-eval RPC
>  mechanism (we got HTTP 500 responses for RPC requests).
>  
>  [1] https://gerrit.ovirt.org/#/c/26093/
>  
>  Because "classic" dev mode relies on NPAPI-based browser
>  plugin, the downside is that developers must use old'ish
>  browsers that still support NPAPI (Firefox <= 26 etc).
>  
>  I think we can revisit this and try to experiment with
>  "super" dev mode as I believe [1] was done in context of
>  GWT 2.5.x anyway.
>  
>  Regards,
>  Vojtech
> >>> 
> >>> Hi,
> >>> 
> >>> I updated the initial WIP patch and I think it should work if you follow
> >>> the instructions in the new patch [2]. Feel free to give it a whirl and
> >>> give me feedback.
> >>> 
> >>> [2] https://gerrit.ovirt.org/#/c/50742/
> >>>  >>> > 
>  - Original Message -
>  
> > From: "royin rolland"  >   > >> To: vsz...@redhat.com
> >   > >
> > Cc: users@ovirt.org   > > Sent: Wednesday, December 16, 2015 2:49:25
> > AM
> > Subject: gwt super dev mode
> > 
> > hi,vszos:
> > 
> > ovirt engine when it supports super dev mode?ovirt 3.6?

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] gwt super dev mode

2015-12-23 Thread royin rolland
Thank you very much for your help, I now have a success

> 在 2015年12月24日,02:38,Alexander Wels  写道:
> 
> On Wednesday, December 23, 2015 11:43:44 PM royin rolland wrote:
>> Hi,
>> 
>> I was doing this, the problem still exists
>> 
> 
> I am assuming you have the code server running on your local host on port 
> 9876. Do you have a firewall blocking it?
> 
> Are there any interesting exceptions logged in $PREFIX/var/log/ovirt-
> engine/server.log
> 
> 
>>> 在 2015年12月23日,21:14,Alexander Wels  写道:
>>> 
>>> On Wednesday, December 23, 2015 11:15:17 AM royin rolland wrote:
 Hi,
 
 Depending on your patch, appear “Error while executing action: A Request
 to
 the Server failed with the following Status Code: 500".
>>> 
>>> Did you do step 2?
>>> 
>>> setup GWT_CODESVR=localhost:9876 in the shell you are going to start the
>>> engine in. This will allow the engine to know where to get the
>>> permutations
>>> generated by the "code" server below.
>>> 
>>> Before you start the engine, which I am assuming you are running from a
>>> shell like so:
>>> 
>>> $HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine/ovirt-engine.p
>>> y
>>> start
>>> 
>>> Make sure you do this:
>>> set GWT_CODESVR=localhost:9876
>>> export GWT_CODESVR
>>> 
>>> Then run the command to start the engine.
>>> 
> 在 2015年12月21日,22:54,Alexander Wels  写道:
> 
> On Thursday, December 17, 2015 09:05:10 AM Vojtech Szocs wrote:
>> Hi,
>> 
>> oVirt UI currently uses GWT SDK version 2.6.1
>> In GWT 2.6.x "classic" dev mode is still the default one.
>> 
>> We tried to use "super" dev mode some time ago [1] but it
>> didn't work for us, probably due to using direct-eval RPC
>> mechanism (we got HTTP 500 responses for RPC requests).
>> 
>> [1] https://gerrit.ovirt.org/#/c/26093/
>> 
>> Because "classic" dev mode relies on NPAPI-based browser
>> plugin, the downside is that developers must use old'ish
>> browsers that still support NPAPI (Firefox <= 26 etc).
>> 
>> I think we can revisit this and try to experiment with
>> "super" dev mode as I believe [1] was done in context of
>> GWT 2.5.x anyway.
>> 
>> Regards,
>> Vojtech
> 
> Hi,
> 
> I updated the initial WIP patch and I think it should work if you follow
> the instructions in the new patch [2]. Feel free to give it a whirl and
> give me feedback.
> 
> [2] https://gerrit.ovirt.org/#/c/50742/
>   >> 
>> - Original Message -
>> 
>>> From: "royin rolland" >> 
>>> > 
>>> 
>>> >> vsz...@redhat.com 
>>> > 
>>> 
>>> >>
>>> Cc: users@ovirt.org  >> > >> 
>>> >> Sent: Wednesday, 
>>> December 16, 2015 2:49:25
>>> AM
>>> Subject: gwt super dev mode
>>> 
>>> hi,vszos:
>>> 
>>> ovirt engine when it supports super dev mode?ovirt 3.6?

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] gwt super dev mode

2015-12-21 Thread Alexander Wels
On Thursday, December 17, 2015 09:05:10 AM Vojtech Szocs wrote:
> Hi,
> 
> oVirt UI currently uses GWT SDK version 2.6.1
> In GWT 2.6.x "classic" dev mode is still the default one.
> 
> We tried to use "super" dev mode some time ago [1] but it
> didn't work for us, probably due to using direct-eval RPC
> mechanism (we got HTTP 500 responses for RPC requests).
> 
>   [1] https://gerrit.ovirt.org/#/c/26093/
> 
> Because "classic" dev mode relies on NPAPI-based browser
> plugin, the downside is that developers must use old'ish
> browsers that still support NPAPI (Firefox <= 26 etc).
> 
> I think we can revisit this and try to experiment with
> "super" dev mode as I believe [1] was done in context of
> GWT 2.5.x anyway.
> 
> Regards,
> Vojtech
> 
> 

Hi,

I updated the initial WIP patch and I think it should work if you follow the 
instructions in the new patch [2]. Feel free to give it a whirl and give me 
feedback.

[2] https://gerrit.ovirt.org/#/c/50742/

> - Original Message -
> 
> > From: "royin rolland" 
> > To: vsz...@redhat.com
> > Cc: users@ovirt.org
> > Sent: Wednesday, December 16, 2015 2:49:25 AM
> > Subject: gwt super dev mode
> > 
> > hi,vszos:
> > 
> > ovirt engine when it supports super dev mode?ovirt 3.6?

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] gwt super dev mode

2015-12-17 Thread Vojtech Szocs
Hi,

oVirt UI currently uses GWT SDK version 2.6.1
In GWT 2.6.x "classic" dev mode is still the default one.

We tried to use "super" dev mode some time ago [1] but it
didn't work for us, probably due to using direct-eval RPC
mechanism (we got HTTP 500 responses for RPC requests).

  [1] https://gerrit.ovirt.org/#/c/26093/

Because "classic" dev mode relies on NPAPI-based browser
plugin, the downside is that developers must use old'ish
browsers that still support NPAPI (Firefox <= 26 etc).

I think we can revisit this and try to experiment with
"super" dev mode as I believe [1] was done in context of
GWT 2.5.x anyway.

Regards,
Vojtech


- Original Message -
> From: "royin rolland" 
> To: vsz...@redhat.com
> Cc: users@ovirt.org
> Sent: Wednesday, December 16, 2015 2:49:25 AM
> Subject: gwt super dev mode
> 
> hi,vszos:
>   ovirt engine when it supports super dev mode?ovirt 3.6?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users