Quantcast
Channel: panStamp forum - All Forums
Viewing all articles
Browse latest Browse all 473

swapdmt: AttributeError: 'NoneType' object has no attribute 'verbose'

$
0
0
Trying to poke around with swapdmt. So far I've:

* Downloaded python_tools-3.1.0
* Installed pyswap (I think)
Code:
rexpro-4.local> sudo python setup.py install
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyswap-0.1.2-py2.7.egg-info
Writing /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyswap-0.1.2-py2.7.egg-info

* Installed pyserial and pycrypto

* Tried to run swapdmt:

Code:
rexpro-4.local> python swapdmt.py
SWAP server starting...
Downloading Device Definition Files
Traceback (most recent call last):
  File "swapdmt.py", line 119, in <module>
    swap_manager = SwapManager(settings)
  File "/Users/local/Downloads/python_tools-3.1.0/swapdmt-cmd/swapmanager.py", line 466, in __init__
    self.server.verbose = False
AttributeError: 'NoneType' object has no attribute 'verbose'

Like every other problem I've ever had with python, I presume I've installed something in the wrong place. Anything jump out at you?

Viewing all articles
Browse latest Browse all 473

Latest Images

Trending Articles



Latest Images