ipdevpoll crashes with TypeError on Python 2.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
High
|
Morten Brekkevold |
Bug Description
NAV : 3.6.0b5
OS : RHEL 5.5
(python 2.4.3)
Upon starting ipdevpoll, it crashes :
-bash-3.2# nav start ipdevpoll
Starting: ipdevpoll
-bash-3.2# nav status
Down: ipdevpoll
ipdevpoll.log says :
Traceback (most recent call last):
File "/usr/local/
main()
File "/usr/local/
processor.run()
File "/usr/local/
self.
File "/usr/local/
process.run()
File "/usr/local/
plugins.
File "/usr/local/
module_ = __import_
TypeError: __import__() takes no keyword arguments
Changed in nav: | |
status: | Fix Committed → Fix Released |
Keyword arguments were introduced to the __import__ function in Python 2.5, so a slight rewrite of this line is needed to remain 2.4-compatible.