8 Mar 2013 8:35 AM #1
sencha architect loading error
Hi Sencha Team
I just downloaded Sencha Architect for my new MacBook Pro and installed it.
But when I open it .. it just give this message "The requested URL's length exceeds the capacity limit for this server." and exit.
I have valid architect license.. but without opening the sencha architect I am not able to proceed further.
9 Mar 2013 10:51 PM #2
This may have been a server issue yesterday. Are you still encountering this problem?Aaron Conran
11 Mar 2013 10:09 PM #3
Unable to load data in browser from webservice using jsonp
1. I am new to sencha presently working with sencha architect(trial version), am not able to load data from webservice using jsonp showing error:" Unable to load data using supplied configuration" but when i place my json file in localhost, am able to display in browser using json proxy. After googling saw something like callback function should be written in webservice.
2.Using json from my localhost am able to display list in my browser(Chrome), for example i created my initial view with a button when its tapped should navigated to next page but am not able to do so..I tried the same with listitemtap but am not able to do it also..I don know whether am going wrong with controllers for which i have given the same name for ref and selector is there any changes to be made.
3. If this is gonna be the case for example my webservice is used by thousand clients how do you expect me to write this callback function for a new one(sencha) or is there any simple steps to be followed for writing it which doesn't interrupt other clients too.
Pls do clarify, am tearing my head...
Thanks in advance!!!!!!!!!!
12 Mar 2013 9:26 AM #4
A few things:
1) regarding loading data via a webservice: You should be using a JSONP proxy, not a regular AJAX proxy, for this. Also, be sure your server is returning a proper JSONP callback (a JSON object wrapped in a function, not just a JSON object alone)...
2) I would recommend these guides for controllers for now:
Also, since your app is using Sencha Touch - I'd suggest this:
Finally, on #3: Please let me know if I'm following your question properly. If I understand correctly - you have realized you need to wrap your JSON in a function call to make it work with JSONP -- but your website already responds with plain JSON, correct? and you don't want to change how it works for those users?
If that's the issue, it's a simple one to solve. Our JSONP proxy will pass a parameter to your server. You'll make an update to your server to wrap in a function call named after whatever that parameter is. If the parameter isn't passed, you can assume it's a regular JSON request, and not wrap in a function call.
I hope that is a bit of help getting you on the right path!Steve Sobel
Sencha Architect Development Team
13 Mar 2013 9:06 AM #5
Still getting the loading error
I am still getting the loading error ( attached the screen shot ).
Some 4 days it worked fine.. then again I am getting this error..
Is server is having issue again?
13 Mar 2013 9:31 AM #6
I misunderstood your original post. I thought you were having problems registering the software and logging in with your forum user credentials.
This looks like you are having problems with returned JSON data that cannot be parsed or a corrupted project file. Would you be willing to share your project with us so that we could take a look? You can send it privately to architect.feedback at sencha.com.
Also, Architect 2.2 has been put out today (along with Ext JS 4.2, Cmd 3.1 and our new Sencha Touch Bundle). It's possible that upgrading would help.
13 Mar 2013 9:55 AM #7
Thing is .. I am not able to open the Sencha Architect IDE itself.
13 Mar 2013 10:10 AM #8
Ram, zip up the project directory and we will take a look at it.Aaron Conran
13 Mar 2013 10:11 AM #9
getting some json error while launching sencha architect
I Just downloaded the latest Architect 2.2. But getting some json error while launching the sencha architect.
Attached the screen shot for your view. Which json file it is referring to. Wondering .. even before opening any project.. how come it gets reading json files.!!
13 Mar 2013 10:14 AM #10
I'm guessing possibly you pulled from a source control system and there is a merge conflict inside one of the metadata files.Aaron Conran