Coder Social home page Coder Social logo

Comments (12)

I60R avatar I60R commented on August 24, 2024 1

Here is a new release v2.0.0 where all MacOS problems are fixed (at least for me - tested it on MacOS run in VirtualBox).

Thank you for reporting this!

from page.

s1341 avatar s1341 commented on August 24, 2024

Ok. Compiled neovim from source and that seems to fix it.

from page.

s1341 avatar s1341 commented on August 24, 2024

Nope. I was wrong. Compiling neovim from source did NOT fix this issue.

from page.

I60R avatar I60R commented on August 24, 2024

Sorry, for delayed response.

I don't have access to any OS X machine, so I cannot debug it by myself.

Could you redirect to page with RUST_LOG=trace RUST_BACKTRACE=1 and provide output?

from page.

s1341 avatar s1341 commented on August 24, 2024

[INFO][page] options: Options {
address: None,
arguments: None,
config: None,
command: None,
command_post: None,
instance: None,
instance_append: None,
instance_close: None,
name: None,
filetype: "pager",
sink_open: false,
sink_print: false,
back: false,
back_restore: false,
follow: false,
follow_all: false,
query_lines: 0,
page_no_protect: false,
command_auto: false,
split_right: 0,
split_left: 0,
split_above: 0,
split_below: 0,
split_right_cols: None,
split_left_cols: None,
split_above_rows: None,
split_below_rows: None,
files: []
}
[TRACE][new nvim process] args: --cmd 'set shortmess+=I' --listen /var/folders/h9/m5lk4kcn5s11qg9yw6gllb2r0000gn/T/neovim-page/socket-SZQBTeszf634YTp2lmORjIzynhwyxf1Z

from page.

I60R avatar I60R commented on August 24, 2024

Does it work with TMPDIR=/tmp set when redirecting to page ?

from page.

s1341 avatar s1341 commented on August 24, 2024

nope. Same error

from page.

JeanMertz avatar JeanMertz commented on August 24, 2024

I've got the same error, also on macOS. Not sure what's happening though, but wanted to corroborate what @s1341 is saying.

from page.

I60R avatar I60R commented on August 24, 2024

There are two problems with macOS:

  1. Seems like a bug in FSEvents (page uses it to await until neovim's socket becomes available).
    Create events for sockets and pipes are swallowed, only Remove are delivered

  2. Don't allows to find actual path to PTY device associated with :term buffer.
    On Linux it's possible to obtain /dev/pty/* by following /dev/stdout symlink but on macOS it only produces fd/1 which of course isn't useful for page.


So, both of them will require some hacks to allow page to work properly on macOS.


Edit:

Actually there's a way to resolve /dev/pty/* path. Neovim :term buffer provides channel property, and there's nvim_get_chan_info() function which allows to get info about channel. This info contains "pty" property

from page.

s1341 avatar s1341 commented on August 24, 2024

Confirmed working. Thanks for the prompt fix!

from page.

JeanMertz avatar JeanMertz commented on August 24, 2024

Works for me as well. Awesome, and thank you 👍

from page.

braham-snyder avatar braham-snyder commented on August 24, 2024

The latest release gives me the same bug again, Error: timeout. v2.3.5 still works for me though. (I haven't tested versions in between.)

from page.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.