Skip to content

Update necessary?  #3

@conraddecker

Description

@conraddecker

Hey Jonathon,

Just wanted to throw this in here. I know it's been a few months since you touched this project so I'm not sure if it's something you have plans on maintaining but I came across a small issue with code_sync and more recent releases of Middleman.

Truth be told, I couldn't really tell you if the issue is related to Middleman or not...unfortunately I'm not 100% what all the moving pieces are but figured I could at least share some of the errors I'm getting.

Middleman starts up just fine, it doesn't look like the code_sync manager ever starts though as I don't get any output when I save files or anything. When I quit middleman, I get some fun little messages. Here's a complete console excerpt.

○ → be middleman
== The Middleman is loading
Codesync watch is looking for assets in: /Users/cdv/Sites/testphonio/source
== The Middleman is standing watch at http://0.0.0.0:4567
== Inspect your site configuration at http://0.0.0.0:4567/__middleman/
^C/Users/cdv/.rvm/gems/ruby-1.9.3-p392/bundler/gems/code_sync-84a3a67821aa/lib/code_sync/manager.rb:78:in `kill': No such process (Errno::ESRCH)
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/bundler/gems/code_sync-84a3a67821aa/lib/code_sync/manager.rb:78:in `block in exit_gracefully'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/bundler/gems/code_sync-84a3a67821aa/lib/code_sync/manager.rb:78:in `each'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/bundler/gems/code_sync-84a3a67821aa/lib/code_sync/manager.rb:78:in `exit_gracefully'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/bundler/gems/code_sync-84a3a67821aa/lib/code_sync/manager.rb:62:in `block in start'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/bundler/gems/code_sync-84a3a67821aa/lib/code_sync/manager.rb:65:in `call'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/bundler/gems/code_sync-84a3a67821aa/lib/code_sync/manager.rb:65:in `waitall'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/bundler/gems/code_sync-84a3a67821aa/lib/code_sync/manager.rb:65:in `start'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/bundler/gems/code_sync-84a3a67821aa/lib/code_sync/manager.rb:25:in `start'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/bundler/gems/code_sync-84a3a67821aa/lib/middleman_extension.rb:19:in `block (2 levels) in registered'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/bundler/gems/code_sync-84a3a67821aa/lib/middleman_extension.rb:12:in `fork'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/bundler/gems/code_sync-84a3a67821aa/lib/middleman_extension.rb:12:in `block in registered'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/vendored-middleman-deps/hooks-0.2.0/lib/hooks.rb:53:in `instance_exec'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/vendored-middleman-deps/hooks-0.2.0/lib/hooks.rb:53:in `block in run_hook_for'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/vendored-middleman-deps/hooks-0.2.0/lib/hooks.rb:49:in `each'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/vendored-middleman-deps/hooks-0.2.0/lib/hooks.rb:49:in `run_hook_for'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/vendored-middleman-deps/hooks-0.2.0/lib/hooks.rb:107:in `run_hook'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/middleman-core/core_extensions/extensions.rb:179:in `initialize'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/middleman-core/core_extensions/data.rb:35:in `initialize'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/middleman-core/application.rb:169:in `initialize'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/middleman-core/core_extensions/request.rb:49:in `new'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/middleman-core/core_extensions/request.rb:49:in `inst'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/middleman-core/preview_server.rb:89:in `new_app'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/middleman-core/preview_server.rb:172:in `mount_instance'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/middleman-core/preview_server.rb:20:in `start'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/middleman-core/cli/server.rb:79:in `server'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/middleman-core/cli.rb:77:in `method_missing'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.18.1/lib/thor/command.rb:29:in `run'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.18.1/lib/thor/command.rb:128:in `run'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/lib/middleman-core/cli.rb:22:in `start'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/gems/middleman-core-3.1.6/bin/middleman:18:in `<top (required)>'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/bin/middleman:23:in `load'
    from /Users/cdv/.rvm/gems/ruby-1.9.3-p392/bin/middleman:23:in `<main>'
== The Middleman is shutting down

Hope it helps, but no worries if you've got more pressing things you're working on. I haven't used the project in a while and just had the opportunity to get back to something I was using it for and came across these.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions