Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'sort' of undefined. #46

Open
vinura opened this issue Aug 19, 2019 · 2 comments
Open

TypeError: Cannot read property 'sort' of undefined. #46

vinura opened this issue Aug 19, 2019 · 2 comments

Comments

@vinura
Copy link

vinura commented Aug 19, 2019

C:\Users\Vinura\Documents\OneDrive\Tower Placement Problem QGIS Solution\Data\Geographical Daa\Elevation>agsout -s ./services.txt -o ./
TypeError: Cannot read property 'sort' of undefined
at requestService (C:\Users\Vinura\AppData\Roaming\npm\node_modules\agsout\index.js:79:11)
at rp.then (C:\Users\Vinura\AppData\Roaming\npm\node_modules\agsout\index.js:70:4)
at tryCatcher (C:\Users\Vinura\AppData\Roaming\npm\node_modules\agsout\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\Vinura\AppData\Roaming\npm\node_modules\agsout\node_modules\bluebird\js\release\promise.js:517:31)
at Promise._settlePromise (C:\Users\Vinura\AppData\Roaming\npm\node_modules\agsout\node_modules\bluebird\js\release\promise.js:574:18)
at Promise._settlePromise0 (C:\Users\Vinura\AppData\Roaming\npm\node_modules\agsout\node_modules\bluebird\js\release\promise.js:619:10)
at Promise._settlePromises (C:\Users\Vinura\AppData\Roaming\npm\node_modules\agsout\node_modules\bluebird\js\release\promise.js:699:18)
at _drainQueueStep (C:\Users\Vinura\AppData\Roaming\npm\node_modules\agsout\node_modules\bluebird\js\release\async.js:138:12)
at _drainQueue (C:\Users\Vinura\AppData\Roaming\npm\node_modules\agsout\node_modules\bluebird\js\release\async.js:131:9)
at Async._drainQueues (C:\Users\Vinura\AppData\Roaming\npm\node_modules\agsout\node_modules\bluebird\js\release\async.js:147:5)
at Immediate.Async.drainQueues (C:\Users\Vinura\AppData\Roaming\npm\node_modules\agsout\node_modules\bluebird\js\release\async.js:17:14)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)

@vinura vinura changed the title Hey I get this error. Can someone help me ? TypeError: Cannot read property 'sort' of undefined. Aug 19, 2019
@tarnh
Copy link

tarnh commented Dec 5, 2019

@vinura Please publish the content of your services.txt to allow us to debug.

@andrewteg
Copy link

I recently got this with this line for services.txt:

https://gismaps.vita.virginia.gov/arcgis/rest/services/VA_Base_layers/VA_Land_Cover/MapServer/0|VA_Base_layers_Land_Cover|500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants