Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

rpdb2 warnings #1025

Closed
kaplun opened this Issue · 5 comments

5 participants

@kaplun
Collaborator

Originally on 2012-04-25

Currently, if one enable CFG_DEVEL_SITE but doesn't have rpdb2 package installed, a set of warnings are printed on the screen per every invenio executable call:


Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/invenio/remote_debugger.py", line 94, in <module>
    globals()[name] = __import__(path, globals(), locals(), path.split('.'))
ImportError: No module named pydev.pydevd_file_utils
Error in remote_debugger, import of the pydev.pydevd_file_utils failedTraceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/invenio/remote_debugger.py", line 94, in <module>
    globals()[name] = __import__(path, globals(), locals(), path.split('.'))
ImportError: No module named pydev.pydevd
Error in remote_debugger, import of the pydev.pydevd failedTraceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/invenio/remote_debugger.py", line 96, in <module>
    globals()[name] = __import__(path)
ImportError: No module named rpdb2

On the other hand the rpdb2 is optional hence these warnings should either not appear or at least prettified.

@kaplun
Collaborator

Originally on 2013-02-04

Also, where's this branch? It would be nice to make it into 1.2

@invenio-developers
Collaborator

Originally by kntem on 2013-02-04

Replying to [comment:5 skaplun]:

Also, where's this branch? It would be nice to make it into 1.2

Its here! [http://invenio-software.org/repo/personal/invenio-kntem/log/?h=1025-rpdb2_warnings]

@jirikuncar jirikuncar added this to the v1.2.x milestone
@jirikuncar
Owner

@kaplun do you know if anybody is using this feature since we have werkzeug in Invenio 2.0? Shall we deprecate it in 2.1?

@kaplun kaplun was assigned by jirikuncar
@lnielsen
Owner

+1 for removing. I don't think it's relevant anymore with werkzeug, ipdb and the development server.

@tiborsimko
Owner

... and for people using Invenio v1.x, there is winpdb in requirements-extras.txt, so if people are debugging, chances are they have it installed already. I'm therefore closing this issue.

@tiborsimko tiborsimko closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.