Skip to content

failed to identify PDU: n:/usr/local #31

Closed

Description

@mchaput
  1. Installed watchman from homebrew with brew install watchman
  2. Did watchman watch /Users/matt/dev/src/houdini/help.documents
  3. Tried to do the subscribe example from the readme:
bash-3.2$ watchman -j -p <<-EOT
> ["subscribe", "/Users/matt/dev/src/houdini/help/documents", "mysub", {
> "expression": ["allof",
> ["type", "f"],
> ["not", "empty"],
> ["suffix", "txt"]
> ],
> "fields": ["name"]
> }]
> EOT

Get the following output:

{
    "version": "2.9.3",
    "clock": "c:1395957042:22510:1:2",
    "subscribe": "mysub"
}
1395957383: tid=2066264848 failed to identify PDU: n:/usr/local
1395957383: tid=2066264848 unable to talk to your watchman!

Not sure what /usr/local has to do with anything.

Activity

  1. wez commented on Mar 27, 2014

    @wez
    Contributor

    Sounds like a dup of #11
    can you try the workaround i mention there?

  2. mchaput commented on Mar 27, 2014

    @mchaput
    Author

    I don't see any workaround in that issue?

  3. wez commented on Mar 27, 2014

    @wez
    Contributor
  4. wez commented on Mar 27, 2014

    @wez
    Contributor

    sorry, hit enter too soon; you sould add --server-encoding=json to your invocation

  5. added a commit that references this issue on Mar 31, 2014
  6. wez commented on Mar 31, 2014

    @wez
    Contributor

    I'm closing this one as a dupe of #11
    We're dodging this issue via documentation for the time being

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions