no documentation

Bug #190649 reported by avdd
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyflakes (Debian)
Fix Released
Unknown
pyflakes (Ubuntu)
Fix Released
Undecided
Pascal De Vuyst

Bug Description

Binary package hint: pyflakes

$ pyflakes -h
Traceback (most recent call last):
  File "/usr/bin/pyflakes", line 38, in <module>
    checkPath(arg)
  File "/usr/bin/pyflakes", line 27, in checkPath
    return check(file(filename).read(), filename)
IOError: [Errno 2] No such file or directory: '-h'
$ pyflakes --help
Traceback (most recent call last):
  File "/usr/bin/pyflakes", line 38, in <module>
    checkPath(arg)
  File "/usr/bin/pyflakes", line 27, in checkPath
    return check(file(filename).read(), filename)
IOError: [Errno 2] No such file or directory: '--help'
$ man pyflakes
No manual entry for pyflakes
See 'man 7 undocumented' for help when manual pages are not available.
avdd@nikolai$ ls /usr/share/doc/pyflakes
total 8.0K
-rw-r--r-- 1 root root 401 2007-02-05 12:54 changelog.Debian.gz
-rw-r--r-- 1 root root 1.3K 2007-02-05 12:54 copyright

Fricken useless.

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - the Hardy Heron.

Changed in pyflakes:
assignee: nobody → pascal-devuyst
status: New → Fix Released
Changed in pyflakes:
status: Unknown → Fix Released
Revision history for this message
Diwaker Gupta (diwaker) wrote :

I think this bug should be reopened. I'm on Jaunty (9.04) running pyflakes 0.2.1+svn16699-1, but I still get:

$ pyflakes --help
Traceback (most recent call last):
  File "/usr/bin/pyflakes", line 5, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/python2.6/dist-packages/pyflakes/scripts/pyflakes.py", line 57, in main
    warnings += checkPath(arg)
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'

And the man page remains woefully inadequate.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

There is a manpage, and the commend doesn't have a "--help" option, all it takes are file and directory names to check, as explained in the manpage.

Here you can see it:
http://manpages.ubuntu.com/manpages/jaunty/en/man1/pyflakes.1.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.