Ubuntu One Development Tools

pyflakes not being installed causes a crash

Reported by Shane Fagan on 2011-04-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntuone-dev-tools
Low
Unassigned

Bug Description

Small error when running make check on the u1cp branch that mandel sent me to test. Its fixed by installing pyflakes.

make -C data logging.conf
make[2]: Entering directory `/home/shane/Desktop/fix_tests_on_windows/data'
make[2]: `logging.conf' is up to date.
make[2]: Leaving directory `/home/shane/Desktop/fix_tests_on_windows/data'
make[1]: Leaving directory `/home/shane/Desktop/fix_tests_on_windows'
if test "x." != "x."; then \
  if [ ! -e pylintrc -a ! -h pylintrc ]; then \
   ln -s ./pylintrc; \
  fi; \
 fi
PYTHONPATH=""::.:."" SRCDIR="." USE_PYFLAKES="true" u1lint
Traceback (most recent call last):
  File "/usr/bin/u1lint", line 227, in <module>
    main()
  File "/usr/bin/u1lint", line 207, in main
    bufsize=4096, stdout=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1213, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [lint] Error 1
shane@u0:~/Desktop/fix_tests_on_windows$

Changed in ubuntuone-dev-tools:
assignee: nobody → Manuel de la Pena (mandel)
importance: Undecided → Low
description: updated
Rick McBride (rmcbride) wrote :

is this still happening for you?

Changed in ubuntuone-dev-tools:
status: New → Incomplete
Shane Fagan (shanepatrickfagan) wrote :

I haven't checked it, you could try it on trunk by uninstalling pyflakes and seeing if it blows up.

Rodney Dawes (dobey) wrote :

I don't know why this was assigned to Manuel, but it is still an issue, yes. If something is using the pyflakes mode of u1trial for its lint checks, and you do not have pyflakes installed, you will get this odd OSError on the terminal instead.

Changed in ubuntuone-dev-tools:
assignee: Manuel de la Peña (mandel) → nobody
status: Incomplete → Confirmed
Shane Fagan (shanepatrickfagan) wrote :

I cant remember why its assigned to mandel either id say he was just who I asked about it and he said assign it to him.

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

Other bug subscribers