You found a bug! We've classified it as SDKTOOLS-250 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Ext JS Premium Member
    Join Date
    Oct 2010
    Location
    West Germany
    Posts
    55
    Vote Rating
    4
    olegtaranenko is on a distinguished road

      0  

    Question Regression in yuicompressor ? Sencha Cmd 3.0.0.250

    Regression in yuicompressor ? Sencha Cmd 3.0.0.250


    Hi all,

    I got pretty interesting message from
    sencha ant testing build:

    Code:
    Sencha Cmd v3.0.0.250[INF]		testing:
    [INF]		-before-init-local:
    [INF]		-init-local:
    [INF]		-after-init-local:
    [INF]		init-local:
    [INF]		find-cmd:
    [INF]		-before-init:
    [INF]		-init:
    [INF]		-after-init:
    [INF]		init:
    [INF]		-before-build:
    [INF]		sass:
    [INF]		-before-sass:
    [INF]		-sass:
    [INF]		[shellscript] 
    [INF]		[shellscript] C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\resources\sass>compass compile 
    [INF]		[shellscript] unchanged app.scss
    [INF]		-after-sass:
    [INF]		page:
    [INF]		-before-page:
    [INF]		-page:
    [INF]		building application
    [INF]		Deploying your application to C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\build\Pipedrive\testing
    [INF]		Copied js/date.js
    [INF]		Copied bootstrap.js
    [INF]		Copied touch/sencha-touch.js
    [INF]		Copied app.js
    [INF]		Copied resources/css/app.css
    [INF]		Copied C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\resources\images
    [INF]		Copied C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\resources\icons
    [INF]		Copied C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\resources\loading
    [INF]		Resolving your application dependencies (file:///C:/dev/odesk/pipedrive/git/Pipedrive-Mobile-App/Pipedrive/index.html)
    [INF]		Compiling app.js and dependencies
    [INF]		Processing classPath entry : C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\sencha-compile-temp-dir
    [INF]		Processing classPath entry : C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\touch\src
    [INF]		Processing classPath entry : C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app.js
    [INF]		Processing classPath entry : C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\data\RestApi.js => 15 : 8 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\DealFilters.js => 6 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\OrganizationActivities.js => 13 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\People.js => 15 : 8 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\DealProducts.js => 12 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\DealActivities.js => 13 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\PersonActivities.js => 13 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\DealFields.js => 11 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\Activities.js => 35 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\OrganizationFields.js => 5 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\Search.js => 12 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\PersonDeals.js => 13 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\Organizations.js => 16 : 8 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\OrganizationPeople.js => 13 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\PersonFilters.js => 15 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\data\RestApi.js => 15 : 8 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\OrganizationFilters.js => 15 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\OrganizationDeals.js => 13 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\data\RestApi.js => 15 : 8 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\StageDeals.js => 10 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\Deals.js => 9 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\PersonFields.js => 5 : 7 )
    [INF]		Processing class inheritance graph
    [INF]		Processing instantiation refereces to classes and aliases
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\data\RestApi.js => 15 : 8 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\Activities.js => 35 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\DealActivities.js => 13 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\DealFields.js => 11 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\DealFilters.js => 6 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\DealProducts.js => 12 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\Deals.js => 9 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\OrganizationActivities.js => 13 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\OrganizationDeals.js => 13 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\OrganizationFields.js => 5 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\OrganizationFilters.js => 15 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\data\RestApi.js => 15 : 8 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\OrganizationPeople.js => 13 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\Organizations.js => 16 : 8 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\People.js => 15 : 8 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\PersonActivities.js => 13 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\PersonDeals.js => 13 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\PersonFields.js => 5 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\PersonFilters.js => 15 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\data\RestApi.js => 15 : 8 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\Search.js => 12 : 7 )
    [ERR]		[ [2002] : Sencha Compiler Error <> Could not resolve 'type' property from object literal ] :: ( C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\app\store\StageDeals.js => 10 : 7 )
    [INF]		Processing source dependencies
    [INF]		Concatenating output to file C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\build\Pipedrive\testing\app.js
    [INF]		Completed compilation.
    [INF]		Processed local file js/date.js
    [INF]		Processed local file bootstrap.js
    [INF]		Processed local file touch/sencha-touch.js
    [INF]		Processed local file app.js
    [INF]		Generated app.json
    [INF]		Embedded microloader into index.html
    [INF]		Successfully deployed your application to C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\build\Pipedrive\testing
    [INF]		-after-page:
    [INF]		run:
    [INF]		-build:
    [INF]		-after-build:
    [INF]		     [echo] ********** Deploying to C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\build\Pipedrive/testing/ 
    [INF]		     [copy] Copying 1 file to C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\build\Pipedrive\testing\resources\fonts
    [INF]		     [copy] Copying 1 file to C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\build\Pipedrive\testing\resources\fonts
    [INF]		     [copy] Copying 1 file to C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\build\Pipedrive\testing\config
    [INF]		     [copy] Copying 1 file to C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\build\Pipedrive\testing\log4javascript
    [INF]		     [copy] Copying 1 file to C:\dev\odesk\pipedrive\git\Pipedrive-Mobile-App\Pipedrive\build\Pipedrive\testing
    [INF]		build:

    in the source nothing special:

    Code:
    Ext.define('Pipedrive.store.DealFilters', {	extend: 'Pipedrive.store.FiltersStore',
    	defaultFilterText: 'All deals, unfiltered',
    	contentType: 'deals',
    	config: {
    		proxy: {
    			extraParams: {
    				'type': 'deals'
    			}
    		}
    	}
    });
    3.0.0.201 eat this without any question. Pretty interesting that app is full working after all.

    Any toughts?

    Cheers, Oleg

  2. #2
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,337
    Vote Rating
    130
    dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all

      0  

    Default


    I don't think this is coming from YUI but looks like it is coming from the compiler's (newly enhanced) auto-dependency scanner I believe. This messages is generated when the scanner does not find a type property... probably because your proxy does not specify a type.

    The framework will resolve this to a particular form of proxy (Ext.data.proxy.Proxy or Ext.data.proxy.Memory) but the compiler does not recognize that default type.

    I will open a ticket to pick up the default type, but you can either ignore the problem for now or specify a "type" property.
    Don Griffin
    Ext JS Development Team Lead

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    23
    Vote Rating
    0
    mjgallag is on a distinguished road

      0  

    Default


    Don, I don't think explicitly specifying a type resolves this error, please see my thread below, thanks.

    http://www.sencha.com/forum/showthread.php?248458-sencha-app-build-production-issue-on-upgrade-from-2.0.3-to-2.1.0-amp-from-tools-to-cmd

  4. #4
    Ext JS Premium Member
    Join Date
    Oct 2010
    Location
    West Germany
    Posts
    55
    Vote Rating
    4
    olegtaranenko is on a distinguished road

      0  

    Default restricted permission?

    restricted permission?


    I trying to show a link but got
    Sencha Forums Message

    olegtaranenko, you do not have permission to access this page. This could be due to one of several reasons:
    1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
    2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
    what for fun? Should I buy Sencha subscription to view the thread?

  5. #5
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    23
    Vote Rating
    0
    mjgallag is on a distinguished road

      0  

    Default


    Ugh, I posted in a premium forum. Based on this experience, as a premium support subscriber, I question the value of the premium forums. I don't mind paying what I pay for the other benefits at all, I just think maybe premium forums are taking it too far, and that they should be eliminated altogether. I don't think I'll be posting in them in the future, because I want to be able to engage with the entire community, especially when I face issues. But I digress

    I've closed that thread and directed all further discussion to here, so all can see, since this is a bug. I tried to attach the thread as a straight PDF, so all could read easily, but I had to ZIP it to get upload to work.

  6. #6
    Ext JS Premium Member
    Join Date
    Oct 2010
    Location
    West Germany
    Posts
    55
    Vote Rating
    4
    olegtaranenko is on a distinguished road

      0  

    Default


    Thanks mjgallag

    will waiting for Don response... honestly speaking, I did not understand his advice something to define or override in my Store/Proxy classes

    Cheers, Oleg

  7. #7
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    23
    Vote Rating
    0
    mjgallag is on a distinguished road

      0  

    Default


    Oleg, I believe Don was asking you to try explicitly specifying a proxy type, like you see in my code in the attachment. But based on my experience I don't think this resolves the compilation error.

  8. #8
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    23
    Vote Rating
    0
    mjgallag is on a distinguished road

      0  

    Default


    Just to make sure we are all on the same page I can confirm that it seems this error can be safely ignored as a workaround, as Don suggests, as my production build seems to be working just fine.

  9. #9
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,337
    Vote Rating
    130
    dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all

      0  

    Default


    @mjgallag -

    In this code:

    Code:
    Ext.define('CheckIn.store.Visits', {
        extend: 'Ext.data.Store',
        requires: ['Ext.data.proxy.Direct'],
        config: {
            autoLoad: true,
            model: 'CheckIn.model.Visit',
            proxy: {
                type: 'direct',
                directFn: CheckInRemoteAction.getVisits,
                reader: {
                    rootProperty: 'objects',
                    messageProperty: 'message'
                }
            }
        }
    });
    There are two places where "type" must be determined: the "proxy" and the "reader". My guess is the compiler is not properly determining the type of the reader in this case. Can you confirm that adding an explicit type: 'foo' property to the reader has any affect?
    Don Griffin
    Ext JS Development Team Lead

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

  10. #10
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    23
    Vote Rating
    0
    mjgallag is on a distinguished road

      0  

    Default


    You're absolutely right Don. I should have noticed that based on the fact it was complaining about line 10, which is where the reader is defined. Replacing an implicit reader type of json with an explicit one fixes the compilation error.

    Therefore, I'll go with the explicit type workaround, since I feel safer with 0 production build errors, even if these types of build errors don't cause any actual issues when running in production When this bug closes I'll try implicit again.

    Thanks!

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..." hd porno faketaxi