I downloaded rhodes1.5 unstable version today and i did,
rake run:iphone
i got the below error,
RhoRuby| require_compiled: net/https
I 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
net/http
I 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
net/protocol
I 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
timeout
I 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
uri
I 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
uri/common
I 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
uri/generic
I 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
uri/ftp
I 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
uri/http
I 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
uri/https
I 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
uri/ldap
I 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
uri/ldaps
I 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
uri/mailto
E 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
error: can not find zlib
I 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
openssl
E 02/08/2010 13:27:58 b0185000 RhoRuby| require_compiled:
error: can not find openssl.so
I 02/08/2010 13:27:58 b0185000 APP| App error: no
such file to load -- openssl.so
when i saw the into the gem folders i found openssl folder missing in
the extensions.
Please tell me how to proceed with this issue?
C.Poornima.
Hi,
rake run:iphone
C.Poornima.
--
You received this message because you are subscribed to the Google Groups
"rhomobile" group.
To post to this group, send email to rhom...@googlegroups.com.
To unsubscribe from this group, send email to
rhomobile+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rhomobile?hl=en.
We are discontinued support of openssl extension due to legal problems. Why you are need it? If for net/https - use AsyncHttp interface instead http://wiki.rhomobile.com/index.php/Rhodes#AsyncHttp_.28since_1.5.29
Dmitry Moskalchuk
08.03.2010, в 11:00, Poornima написал(а):
I updated to 1.5 version today only, I included require' net/https'
in my controller, I did nothing change from my previous code.whether
if i remove that line it works?
C.Poornima
On Mar 8, 1:18 pm, Dmitry Moskalchuk <crys...@gmail.com> wrote:
> Hi,
>
> We are discontinued support of openssl extension due to legal problems. Why you are need it? If for net/https - use AsyncHttp interface insteadhttp://wiki.rhomobile.com/index.php/Rhodes#AsyncHttp_.28since_1.5.29
Can I use AsyncHttp on a direct call like accessing through API call
and rendering based on the response?
Does Rhodes-1.5 works on windows platform?
May i know when will be the official release of the gem?
C.Poornima.
You should remove 'require net/http(s)'
And remove extensions from build.yml
What is your data format? If it is JSON than AsyncHttp parsed it
automatically
-----Original Message-----
From: rhom...@googlegroups.com [mailto:rhom...@googlegroups.com] On
Behalf Of Poornima
Error: undefined method `url_for'
Does AsyncHttp supports on External Libraries or not?
C.Poornima
On Mar 8, 2:50 pm, "evgeny vovchenko" <evgenyvovche...@gmail.com>
wrote:
Dmitry Moskalchuk
08.03.2010, в 13:56, Poornima написал(а):
iam getting same error,
Error: undefined method `url_for' for Rho::RhoController::Class.
I included the header too
require 'rho'
require 'rho/rhocontroller' in my library
Also when I tried to parse using Rho::JSON.parse(@params['body']) it
throwing the error
Can you tell how can i parse JSON?
C.Poornima
C.Poornima
Regarding JSON problem - what the error you've seen?
Dmitry Moskalchuk
-----Original Message-----
From: rhom...@googlegroups.com [mailto:rhom...@googlegroups.com] On
Behalf Of Poornima
Sent: Monday, March 08, 2010 4:41 PM
To: rhomobile
Subject: [rhomobile] Re: No such file to load openssl.so error on rhodes-1.5
Dmitry,
iam getting same error,
Seems to be not working any thing i made mistake? please guide me.
i added
require 'rho/rhoviewhelpers'
but still iam getting the error
this is my method what i used in my library,
def get_response(url_path)
res = Rho::AsyncHttp.get(:url => url_path, :callback =>
( url_for :action => :httpget_callback ), :callback_param => "" )
response = Rho::JSON.parse(res)
response
end
Error: undefined method `url_for' for #
also when i tried to parse i am getting the error,
Error: undefined method `parse' for Rho::JSON Class
C.Poornima
On Mar 8, 7:59 pm, "evgeny vovchenko" <evgenyvovche...@gmail.com>
Again, you don't have to parse json body, it is already parsed
Read wiki pls:
http://wiki.rhomobile.com/index.php/Rhodes#AsyncHttp_.28since_1.5.29
AsyncHttp.get dow not retrun any result
You should define callback
Iam getting the below as my AsyncHttp result,
{"rho_callback"=>"1", "status"=>"ok", "headers"=>{"Connection"=>"Keep-
Alive", "Content-Type"=>"text/html; charset=UTF-8", "Date"=>"Tue, 09
Mar 2010 05:22:44 GMT", "Keep-Alive"=>"timeout=15, max=100",
"Server"=>"Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6.5 mod_ssl/2.2.4
OpenSSL/0.9.8e JRun/4.0", "Transfer-Encoding"=>"chunked"},
"body"=>"{\"ERRORARRAY\":[],\"ACTION\":\"action\",\"DATA\":{\"USERNAME
\":\"abc\",\"KEY\":\"abc\"}}"}
body is coming in JSON format I want to parse and render when I use
Rho::JSON.parse(@params['body']) throwing,
App error: undefined method `parse' for Rho::JSON:Class
How to parse in this case?
C.Poornima
On Mar 8, 9:06 pm, "evgeny vovchenko" <evgenyvovche...@gmail.com>
I think what Evgeny is suggesting is that you don't need to parse.
It's already a usable hash.
Adam
Sent from my iPhone
>> For more options, visit this group athttp://groups.google.com/group/
Why content-type is text/html? Is it your webservice? It should be
application/json
In this case it will be parsed by AsyncHttp
Regards,
Evgeny.
-----Original Message-----
From: rhom...@googlegroups.com [mailto:rhom...@googlegroups.com] On
Behalf Of Poornima
Sent: Tuesday, March 09, 2010 8:33 AM
To: rhomobile
Subject: [rhomobile] Re: No such file to load openssl.so error on rhodes-1.5
Have just checked the APIs - thats not our APIs unfortunately.
The API is returning the Content Type as text/html only. OR is there a
way to specify the content-type of the API result to the API call, so
that the automatic parsing will happen?
I agree with you that the content type should have been JSON.
Now whats the solution?
Why this is not working?
Rho::JSON.parse(@params['body'])
Are you saying this was a bug and now got fixed in 1.5?
thanks for your help
Best Regards
Poornima
On Mar 9, 11:38 am, "evgeny vovchenko" <evgenyvovche...@gmail.com>
wrote:
> ...
>
> read more >>
C.Poornima.
On Mar 9, 1:54 pm, "evgeny vovchenko" <evgenyvovche...@gmail.com>
> ...
>
> read more >>
What's your use case that cannot be accomplished with Phonegap?
--
You received this message because you are subscribed to the Google Groups "rhomobile" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rhomobile/-/2C23pweTmLwJ.
Hi Team,I have worked with PhoneGap for the past 4 months, due to one business case, i am looking for alternate mobile framework. Can any one answer my below questions.1) Whether "RhoMobile" File Transfer API Supports in Android, BB & Windows Phone OS.2) Whether "RhoMobile" Camera API feature works in Android, BB & Windows Phone OS.3) Whether "RhoMobile" Barcode Scanner feature works in Android, BB & Windows Phone OS.And main thing, i should able to achieve this features in one build.Please give your valid inputs.Thanks & Regards,S.Suresh Kumar
To view this discussion on the web visit https://groups.google.com/d/msg/rhomobile/-/oQhm5hJkbnEJ.