From owner-freebsd-bugs@FreeBSD.ORG Tue Jul 31 02:50:10 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9CB29106566C for ; Tue, 31 Jul 2012 02:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 74E238FC12 for ; Tue, 31 Jul 2012 02:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6V2oAc2030154 for ; Tue, 31 Jul 2012 02:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6V2oAlp030153; Tue, 31 Jul 2012 02:50:10 GMT (envelope-from gnats) Resent-Date: Tue, 31 Jul 2012 02:50:10 GMT Resent-Message-Id: <201207310250.q6V2oAlp030153@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Cooper Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 011F0106566C for ; Tue, 31 Jul 2012 02:47:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id DF7888FC0C for ; Tue, 31 Jul 2012 02:47:18 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q6V2lI5L013067 for ; Tue, 31 Jul 2012 02:47:18 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q6V2lIac013066; Tue, 31 Jul 2012 02:47:18 GMT (envelope-from nobody) Message-Id: <201207310247.q6V2lIac013066@red.freebsd.org> Date: Tue, 31 Jul 2012 02:47:18 GMT From: Garrett Cooper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/170290: pylint broken after latest update due to permissions issue X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2012 02:50:10 -0000 >Number: 170290 >Category: misc >Synopsis: pylint broken after latest update due to permissions issue >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 31 02:50:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 9.1-PRERELEASE >Organization: EMC Isilon >Environment: FreeBSD forza.west.isilon.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r238921M: Mon Jul 30 14:47:10 PDT 2012 gcooper@forza.west.isilon.com:/usr/obj/usr/src/sys/FORZA amd64 >Description: pylint won't run after a recent astng2 update, because the file permissions for the py2stdlib module are too exclusive: $ pylint Traceback (most recent call last): File "/usr/local/bin/pylint", line 3, in from pylint import lint File "/usr/local/lib/python2.7/site-packages/pylint/lint.py", line 31, in from pylint.checkers import utils File "/usr/local/lib/python2.7/site-packages/pylint/checkers/__init__.py", line 44, in from logilab.astng.utils import ASTWalker File "/usr/local/lib/python2.7/site-packages/logilab/astng/__init__.py", line 85, in __import__(module[:-3]) ImportError: No module named py2stdlib $ ls -l /usr/local/lib/python2.7/site-packages -rw------- 1 root wheel 2828 Jul 18 02:38 /usr/local/lib/python2.7/site-packages/logilab/astng/brain/py2stdlib.py After I chmod a+r the file, then pylint functions again: $ pylint Usage: pylint [options] module_or_package Check that a module satisfy a coding standard (and more !). pylint --help Display this help message and exit. pylint --help-msg [,] Display help messages about given message identifiers and exit. Options: --version show program's version number and exit -h, --help show this help message and exit --long-help more verbose help. Master: --rcfile= Specify a configuration file. -E, --errors-only In error mode, checkers without error messages are disabled and for others, only the ERROR messages are displayed, and no reports are done by default --ignore=[,...] Add files or directories to the blacklist. They should be base names, not paths. [current: CVS] Commands: --help-msg= Display a help message for the given message id and exit. The value may be a comma separated list of message ids. --generate-rcfile Generate a sample configuration file according to the current configuration. You can put other options before this one to get them in the generated configuration. Messages control: -e , --enable= Enable the message, report, category or checker with the given id(s). You can either give multiple identifier separated by comma (,) or put this option multiple time. -d , --disable= Disable the message, report, category or checker with the given id(s). You can either give multiple identifier separated by comma (,) or put this option multiple time (only on the command line, not in the configuration file where it should appear only once). Reports: -f , --output-format= Set the output format. Available formats are text, parseable, colorized, msvs (visual studio) and html [current: text] -i , --include-ids= Include message's id in output [current: no] -r , --reports= Tells whether to display a full report or only the messages [current: yes] >How-To-Repeat: cd /usr/ports/devel/pylint; make install >Fix: >Release-Note: >Audit-Trail: >Unformatted: