JavaScript Optimizer "queued" status

1777
13
05-21-2014 09:51 AM
deleted-user-Jie3eyjOl9XM
Occasional Contributor
I've been working with the Optimizer for a couple days, and having a tough time getting everything configured the way it likes. It's a nontrivial application. At first, I just got a "queued" status. Then, for a while I was getting actual output. But, now I'm back to getting "queued". These builds remain queued for a long time, until I delete them.

I'm wondering, is there some kind of error or misconfiguration in my code that would cause the "queued" status? Or, is it really queued? Is there some kind of metering that's causing me to wait?
0 Kudos
13 Replies
derekswingley1
Frequent Contributor
Can you email your org name and account name to js_feedback@esri.com? I'll try to get this sorted out.
0 Kudos
JeffPace
MVP Alum
I tried my site, and get

Crawl and Analyze
Detecting Configuration
Crawling Your Code
Unable to find a script tag referencing dojo.js or the ArcGIS JS API.


I dont think it likes my reference to a local API

link

http://www.mymanatee.org/gisapps/mobile/index.html
0 Kudos
deleted-user-Jie3eyjOl9XM
Occasional Contributor
Jeff:

Unable to find a script tag referencing dojo.js or the ArcGIS JS API.

This same thing happened to me when I tried to point the JSO at a URL. But, mine was not a local API. I thought was because I was referencing like this:
<script src="//js.arcgis.com/3.9/"></script>

But even when I added the prefix, it didn't matter. I wish I could say I solved it, but instead I went back to uploading the zip.
0 Kudos
RahulMetangale1
Occasional Contributor II
Hi All,

I am also facing the same issue. Build is getting queued. I have tried following approaches:
Approach 1:
Uploaded module list
dijit/_WidgetBase
dijit/_Widget
dijit/_TemplatedMixin
dijit/_WidgetsInTemplateMixin
dijit/Dialog
dijit/registry
dijit/form/ComboBox
dijit/form/DateTextBox
dijit/form/MultiSelect
dijit/form/TextBox
dojox/charting/themes/Desert
dojox/charting/plot2d/Pie
dojox/charting/widget/Legend
dojo/domReady
dojo/dom-class
dojo/dom-attr
dojo/text
dojo/on
dojo/dom
dojo/aspect
dojo/_base/lang
dojo/Stateful
dojo/Deferred
dojo/_base/declare
dojo/_base/array
dojo/DeferredList
dojo/dom-style
dojo/dom-construct
dojo/_base/Color
dojo/_base/connect
dojo/store/Memory
dojo/data/ItemFileReadStore
dojo/when
dojo/date/locale
dojo/query
dojo/_base/fx
dojo/fx/easing
dojo/dom-geometry
dojo/_base/event
dojo/NodeList-traverse
dojo/NodeList-manipulate
esri/tasks/QueryTask
esri/tasks/query
esri/layers/layer
esri/layers/ArcGISTiledMapServiceLayer
esri/tasks/BufferParameters
esri/tasks/GeometryService
esri/tasks/RelationParameters
esri/graphic
esri/layers/GraphicsLayer
esri/layers/FeatureLayer
esri/renderers/SimpleRenderer
esri/symbols/SimpleMarkerSymbol
esri/symbols/PictureMarkerSymbol
esri/symbols/SimpleLineSymbol
esri/symbols/SimpleFillSymbol
esri/geometry/Point
esri/geometry/Polygon
esri/geometry/Polyline
esri/toolbars/draw
esri/tasks/Geoprocessor
esri/graphicsUtils
esri/request
esri/renderers/UniqueValueRenderer
esri/map
esri/layers/ArcGISDynamicMapServiceLayer
esri/layers/ArcGISImageServiceLayer
esri/layers/ArcGISTiledMapServiceLayer
esri/dijit/Popup
esri/dijit/PopupTemplate
esri/toolbars/navigation
esri/dijit/Legend
esri/TimeExtent
esri/dijit/TimeSlider


Approach 2:
When I upload a ZIP file of entire application only one file (that is main.js ) is selected in module list. Is this expected behavior? Here is my main.js file
(function () {
    require({
        async: 1,
        parseOnLoad: true,
        aliases: [
            ["text", "dojo/text"]
        ],
        packages: [{
            name: "widgets",
            location: location.href.slice(0, location.href.lastIndexOf("/")) + "/widgets"
        }, {
            name: "core_library",
            location: location.href.slice(0, location.href.lastIndexOf("/")) + "/core_library"
        }, {
            name: "images",
            location: location.href.slice(0, location.href.lastIndexOf("/")) + "/images"
        }, {
            name: "nls",
            location: location.href.slice(0, location.href.lastIndexOf("/")) + "/nls"
        }, {
            name: "app",
            location: location.href.slice(0, location.href.lastIndexOf("/")),
            main: "app"
        }]
    });

    require(["app", "dojo/ready"], function (App, ready) {
        return ready(function () {
            dojoConfig = {
                "modulePath": "",
                "baseURL": location.href.slice(0, location.href.lastIndexOf("/")),
                "theme": "default"
            };
            return App.initialize();
        });
    });

}).call(this);


Any thoughts?
0 Kudos