Ticket #195 (closed enhancement: wontfix)

Opened 8 months ago

Last modified 7 months ago

handle egg warning...

Reported by: JensDiemer Owned by:
Priority: major Milestone:
Component: other Keywords:
Cc:

Description

we should redirect warnings into page_msg. I get this:

[stdout/stderr write from: ...lib/python2.5/warnings.py line 133]

/home/jens/workspace/PyLucid_trunk/pylucid/pygments/plugin.py:39: UserWarning: Module pygments was already imported from /home/jens/workspace/PyLucid_trunk/pylucid/pygments/__init__.pyc, but /usr/lib/python2.5/site-packages/Pygments-0.10-py2.5.egg is being added to sys.path
  import pkg_resources

Change History

Changed 7 months ago by JensDiemer

  • status changed from new to closed
  • resolution set to wontfix

This isn't easy to fix. We must redirect warnings in a very early state.

I add a low-level warnings redirect in changeset:1620 But i comment this part per default out.

Note: See TracTickets for help on using tickets.