1. #11
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    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.

  2. #12
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    31
    Vote Rating
    1
    freshyseth is on a distinguished road

      0  

    Default


    Vista 7 (Pro). Sorry, I should have included that in my original post. Thanks, Jarred!

  3. #13
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    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

  4. #14
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    31
    Vote Rating
    1
    freshyseth is on a distinguished road

      0  

    Default


    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.

  5. #15
    Sencha User
    Join Date
    Mar 2010
    Location
    Utrecht, NL
    Posts
    15
    Vote Rating
    0
    peterversnee is on a distinguished road

      0  

    Default 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).

  6. #16
    Sencha Premium Member lorezyra's Avatar
    Join Date
    Dec 2007
    Location
    Japan -- 日本
    Posts
    634
    Vote Rating
    13
    lorezyra will become famous soon enough lorezyra will become famous soon enough

      0  

    Question Proxy?

    Proxy?


    I'm having the same problem...

    I've created a Json.Store in XDS...

    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)]);
        }
    });
    Using the URL in a typical browser, I see the following (sample) output:
    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!
    ================================================
    And here are my terms...
    1. I don't care if you use my source code. (Known as "Code.")
    2. I don't care if I get any monetary compensation.
    3. I do care to receive credit for Code provided. So, please keep my name in the comments for Code provided.
    4. Code is provided without warranty "AS-IS" and I claim absolutely no warranty nor liability to the quality, security, and run-ability on any platform.
    5. By using Code, you accept all risk inherit with Code regardless if Code has known and yet to be discovered bugs.
    6. You are welcome to change and improve the Code to best meet your needs.
    7. I don't care if you use the Code in a commercial or open-source project.
    8. You are not required to contact me prior to using the Code.
    ================================================
    Simple. Enjoy.

  7. #17
    Sencha Premium Member lorezyra's Avatar
    Join Date
    Dec 2007
    Location
    Japan -- 日本
    Posts
    634
    Vote Rating
    13
    lorezyra will become famous soon enough lorezyra will become famous soon enough

      0  

    Default


    ok... so, on XP the pathway is:

    C:\Documents and Settings\%username%\Local Settings\Application Data\Sencha, Inc\Sencha Designer 1.2\*.localstorage
    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!
    ================================================
    And here are my terms...
    1. I don't care if you use my source code. (Known as "Code.")
    2. I don't care if I get any monetary compensation.
    3. I do care to receive credit for Code provided. So, please keep my name in the comments for Code provided.
    4. Code is provided without warranty "AS-IS" and I claim absolutely no warranty nor liability to the quality, security, and run-ability on any platform.
    5. By using Code, you accept all risk inherit with Code regardless if Code has known and yet to be discovered bugs.
    6. You are welcome to change and improve the Code to best meet your needs.
    7. I don't care if you use the Code in a commercial or open-source project.
    8. You are not required to contact me prior to using the Code.
    ================================================
    Simple. Enjoy.

  8. #18
    Sencha User
    Join Date
    Mar 2010
    Location
    Utrecht, NL
    Posts
    15
    Vote Rating
    0
    peterversnee is on a distinguished road

      0  

    Default


    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

  9. #19
    Sencha Premium Member lorezyra's Avatar
    Join Date
    Dec 2007
    Location
    Japan -- 日本
    Posts
    634
    Vote Rating
    13
    lorezyra will become famous soon enough lorezyra will become famous soon enough

      0  

    Default 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.

    C:\Documents and Settings\%username%\Local Settings\Application Data\Sencha, Inc\Sencha Designer 1.2\*.localstorage
    is not the URL of a store...
    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!
    ================================================
    And here are my terms...
    1. I don't care if you use my source code. (Known as "Code.")
    2. I don't care if I get any monetary compensation.
    3. I do care to receive credit for Code provided. So, please keep my name in the comments for Code provided.
    4. Code is provided without warranty "AS-IS" and I claim absolutely no warranty nor liability to the quality, security, and run-ability on any platform.
    5. By using Code, you accept all risk inherit with Code regardless if Code has known and yet to be discovered bugs.
    6. You are welcome to change and improve the Code to best meet your needs.
    7. I don't care if you use the Code in a commercial or open-source project.
    8. You are not required to contact me prior to using the Code.
    ================================================
    Simple. Enjoy.

  10. #20
    Sencha Premium Member lorezyra's Avatar
    Join Date
    Dec 2007
    Location
    Japan -- 日本
    Posts
    634
    Vote Rating
    13
    lorezyra will become famous soon enough lorezyra will become famous soon enough

      0  

    Default


    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!
    ================================================
    And here are my terms...
    1. I don't care if you use my source code. (Known as "Code.")
    2. I don't care if I get any monetary compensation.
    3. I do care to receive credit for Code provided. So, please keep my name in the comments for Code provided.
    4. Code is provided without warranty "AS-IS" and I claim absolutely no warranty nor liability to the quality, security, and run-ability on any platform.
    5. By using Code, you accept all risk inherit with Code regardless if Code has known and yet to be discovered bugs.
    6. You are welcome to change and improve the Code to best meet your needs.
    7. I don't care if you use the Code in a commercial or open-source project.
    8. You are not required to contact me prior to using the Code.
    ================================================
    Simple. Enjoy.

Similar Threads

  1. Replies: 3
    Last Post: 14 Dec 2010, 10:22 PM
  2. [DUPE-447] Ext.data.TreeStore firing "read" not "load"
    By benwhite in forum Sencha Touch 1.x: Bugs
    Replies: 1
    Last Post: 3 Nov 2010, 1:32 PM
  3. Configuration of JsonReader - root: as the "real root" of data?
    By antonye in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 21 Jun 2010, 2:47 AM
  4. "datafield" and " radio" with load data in a Form
    By launort in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 10 Aug 2009, 7:03 AM
  5. datastore load error"root is undefined"
    By netbox in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 17 Mar 2009, 1:39 AM

Thread Participants: 7

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."