JuliaPy / JuliaPy/PyCall.jl

ERROR: LoadError: syntax: invalid interpolation syntax: "$\"

Offen
#1,058 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
1.5k
Forks
186
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The `d$` in the path is a problem.

```
Building PyCall → `\\123.123.123.123\d$\Program Files\path\build.log`
ERROR: LoadError: Error building `PyCall`:
ERROR: LoadError: syntax: invalid interpolation syntax: "$\"
Stacktrace:
[1] top-level scope
@ .julia\packages\Conda\xMClC\deps\deps.jl:1
[2] include(mod::Module, _path::String)
@ Base .\Base.jl:457
[3] include(x::String)
@ Conda .julia\packages\Conda\xMClC\src\Conda.jl:16
[4] top-level scope
@ .julia\packages\Conda\xMClC\src\Conda.jl:24
[5] include
@ .\Base.jl:457 [inlined]
[6] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
@ Base .\loading.jl:2045
[7] top-level scope
@ stdin:3
in expression starting at .julia\packages\Conda\xMClC\deps\deps.jl:1
in expression starting at .julia\packages\Conda\xMClC\src\Conda.jl:1
in expression starting at stdin:3
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit den in .julia\packages\Conda\...\deps\deps.jl und src\Conda.jl gezeigten Conda-Einstiegspunkten und reproduziere dann den Build mit einem Windows-Pfad, der d$ enthält. Verfolge, wie dieser Pfad in den generierten Julia-Ausdruck geschrieben wird; als abgeschlossen gilt die Aufgabe, wenn PyCall erfolgreich ohne den Fehler wegen ungültiger Interpolationssyntax erstellt wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
julia, python
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.