Opened 2 years ago

Last modified 11 months ago

#1025 in_review defect

rpdb2 warnings

Reported by: skaplun Owned by: simko
Priority: minor Milestone:
Component: *installation* Version:
Keywords: rpdb2 warning CFG_DEVEL_SITE debug Cc:

Description

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.

Change History (8)

comment:1 Changed 2 years ago by skaplun

  • Owner set to rchyla
  • Status changed from new to assigned

comment:2 Changed 21 months ago by kntem

  • Owner changed from rchyla to kntem

comment:3 Changed 21 months ago by kntem

  • Status changed from assigned to in_work

comment:4 Changed 21 months ago by kntem

  • Status changed from in_work to in_merge

comment:5 follow-up: Changed 15 months ago by skaplun

  • Status changed from in_merge to infoneeded

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

comment:6 in reply to: ↑ 5 Changed 15 months ago by kntem

  • Status changed from infoneeded to assigned

Replying to 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

comment:7 Changed 15 months ago by kntem

  • Status changed from assigned to in_merge

comment:8 Changed 11 months ago by simko

  • Owner changed from kntem to simko
  • Status changed from in_merge to in_review
Note: See TracTickets for help on using tickets.