Error on push to GHC git repo due to Trac?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error on push to GHC git repo due to Trac?

Erik de Castro Lopo-34
Hi all,

Got the error below.

Erik

bash: warning: setlocale: LC_ALL: cannot change locale (en_AU.UTF-8)
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 412 bytes | 0 bytes/s, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_AU.UTF-8)
remote: To git at github.com:ghc/ghc.git
remote:    9082111..0daee29  master -> master
remote: Traceback (most recent call last):
remote:   File "./hooks/post-receive-trac", line 202, in <module>
remote:     handle_ref(env=env, *line.split())
remote:   File "./hooks/post-receive-trac", line 163, in handle_ref
remote:     db = env.get_db_cnx()
remote:   File "/usr/lib/python2.7/dist-packages/trac/env.py", line 329, in get_db_cnx
remote:     return get_read_db(self)
remote:   File "/usr/lib/python2.7/dist-packages/trac/db/api.py", line 90, in get_read_db
remote:     return _transaction_local.db or DatabaseManager(env).get_connection()
remote:   File "/usr/lib/python2.7/dist-packages/trac/db/api.py", line 152, in get_connection
remote:     return self._cnx_pool.get_cnx(self.timeout or None)
remote:   File "/usr/lib/python2.7/dist-packages/trac/db/pool.py", line 227, in get_cnx
remote:     return _backend.get_cnx(self._connector, self._kwargs, timeout)
remote:   File "/usr/lib/python2.7/dist-packages/trac/db/pool.py", line 147, in get_cnx
remote:     raise TimeoutError(errmsg)
remote: trac.db.pool.TimeoutError: Unable to get database connection within 0 seconds. (TracError: The user erikd requires read _and_ write permissions to the database file /home/trac/ghc/db/trac.db and the directory it is located in.)
To darcs.haskell.org:/srv/darcs/ghc.git
   9082111..0daee29  master -> master



--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



Reply | Threaded
Open this post in threaded view
|

Error on push to GHC git repo due to Trac?

Herbert Valerio Riedel
On 2013-08-06 at 05:27:47 +0200, Erik de Castro Lopo wrote:
> Got the error below.

[...]

> remote: trac.db.pool.TimeoutError: Unable to get database connection within 0 seconds. (TracError: The user erikd requires read _and_ write permissions to the database file /home/trac/ghc/db/trac.db and the directory it is located in.)

fyi, this should have been fixed yesterday; if it still occurs, please
let us know

cheers,
  hvr