agwells / pywo

Automatically exported from code.google.com/p/pywo
GNU General Public License v3.0
0 stars 0 forks source link

TypeError: 'property' object is not iterable #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. /usr/bin/pywo
2.
3.

What is the expected output? What do you see instead?

schwinger ~ > pywo -h
Xlib.protocol.request.QueryExtension
Traceback (most recent call last):
  File "/usr/bin/pywo", line 9, in <module>
    load_entry_point('PyWO==0.3', 'console_scripts', 'pywo')()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 305, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2244, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1954, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.7/site-packages/PyWO-0.3-py2.7.egg/pywo/main.py", line 27, in <module>
    from pywo import actions, commandline, filters
  File "/usr/lib/python2.7/site-packages/PyWO-0.3-py2.7.egg/pywo/commandline.py", line 104, in <module>
    for option in pywo.actions.parser.option_list:
TypeError: 'property' object is not iterable

What version of the product are you using? On what operating system?

Trunk (pulled today), on Fedora 14

Please provide any additional information below.

Original issue reported on code.google.com by gr...@grantgoodyear.org on 10 Feb 2011 at 12:05

GoogleCodeExporter commented 9 years ago
I've made a quick fix, should fix the bug.

Original comment by kosci...@gmail.com on 10 Feb 2011 at 7:31

GoogleCodeExporter commented 9 years ago

Original comment by kosci...@gmail.com on 10 Feb 2011 at 6:36