[Trac-tickets] Re: [The Trac Project] #2719: trac is broken for
sqlite-3.3.3
The Trac Project
noreply at edgewall.com
Fri Feb 3 16:19:54 CST 2006
#2719: trac is broken for sqlite-3.3.3
--------------------------------+-------------------------------------------
Reporter: trac at capitanio.org | Owner: jonas
Type: defect | Status: new
Priority: high | Milestone:
Component: general | Version: 0.9.3
Severity: critical | Resolution:
Keywords: sqlite 3.3.3 |
--------------------------------+-------------------------------------------
Comment (by anonymous):
Well, fist I have managed to make packages for my gentoo: setuptools
0.6_alpha9, PySqlite 2.1.3 and 2.0.7. Both versions works in the end,
but '''very slow''' (apache-2.0.55, https + trac.cgi). Images, i.e. trac
logo, disapears sometimes.
And there is now a second problem. The pysqlite-trac login is at the
moment
"misconfigurated", so I put it here.
PySqlite installs, how ever, in the (apha) egg-format, which needs
{{{
import pkg_resources
pkg_resources.require("pysqlite") # select latest installed version
}}}
in trac/db.py.
which in turn is in the trac also broken -- it will write pysqlite the dll
in
{{{
~/.python-eggs/pysqlite-2.1.3-py2.4-linux-i686.egg-
tmp/pysqlite2/_sqlite.so
}}}
This is a '''no no''' for an webserwer. Sure, you can unzip and delete
this oster egg, but this is a mess ...
{{{
Traceback (most recent call last):
File "/srv/tracs/trac.cgi", line 19, in ?
from trac.web import cgi_frontend
File "/usr/lib/python2.4/site-packages/trac/web/cgi_frontend.py", line
26, in ?
from trac.web.main import dispatch_request, get_environment, \
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 22, in ?
from trac.env import open_environment
File "/usr/lib/python2.4/site-packages/trac/env.py", line 21, in ?
from trac import db, db_default, util
File "/usr/lib/python2.4/site-packages/trac/db.py", line 210, in ?
import pysqlite2.dbapi2 as sqlite
File "/usr/lib/python2.4/site-packages/pysqlite-2.1.3-py2.4-linux-
i686.egg/pysqlite2/dbapi2.py", line 32, in ?
File "/usr/lib/python2.4/site-packages/pysqlite-2.1.3-py2.4-linux-
i686.egg/pysqlite2/_sqlite.py", line 7, in ?
File "/usr/lib/python2.4/site-packages/pysqlite-2.1.3-py2.4-linux-
i686.egg/pysqlite2/_sqlite.py", line 4, in __bootstrap__
File "/usr/lib/python2.4/site-packages/setuptools-0.6a9-
py2.4.egg/pkg_resources.py", line 676, in resource_filename
return get_provider(package_or_requirement).get_resource_filename(
File "/usr/lib/python2.4/site-packages/setuptools-0.6a9-
py2.4.egg/pkg_resources.py", line 1064, in get_resource_filename
self._extract_resource(manager, self._eager_to_zip(name))
File "/usr/lib/python2.4/site-packages/setuptools-0.6a9-
py2.4.egg/pkg_resources.py", line 1081, in _extract_resource
real_path = manager.get_cache_path(self.egg_name,
self._parts(zip_path))
File "/usr/lib/python2.4/site-packages/setuptools-0.6a9-
py2.4.egg/pkg_resources.py", line 713, in get_cache_path
ensure_directory(target_path)
File "/usr/lib/python2.4/site-packages/setuptools-0.6a9-
py2.4.egg/pkg_resources.py", line 2137, in ensure_directory
os.makedirs(dirname)
File "/usr/lib/python2.4/os.py", line 156, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.4/os.py", line 156, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.4/os.py", line 156, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.4/os.py", line 159, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/home/httpd'
}}}
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2719>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list