-
23 Sep 2011 6:16 AM #11Sencha - Desktop Packager Dev Team
- Join Date
- Mar 2007
- Location
- Baltimore, MD.
- Posts
- 1,745
- Vote Rating
- 5
Hey Seth,
Are you on Windows (XP or Vista/7?), OS X, or Linux? There's a local storage SQLite database you can delete to reset your settings (proxy config included). I'll give you the path to that file, depending on your OS.
-
23 Sep 2011 7:41 AM #12
Vista 7 (Pro). Sorry, I should have included that in my original post. Thanks, Jarred!
-
23 Sep 2011 7:44 AM #13Sencha - Desktop Packager Dev Team
- Join Date
- Mar 2007
- Location
- Baltimore, MD.
- Posts
- 1,745
- Vote Rating
- 5
No worries. If you browse to C:\Users\<username>\AppData\Local\Sencha, Inc\Sencha Designer\ and delete the .localstorage file, that'll take care of clearing out your proxy config

-
23 Sep 2011 8:23 AM #14
Perfect! Thanks. The only change I had to make to your path (and it is minor) was to change:
"...\Sencha Designer\" to "...\Sencha Designer 1.2\".
Just in case anyone else tries navigating that filepath exactly. You're awesome.
-
4 Oct 2011 1:43 AM #15
2 bugs?
2 bugs?
I'm running into the same errors. There might be two bugs:
If the URL Prefix is set with an/ at the end and the Ajax Proxy's url with an starting / it won't work (obviously): http://www.domain.com/data/ + /users/users.json = http://www.domain.com/data//users/users.json
However: if you put http://www.domain.com/data/- in the URL Prefix and -/users/users.json in the Proxy's url, then you get: http://www.domain.com/data/-/-/users/users.json So I'm guessing Ext Designer is helping a bit too much
Removing the trailing and leading / will fix this.
Second bug: https:// cannot be resolved or something like that. Putting the exact same content in a public_html 'fixes' that (logically).
-
25 Oct 2011 6:30 PM #16
Proxy?
Proxy?
I'm having the same problem...
I've created a Json.Store in XDS...
Using the URL in a typical browser, I see the following (sample) output:Code:Ext.define('MyApp.store.langListStore', { extend: 'Ext.data.Store', constructor: function(cfg) { var me = this; cfg = cfg || {}; me.callParent([Ext.apply({ autoLoad: true, storeId: 'langList', sortRoot: 'id', clearOnPageLoad: false, proxy: { type: 'ajax', simpleSortMode: true, timeout: 15000, url: '/blog/getLang.php?limit=90', reader: { type: 'json', idProperty: 'id', root: 'langs' } }, fields: [ { mapping: 'id', name: 'id', type: 'int' }, { mapping: 'name', name: 'name', type: 'string' }, { mapping: 'roman', name: 'roman', type: 'string' }, { mapping: 'rtl', name: 'rtl', type: 'boolean' }, { mapping: 'ISO639', name: 'ISO639', type: 'string' } ] }, cfg)]); } });
Code:{"total":3,"langs":[{"id":"1","name":"\u4e2d\u6587","roman":"Chinese","rtl":"0","ISO639":"ZH"},{"id":"2","name":"English","roman":"English","rtl":"0","ISO639":"EN"},{"id":"3","name":"Espa\u00f1ol","roman":"Spanish","rtl":"0","ISO639":"ES"}]}
I know the backend is working perfectly.
However, when I attempt to get Designer 1.2.2 r48 to load the data, it fails with the "Unable to load data using the supplied configuration" error.
It's worth noting that I am using Designer at a client's office behind a proxy. I had successfully managed to bypass the NTLM proxy using CYGWIN virtual environment with NTLmaps.
I'm not that experienced with ExtJS 4.x (but I'm working on it). ExtJS 3.x works with no major issues. I'm currently migrating one of my apps to ExtJS 4. I'm fairly certain my JS code above is correct.
Can someone point me in the correct direction?Perfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...
When in doubt, check the d4mn source code!
-
25 Oct 2011 7:00 PM #17
ok... so, on XP the pathway is:
C:\Documents and Settings\%username%\Local Settings\Application Data\Sencha, Inc\Sencha Designer 1.2\*.localstoragePerfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...
When in doubt, check the d4mn source code!
-
26 Oct 2011 10:12 AM #18
Check your project settings:
Schermafbeelding 2011-10-26 om 20.08.58.png
and then your stores url:
Schermafbeelding 2011-10-26 om 20.09.37.png
this should add up to http://localhost/somedir/somefile.php
Yours will add up to http://localhost/C:\Documents and Settings\%username%\Local Settings\Application Data\Sencha, Inc\Sencha Designer 1.2\*.localstorage
-
26 Oct 2011 4:28 PM #19
Reply for proxy location on file system
Reply for proxy location on file system
@peterversnee:
My reply was for the location of the SQLite DB file that Designer creates with the proxy info used to register the Designer... It's not directly related to how the Designer concatenates the preference (URL Prefix) with your store's (proxy) URL property.
is not the URL of a store...C:\Documents and Settings\%username%\Local Settings\Application Data\Sencha, Inc\Sencha Designer 1.2\*.localstoragePerfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...
When in doubt, check the d4mn source code!
-
26 Oct 2011 5:27 PM #20
The error message displays the correct full URL expected to grab the json data. And, when I click on the provided link the browser displays the json data with no errors.
So, my question remains... Why would Designer error out on loading the data? Is my store config correct?Perfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...
When in doubt, check the d4mn source code!
Similar Threads
-
How do Ext.form.Combo could accepts data begin/end with "<" and/or ">" char ?
By soulgen in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 14 Dec 2010, 10:22 PM -
[DUPE-447] Ext.data.TreeStore firing "read" not "load"
By benwhite in forum Sencha Touch 1.x: BugsReplies: 1Last Post: 3 Nov 2010, 1:32 PM -
Configuration of JsonReader - root: as the "real root" of data?
By antonye in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 21 Jun 2010, 2:47 AM -
"datafield" and " radio" with load data in a Form
By launort in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 10 Aug 2009, 7:03 AM -
datastore load error"root is undefined"
By netbox in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 17 Mar 2009, 1:39 AM


Reply With Quote