You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The warning has no functional consequences and can be safely ignored.
It is caused by node-gdal-async using raw getters (as opposed to property getters) which allow console.log to print the actual value instead of geoTransform: [Function] - and in this case Node's internals do not like getting an exception.
AFAIK, it is not possible to have both.
> ds.close()
undefined
> console.log(ds)
Uncaught:
Error [ERR_INTERNAL_ASSERTION]: Error: Dataset object has already been destroyed
at getOwnPropertyDescriptor (<anonymous>)
at formatProperty (internal/util/inspect.js:1652:18)
at formatRaw (internal/util/inspect.js:985:9)
at formatValue (internal/util/inspect.js:772:10)
at inspect (internal/util/inspect.js:317:10)
at formatWithOptionsInternal (internal/util/inspect.js:1976:40)
at formatWithOptions (internal/util/inspect.js:1858:10)
at console.value (internal/console/constructor.js:323:14)
at console.log (internal/console/constructor.js:358:61)
at REPL33:1:9
This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
Please open an issue with this stack trace at https://github.com/nodejs/node/issues
at Function.fail (internal/assert.js:20:9)
at handleMaxCallStackSize (internal/util/inspect.js:1349:10)
at formatRaw (internal/util/inspect.js:992:12)
at formatValue (internal/util/inspect.js:772:10)
at inspect (internal/util/inspect.js:317:10)
at formatWithOptionsInternal (internal/util/inspect.js:1976:40)
at formatWithOptions (internal/util/inspect.js:1858:10)
at console.value (internal/console/constructor.js:323:14)
at console.log (internal/console/constructor.js:358:61)
at REPL33:1:9 {
code: 'ERR_INTERNAL_ASSERTION'
}
The text was updated successfully, but these errors were encountered:
The warning has no functional consequences and can be safely ignored.
It is caused by
node-gdal-async
using raw getters (as opposed to property getters) which allowconsole.log
to print the actual value instead ofgeoTransform: [Function]
- and in this case Node's internals do not like getting an exception.AFAIK, it is not possible to have both.
The text was updated successfully, but these errors were encountered: