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

yaml_properties': undefined method yaml_tag' #409

Closed
alfredopalhares opened this issue Mar 26, 2015 · 5 comments
Closed

yaml_properties': undefined method yaml_tag' #409

alfredopalhares opened this issue Mar 26, 2015 · 5 comments

Comments

@alfredopalhares
Copy link

After importing my maildir with sup-config I get this:

$ sup
/home/myuser/.gem/ruby/2.2.0/gems/sup-0.21.0/lib/sup.rb:30:in `yaml_properties': undefined method `yaml_tag' for Redwood::MBox:Class (NoMethodError)
    from /home/masterkorp/.gem/ruby/2.2.0/gems/sup-0.21.0/lib/sup/mbox.rb:10:in `<class:MBox>'
    from /home/masterkorp/.gem/ruby/2.2.0/gems/sup-0.21.0/lib/sup/mbox.rb:6:in `<module:Redwood>'
    from /home/masterkorp/.gem/ruby/2.2.0/gems/sup-0.21.0/lib/sup/mbox.rb:4:in `<top (required)>'
    from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
    from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
    from /home/myuser/.gem/ruby/2.2.0/gems/sup-0.21.0/lib/sup.rb:423:in `<top (required)>'
    from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
    from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
    from /home/myuser/.gem/ruby/2.2.0/gems/sup-0.21.0/bin/sup:21:in `<top (required)>'
    from /home/myuser/.gem/ruby/2.2.0/bin/sup:23:in `load'
    from /home/myuser/.gem/ruby/2.2.0/bin/sup:23:in `<main>'

sup --version also crashes so:

$ gem list sup 

*** LOCAL GEMS ***

rmail-sup (1.0.1)
sup (0.21.0)

Regards,
Alfredo Palhares

@ZJvandeWeg
Copy link
Contributor

Seems familiar to #403
Could you try that fix?

@alfredopalhares
Copy link
Author

Hello @ZJvandeWeg

gem uninstall psych did the job thanks!

Should this be added to wiki? As it seems that is problem a problem that will happen to more users.

@gauteh
Copy link
Member

gauteh commented Mar 27, 2015

Excerpts from Alfredo Palhares's message of March 27, 2015 12:43:

Hello @ZJvandeWeg

gem uninstall psych did the job thanks!

Should this be added to wiki, as it seems that is problem a problem that will happen to more users.

Yup!

@alfredopalhares
Copy link
Author

This just happened again today after a gem update

@lamarpavel
Copy link

Can confirm, this should either be well documented or sup should be able to deal with this properly (at least by giving a hint in the error message as to what the user can do).
Because breakage caused by an update, leaving the user with a stack-trace of ruby, is kind of the worst case scenario here.

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

No branches or pull requests

4 participants