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

Can not preview multiple files at the same time #617

Open
RungeCC opened this issue Sep 29, 2024 · 0 comments
Open

Can not preview multiple files at the same time #617

RungeCC opened this issue Sep 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@RungeCC
Copy link

RungeCC commented Sep 29, 2024

Describe the bug
Can not preview multiple files at the same time.

Package/Software version:

VSCode version(Help -> About):

Version: 1.93.1
Release: 24256
Commit: dbab3f8e8c5da7ca1bde636806e0a973e497aa01
Date: 2024-09-12T18:27:33.186Z
Electron: 30.4.0
ElectronBuildId: undefined
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Linux x64 6.6.47

tinymist extension version: v0.11.22. Get it by tinymist --version in terminal.

tinymist 
Build Timestamp:     1980-01-01T00:00:00.000000000Z
Build Git Describe:  VERGEN_IDEMPOTENT_OUTPUT
Commit SHA:          VERGEN_IDEMPOTENT_OUTPUT
Commit Date:         None
Commit Branch:       None
Cargo Target Triple: x86_64-unknown-linux-gnu
Typst Version:       0.11.1

image

Logs:

tinymist server log(Output Panel -> tinymist):

[2024-09-29T05:45:50Z INFO  tinymist::tool::preview] PreviewTask(dtomlj): arguments: PreviewCliArgs {
        preview: PreviewArgs {
            data_plane_host: "127.0.0.1:0",
            control_plane_host: "",
            enable_partial_rendering: true,
            invert_colors: "never",
            task_id: "dtomlj",
            refresh_style: OnType,
        },
        compile: CompileOnceArgs {
            input: Some(
                "/home/runge/test/02.typ",
            ),
            root: None,
            inputs: [],
            font: CompileFontArgs {
                font_paths: [],
                ignore_system_fonts: false,
            },
            creation_timestamp: None,
        },
        preview_mode: Document,
        static_file_host: "127.0.0.1:23627",
        not_as_primary: false,
        dont_open_in_browser: false,
    }
[2024-09-29T05:45:50Z INFO  typst_preview] Previewer: typst actor spawned
[2024-09-29T05:45:50Z DEBUG typst_preview::actor::typst] TypstActor: waiting for message
[2024-09-29T05:45:50Z INFO  tinymist::actor::editor] received status request(dtomlj) Compiling
[2024-09-29T05:45:50Z INFO  typst_preview] Data plane server listening on: 127.0.0.1:37377
thread 'tokio-runtime-worker' panicked at /build/cargo-vendor-dir/hyper-0.14.30/src/server/server.rs:81:13:
error binding to 127.0.0.1:23627: error creating server listener: Address already in use (os error 98)
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: hyper::server::server::Server<hyper::server::tcp::AddrIncoming,()>::bind
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

image

tinymist client log(Help -> Toggle Developer Tools -> Console):

// not related

Additional context
regression from v0.11.20.

@Myriad-Dreamin Myriad-Dreamin added the bug Something isn't working label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants