kosciak / pywo

PyWO - Python Window Organizer
GNU General Public License v3.0
1 stars 0 forks source link

pywo --help-more -> TypeError: 'float' object is not iterable #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. bin/pywo --help-more
2.
3.

What is the expected output?

  Some elaborate help text.

What do you see instead?

> bin/pywo --help-more
Xlib.protocol.request.QueryExtension
Traceback (most recent call last):
  File "bin/pywo", line 6, in <module>
    main.run()
  File "/home/mp26/tmp/pywo-read-only/pywo/main.py", line 109, in run
    commandline.print_help_more(config)
  File "/home/mp26/tmp/pywo-read-only/pywo/commandline.py", line 210, in print_help_more
    section_descriptions = get_section_descriptions(config)
  File "/home/mp26/tmp/pywo-read-only/pywo/commandline.py", line 199, in get_section_descriptions
    ', '.join(['%.2f' % size for size in data.size.height]), 
TypeError: 'float' object is not iterable

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

svn checkout from today (r202 | kosciak1 | 2011-06-19 22:03:37 +0200 (So, 19 
Jun 2011) | 2 lines)

Please provide any additional information below.

Original issue reported on code.google.com by Martin.P...@gmail.com on 20 Mar 2014 at 8:46

GoogleCodeExporter commented 8 years ago
A similar problem is seen with:

> bin/pywo --sections

Xlib.protocol.request.QueryExtension
Traceback (most recent call last):
  File "bin/pywo", line 6, in <module>
    main.run()
  File "/home/mp26/tmp/pywo-read-only/pywo/main.py", line 113, in run
    print '\n'.join(commandline.get_section_descriptions(config))
  File "/home/mp26/tmp/pywo-read-only/pywo/commandline.py", line 199, in get_section_descriptions
    ', '.join(['%.2f' % size for size in data.size.height]), 
TypeError: 'float' object is not iterable

Original comment by Martin.P...@gmail.com on 20 Mar 2014 at 8:47

GoogleCodeExporter commented 8 years ago
This is a dup with issue 14

Original comment by Martin.P...@gmail.com on 22 Mar 2014 at 10:57