-
-
Notifications
You must be signed in to change notification settings - Fork 0
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: call.getFileName
is not a function
#1
Comments
The problem is, a new version of The actual problem is at line 45 of Is there a plan to add NPM packages for Pulsar? |
Thanks a ton for the contribution in reporting this error. The collection of packages forked more directly from Otherwise while this sort of thing hasn't come up a lot in discussion, I'm not confident in thinking we will publish much to things like NPM. We are working hard to keep the amount of stuff we have to maintain down, and that likely would include packages on NPM. But if there's a use case and/or a need it very well could happen. |
Hi, doing similar to this stops the error for me, not ideal but \o/ Tried using the more recent atom-ide-base, and the branch aminya was working on, didn't help so far but maybe doing something wrong, worth following up? diff --git a/lib/main.js b/lib/main.js
index 4e004ac..8cb73d8 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -3,7 +3,7 @@ const whichSync = require("which").sync
const { AutoLanguageClient } = require("atom-languageclient")
const { detectVirtualEnv, detectPipEnv, replacePipEnvPathVar, sanitizeConfig } = require("./utils")
-import { createDebuggerProvider, activate as debuggerActivate, dispose as debuggerDispose } from "./debugger/main"
+// import { createDebuggerProvider, activate as debuggerActivate, dispose as debuggerDispose } from "./debugger/main"
// Ref: https://github.com/nteract/hydrogen/blob/master/lib/autocomplete-provider.js#L33
// adapted from http://stackoverflow.com/q/5474008
@@ -25,7 +25,7 @@ class PythonLanguageClient extends AutoLanguageClient {
}
// Remove deprecated option
atom.config.unset("ide-python.pylsPath")
- debuggerActivate()
+ // debuggerActivate()
}
/* eslint-disable class-methods-use-this */
@@ -139,7 +139,7 @@ class PythonLanguageClient extends AutoLanguageClient {
}
deactivate() {
- debuggerDispose()
+ // debuggerDispose()
return Promise.race([super.deactivate(), this.createTimeoutPromise(2000)])
}
@@ -155,5 +155,5 @@ class PythonLanguageClient extends AutoLanguageClient {
}
const pythonClient = new PythonLanguageClient()
-pythonClient.createDebuggerProvider = createDebuggerProvider // add the debugger
+// pythonClient.createDebuggerProvider = createDebuggerProvider // add the debugger
module.exports = pythonClient |
Same for me. |
I commented out line 45 in
|
I've got a new fork of this, (side note: the |
after installing
Macbook M1 |
hmm, you might want to try navigating to the package directory and running |
I tried it, but for whatever reason linter doesn't show any results. |
Is this the same issue, or a different issue? Are you getting the |
Yes, I am also getting the TypeError described here. I tried to disable ide-python and only have pulsar-ide-python enabled. When I do, TypeError goes away, but then linter does not show any results. I just did some testing and oddly enough it only works when I have both ide-python and pulsar-ide-python enabled. I'll open a new issue in pulsar-ide-python. |
traceback: ❯ npx electron-rebuild -v 12.2.3 An unhandled error occurred inside electron-rebuild Error: Error: node-gyp failed to rebuild '/Users/d/.pulsar/packages/pulsar-ide-python/node_modules/zadeh'. Error:
|
Thanks in advance for your bug report!
What happened?
When activating the package, the error shows up, as reported multiple times upstream:
Pulsar version
1.102.0
Which OS does this happen on?
🐧 Red Hat based (Fedora, Alma, RockyLinux, CentOS Stream, etc.)
OS details
Fedora 37 WS
Which CPU architecture are you running this on?
64-bit(x86_64)
What steps are needed to reproduce this?
ide-python
package.Additional Information:
No response
The text was updated successfully, but these errors were encountered: