[Repoze-dev] [issue138] Running BFG with mod_wsgi and ipython installed
Jasper Op de Coul jas...@infrae.com added the comment: I verified, the error is gone, Thanks. -- status: chatting - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue138 __ ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
[Repoze-dev] [issue139] Chameleon - can't create xml and doctype declarations from macro
New submission from Jasper Op de Coul jas...@infrae.com: I have a single macro with a doctype and the html/head/body structure and some slots that I use in every template. When using Chameleon =1.1.1 the doctype is inserted in the rendered HTML. With Chameleon 1.1.2 the doctype is missing, causing mayhem in IE (quirks mode). I had to add the doctype to each of my templates to get it working again. This is obviously related to issue116. I would think this is a bug, but maybe it isn't and putting the doctype in the templates makes more sense. Maybe we can have best of both worlds, xml/doctype declarations can be made everywhere, but exact duplicates should be removed. -- messages: 374 nosy: JasperOC priority: bug status: unread title: Chameleon - can't create xml and doctype declarations from macro __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue139 __ ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
[Repoze-dev] [issue138] Running BFG with mod_wsgi and ipython installed
New submission from Jasper Op de Coul jas...@infrae.com: Hi, I'm having trouble running bfg with mod_wsgi in Apache. In paster.py the following code tries to import IPython shell if this is available: try: from IPython.Shell import IPShell # pragma: no cover except ImportError: IPShell = None # pragma: no cover I have ipython installed, but importing fails because sys.stdin is not available in mod_wsgi/apache: File /home/jasper/wip/repub_eur/eggs/repoze.bfg-1.2-py2.6.egg/repoze/bfg/paster.py, line 13, in module from IPython.Shell import IPShell # pragma: no cover File /var/lib/python-support/python2.6/IPython/__init__.py, line 58, in module __import__(name,glob,loc,[]) File /var/lib/python-support/python2.6/IPython/ipstruct.py, line 22, in module from IPython.genutils import list2dict2 File /var/lib/python-support/python2.6/IPython/genutils.py, line 55, in module from IPython.Itpl import Itpl,itpl,printpl File /var/lib/python-support/python2.6/IPython/Itpl.py, line 101, in module itpl_encoding = sys.stdin.encoding or 'ascii' ConfigurationExecutionError: type 'exceptions.IOError': sys.stdin access restricted by mod_wsgi -- messages: 371 nosy: JasperOC priority: bug status: unread title: Running BFG with mod_wsgi and ipython installed __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue138 __ ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev