Bug #2210

XML Simple included twice

Added by Nathan Reilly about 3 years ago. Updated about 3 years ago.

Status:Closed Start date:04/29/2009
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Affected Puppet version:0.24.5 Branch:
Keywords:
Votes: 0

Description

On starting puppetmaster, or running puppet, the following warnings are generated. This appears to be due to including XmlSimple twice (See http://xml-simple.rubyforge.org/)

Version 0.24.5 (Latest install available from apt-get for Ubuntu 9.04)

puppet —version /usr/lib/ruby/1.8/xmlsimple.rb:275: warning: already initialized constant KNOWN_OPTIONS /usr/lib/ruby/1.8/xmlsimple.rb:280: warning: already initialized constant DEF_KEY_ATTRIBUTES /usr/lib/ruby/1.8/xmlsimple.rb:281: warning: already initialized constant DEF_ROOT_NAME /usr/lib/ruby/1.8/xmlsimple.rb:282: warning: already initialized constant DEF_CONTENT_KEY /usr/lib/ruby/1.8/xmlsimple.rb:283: warning: already initialized constant DEF_XML_DECLARATION /usr/lib/ruby/1.8/xmlsimple.rb:284: warning: already initialized constant DEF_ANONYMOUS_TAG /usr/lib/ruby/1.8/xmlsimple.rb:285: warning: already initialized constant DEF_FORCE_ARRAY /usr/lib/ruby/1.8/xmlsimple.rb:286: warning: already initialized constant DEF_INDENTATION /usr/lib/ruby/1.8/xmlsimple.rb:287: warning: already initialized constant DEF_KEY_TO_SYMBOL 0.24.5

History

Updated by Stéphan Gorget about 3 years ago

it seems that this is a ruby related issue : http://groups.google.com/group/puppet-users/browse_thread/thread/afe6d6e8d7443cee

Updated by Nathan Reilly about 3 years ago

  • Status changed from Unreviewed to Closed

The referred Debian bug ends up at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514582

The answer is to run an unstable version of Rails. (rails_2.2.2-1_all.deb)

Updated by Nathan Reilly about 3 years ago

(Or, more easily, just remove Rails)

Also available in: Atom PDF