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

Uncaught TypeError: The "data" argument must be one of type string, Buffer, TypedArray, or DataVi... #24

Closed
dallaire44 opened this issue Jun 12, 2020 · 1 comment

Comments

@dallaire44
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.47.0 x64
Electron: 5.0.13
OS: Ubuntu 20.04
Thrown From: sphinx-preview package 0.1.5

Stack Trace

Uncaught TypeError: The "data" argument must be one of type string, Buffer, TypedArray, or DataView. Received type object

At internal/crypto/hash.js:64

TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "data" argument must be one of type string, Buffer, TypedArray, or DataView. Received type object
    at Hash.update (internal/crypto/hash.js:64:11)
    at Object.getContainerName (/packages/sphinx-preview/lib/sphinx-preview.js:71:24)
    at Object.startSphinxServer (/packages/sphinx-preview/lib/sphinx-preview.js:115:32)
    at Object.toggle (/packages/sphinx-preview/lib/sphinx-preview.js:34:12)
    at HTMLElement.sphinxPreviewToggle (/packages/sphinx-preview/lib/sphinx-preview.js:23:47)
    at CommandRegistry.handleCommandEvent (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:349576)
    at CommandRegistry.dispatch (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:348051)
    at AtomEnvironment.dispatchApplicationMenuCommand (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:1:725973)
    at EventEmitter.t (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:1:733896)
    at EventEmitter.emit (events.js:194:13)

Commands

     -0:59.2.0 application:open-file (div.welcome.is-guide)
     -0:15.4.0 sphinx-preview:toggle (input.hidden-input)

Non-Core Packages

atom-html-preview 0.2.6 
browser-plus 0.0.98 
sphinx-preview 0.1.5 
@quentinus95
Copy link
Member

Duplicate of #18.

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

2 participants