Comments (3)
Yes, this indeed seems like a hack.
Did some research: in 1.10, complete_remote_package
is in the REPLMode submodule, and not exported. Formally, then it is not part of the public API.
Not sure if it make sense to code a work-around in Pluto now.
IMHO in 1.11 this could be made part of public API using the new public
keyword. According to the logic of extensions, once it is public, Pkg.jl
somwehre needs to declare
public function complete_remote_package end
Then the extension would extend this function once REPL is loaded.
IMHO this would warrant an issue or a PR with Pkg.jl .
from pluto.jl.
I think this is because complete_remote_package is defined in an package extension of REPL now. It's used in _registered_package_completions. Replacing Pkg.REPLMode
with REPLExt
where
using REPL
const REPLExt = Base.get_extension(Pkg, :REPLExt)
fixes it for me, but this seems like a hack.
from pluto.jl.
const REPLExt = Base.get_extension(Pkg, :REPLExt)
Well, I just tried this out, the error as described in the gist persists.
The error occurs when calling RegistryInstances.reachable_registries()
during precompilation:
Pluto.jl/src/packages/PkgCompat.jl
Line 170 in 9f9ab2e
I can call RegistryInstances.reachable_registries()
from the REPL without problems. So there seems to be more to the picture, and we have at least two problems:
- fix the situation with
complete_remote_package
- figure out what is going on with
RegistryInstances.reachable_registries()
from pluto.jl.
Related Issues (20)
- Firefox stuck with 0.19.44 HOT 2
- Live Docs: Query docs again after cell completes running
- Adding Single-Trigger cells? HOT 4
- Sticky log messages
- Pluto only shows a part of a stacktrace with PythonCall HOT 4
- Performance: throttled status update loop impacts performance on large notebooks
- Support [sources] section in Project.toml for Julia 1.11
- BitIntegers does not work in Pluto HOT 8
- Does this physics interactive buttons can be done in Pluto.jl [1] HOT 5
- Update immer.js HOT 1
- Autocomplete should include definitions from unsaved cells
- `@bind` inside table always renders in "Safe Preview" mode HOT 3
- Have a way to use Pluto default `show` for types which define a custom `show` method HOT 1
- Failed to precompile Pluto HOT 4
- Julia 1.12 support
- Abbreviated stack traces HOT 1
- Overly eager autocomplete HOT 5
- State management: update messages out-of-order
- autocomplete on type problematic when defining functions
- Error when displaying log messages from GPUCompiler HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pluto.jl.