Traceback (most recent call last):

 "C:\Users\Scott\Documents\Scripts\jnpr-dev.py", line 7, in <module>
dev.open()

 "C:\Python\lib\site-packages\jnpr\junos\device.py", line 215, in open
self.facts_refresh()

 "C:\Python\lib\site-packages\jnpr\junos\device.py", line 379, in facts_refresh
gather(self, self._facts)

 "C:\Python\lib\site-packages\jnpr\junos\facts\chassis.py", line 29, in chassis
facts['serialnumber'] = x_ch.find('serial-number').textAttributeError: 'NoneType' object has no attribute 'text'
Traceback (most recent call last):

 "ipython.py", line 21, in <module>
this_dir, 'IPython', 'scripts', 'ipython'

 "IPython/scripts/ipython", line 7, in <module>
launch_new_instance()

 "IPython/frontend/terminal/ipapp.py", line 390, in launch_new_instance
app.initialize()

 "IPython/frontend/terminal/ipapp.py", line 291, in initialize
super(TerminalIPythonApp, self).initialize(argv)

 "IPython/core/application.py", line 310, in initialize
self.parse_command_line(argv)

 "IPython/frontend/terminal/ipapp.py", line 287, in parse_command_line
return super(TerminalIPythonApp, self).parse_command_line(argv)

 "IPython/config/application.py", line 388, in parse_command_line
return self.initialize_subcommand(subc, subargv)

 "IPython/config/application.py", line 332, in initialize_subcommand
self.subapp.initialize(argv)

 "IPython/frontend/qt/console/qtconsoleapp.py", line 558, in initialize
super(IPythonQtConsoleApp, self).initialize(argv)

 "IPython/core/application.py", line 310, in initialize
self.parse_command_line(argv)

 "IPython/frontend/qt/console/qtconsoleapp.py", line 351, in parse_command_line
self.kernel_argv.remove(a)ValueError: list.remove(x): x not in list