[wingide-users] Re: Pylint panel not updating info when using custom pylint command

Noe Nieto tzicatl at gmail.com
Wed Aug 10 21:53:11 MDT 2011


Just for the record.

Finally, I got it working, I had to add some additional args to pylint in
pyintpanel.cfg:

args = --output-format=parseable --include-ids=y --reports=n

Pylint had a recent release in pypi. Maybe they changed something.


---
Noe

2011/8/10 Noe Nieto <tzicatl at gmail.com>

> Hi,
>
> I'm using buildout to generate a custom pylint command with all the eggs
> i'm using on the project. Recenlty the pylint panel stopped reporting
> errors, warnings and info. I don't know how to make it work again. Any
> hints?
>
>
> Below some details:
> ------------------------------
>
> pylintpanel.cfg is:
> -------------------------
>
> #
> # PyLint Panel Configuration
> #
>
> # Full path to PyLint executable
> command = /path/to/my/buildout/bin/pylint
> #command = /usr/bin/pylint
> #command = C:\Python24\Scripts\pylint.bat
>
> # Additional args to give to PyLint (may be blank)
> args =
>
> # Timeout for execution of pylint command
> timeout = 30
>
> # Save files before running PyLint (0=no, 1=current file only, 2=save all
> files)
> autosave = 1
>
>
> Right now I'm using the Messages panel in wingide to get some info:
>
> ----------------------------------------------------------------------------------------------------
>
> pylint exec in directory /path/to/my/buildout/src/my.library/my/library
> env= {u'GNOME_DESKTOP_SESSION_ID': u'this-is-deprecated',
> u'GJS_DEBUG_OUTPUT': u'stderr', u'LESSOPEN': u'||/usr/bin/lesspipe.sh %s',
> u'QT_IM_MODULE': u'xim', u'LOGNAME': u'tzicatl', u'USER': u'tzicatl',
> u'PATH':
> u'/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/tzicatl/bin',
> u'GNOME_KEYRING_CONTROL': u'/tmp/keyring-TQhj7X', u'DISPLAY': u':0',
> u'LANG': u'es_MX.utf8', u'TERM': u'dumb', u'SHELL': u'/bin/bash',
> u'XDG_SESSION_COOKIE':
> u'5c1b67cea782f8a40474adfc0000000f-1312727487.969630-1794821977',
> u'SESSION_MANAGER': u'local/unix:@/tmp/.ICE-unix/1548,unix/unix:/tmp/.ICE-unix/1548',
> u'SHLVL': u'1', u'G_BROKEN_FILENAMES': u'1', u'HISTSIZE': u'1000',
> u'WINGHOME': u'/usr/lib/wingide4.0', u'WINDOWPATH': u'1',
> u'IMSETTINGS_INTEGRATE_DESKTOP': u'yes', u'GIO_LAUNCHED_DESKTOP_FILE_PID':
> u'5267', u'GPG_AGENT_INFO': u'/tmp/keyring-TQhj7X/gpg:0:1', u'HOME':
> u'/home/tzicatl', u'USERNAME': u'tzicatl', u'IMSETTINGS_MODULE': u'none',
> u'GIO_LAUNCHED_DESKTOP_FILE': u'/usr/share/applications/wingide4.0.desktop',
> u'XDG_RUNTIME_DIR': u'/run/user/tzicatl', 'PYTHONPATH':
> '/path/to/my/buildout/parts/omelette', u'SSH_AUTH_SOCK':
> u'/tmp/keyring-TQhj7X/ssh', u'GDMSESSION': u'gnome', u'XMODIFIERS': u'@im=none',
> u'XDG_SESSION_ID': u'1', u'DBUS_SESSION_BUS_ADDRESS':
> u'unix:abstract=/tmp/dbus-ykFKZm2a2r,guid=1349662f4b1166e38c06d392400000046',
> u'ORBIT_SOCKETDIR': u'/tmp/orbit-tzicatl', u'XAUTHORITY':
> u'/var/run/gdm/auth-for-tzicatl-Im9Mlj/database', u'DESKTOP_SESSION':
> u'gnome', u'GNOME_KEYRING_PID': u'1540', u'HOSTNAME': u'formiko',
> u'GDM_LANG': u'es_MX.utf8', u'HISTCONTROL': u'ignoredups', u'PWD':
> u'/home/tzicatl', u'CVS_RSH': u'ssh', u'DESKTOP_STARTUP_ID':
> u'gnome-shell-1733-formiko-wing4.0-30_TIME182108086', u'MAIL':
> u'/var/spool/mail/tzicatl', u'GJS_DEBUG_TOPICS': u'JS ERROR;JS LOG'}
> /path/to/my/buildout/bin/pylint
> /path/to/my/buildout/src/my.package/my/package/uploader.py
> pylint stderr:
> No config file found, using default configuration
> pylint stdout:
> ************* Module uploader
> E:203,0: invalid syntax
> ------------------------------------------------------------
>
>
> Buildout parts to build pylint:
> -----------------------------------------
>
>
> [omelette]
> recipe = collective.recipe.omelette
> eggs =
>     ${instance:eggs}
>     my.package [test]
>
> [pylint]
> recipe = zc.recipe.egg
> eggs = pylint
> extra_paths = ${buildout:directory}/parts/omelette
> scripts = pylint
> entry-points = pylint=pylint.lint:Run
> arguments = sys.argv[1:]
>
>
> --
> --
> *Noe Nieto
> Estudiante de Psicología Holokinética*
>
> Diplomados, noticias, libros, artículos,
> audios y videos gratuitos :   *percepcionunitaria.org
> *
> http://www.youtube.com/watch?v=0XoOcGBgSCk
>
>


-- 
-- 
*Noe Nieto
Estudiante de Psicología Holokinética*

Diplomados, noticias, libros, artículos,
audios y videos gratuitos :   *percepcionunitaria.org
*
http://www.youtube.com/watch?v=0XoOcGBgSCk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20110810/46fd934e/attachment.html


More information about the wingide-users mailing list