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

Spyder not working #685

Closed
alexanderwhatley opened this issue Jul 24, 2016 · 8 comments
Closed

Spyder not working #685

alexanderwhatley opened this issue Jul 24, 2016 · 8 comments

Comments

@alexanderwhatley
Copy link

Please use the following bug reporting template to help produce actionable and reproducible issues:

  • A brief description
    Spyder installed through Anaconda Python distribution
  • Expected results
    Window opening successfully after opening XMing
  • Actual results (with terminal output if applicable)
    Window opening, but then freezing and getting error message:
    QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Invalid argument
    QFileSystemWatcher: failed to add paths: /home/alex
    OMP: Error Remote screen (via ssh) crashes BashOnWindows #100: Fatal system error detected.
    OMP: System error Error: 0x800c0008 when trying to install #22: Invalid argument
  • Your Windows build number
    14388

See our contributing instructions for assistance.

@fcicq
Copy link

fcicq commented Jul 25, 2016

duplicate -> #216

@alexanderwhatley
Copy link
Author

I wouldn't say this is a duplicate - this question is about spyder in specific, and its not immediately obvious to users that spyder's filesystem watcher is not supported...

@benhillis
Copy link
Member

@fcicq @alexanderwhatley - It's likely that Spyder is using inotify for its filesystem watcher. Would it be possible to launch Spyder under strace to see what system call is falling over?

@benhillis
Copy link
Member

It seems to be related to inotify. I don't see the actual inotify system call in this trace, it might be happening from another thread though. It looks like this strace is just of the main thread (no follow forks option).

QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Invalid argument

@alexanderwhatley
Copy link
Author

@benhillis I reran it with "strace -f"; hopefully this is more informative: https://gist.github.com/alexanderwhatley/99501a1a407ea7e4d1a48169f9957c0d

@fcicq
Copy link

fcicq commented Jul 25, 2016

the first error message comes from qfilesystemwatcher_inotify.cpp from qt.

snippet:

        int wd = inotify_add_watch(inotifyFd,
                                   QFile::encodeName(path),
                                   (isDir
                                    ? (0
                                       | IN_ATTRIB
                                       | IN_MOVE
                                       | IN_CREATE
                                       | IN_DELETE
                                       | IN_DELETE_SELF
                                       )
                                    : (0
                                       | IN_ATTRIB
                                       | IN_MODIFY
                                       | IN_MOVE
                                       | IN_MOVE_SELF
                                       | IN_DELETE_SELF
                                       )));
        if (wd <= 0) {
            perror("QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed");
            continue;
}

@JasonLinMS
Copy link

Inotify has been available in the Insider builds for a few months now, and will be available in the Creators Update. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants