-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?q=is%3Aissue+user%3Aatom
- Checked that there is not already an Pulsar package that provides the described functionality: https://atom.io/packages
Description
This package docblock-python does not function properly on startup.
Steps to Reproduce
- Clone the
masterbranch into the~/.pulsar/packagesdirectory - Open Pulsar
Expected behavior:
No errors upon startup.
Actual behavior:
Error TypeError: Cannot set property 'get_all_docblocks' of undefined is throw on startup.
Versions
Pulsar: 1.118.2024070703 x64
Electron: 12.2.3
OS: Ubuntu 20.04.6
Thrown From: docblock-python package 0.19.1
Stack Trace
Failed to load the docblock-python package
At Cannot set property 'get_all_docblocks' of undefined
TypeError: Cannot set property 'get_all_docblocks' of undefined
at Object.<anonymous> (linter-docblock-python.js:6:23)
at Object.<anonymous> (linter-docblock-python.js:192:2)
at Module._compile (/app.asar/src/native-compile-cache.js:120:30)
at /app.asar/src/compile-cache.js:252:23)
at Module.load (internal/modules/cjs/loader.js:935:32)
at Module._load (internal/modules/cjs/loader.js:776:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.o._load (electron/js2c/renderer_init.js:33:379)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (/app.asar/src/native-compile-cache.js:67:27)
at Object.<anonymous> (docblock-python.js:7:1)
at Object.<anonymous> (docblock-python.js:983:2)
at Module._compile (/app.asar/src/native-compile-cache.js:120:30)
at /app.asar/src/compile-cache.js:252:23)
at Module.load (internal/modules/cjs/loader.js:935:32)
at Module._load (internal/modules/cjs/loader.js:776:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.o._load (electron/js2c/renderer_init.js:33:379)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (/app.asar/src/native-compile-cache.js:67:27)
at requireModule (/app.asar/src/module-utils.js:3:17)
at Package.requireMainModule (/app.asar/src/package.js:916:27)
at /app.asar/src/package.js:141:16
at Package.measure (/app.asar/src/package.js:82:19)
at Package.load (/app.asar/src/package.js:127:10)
at PackageManager.loadAvailablePackage (/app.asar/src/package-manager.js:701:10)
at /app.asar/src/package-manager.js:609:14
at Config.transact (/app.asar/src/config.js:892:14)
at PackageManager.loadPackages (/app.asar/src/package-manager.js:607:17)
at /app.asar/src/atom-environment.js:973:21
Commands
Non-Core Packages
docblock-python 0.19.1
Additional Information
I will have a PR to fix this since all that needs to happen is to remove the this keyword from the get_all_docblocks in linter-docblock-python.js
I'm not expert in Javascript, so is this acceptable?
Metadata
Metadata
Assignees
Labels
No labels