Jason Winnebeck írta:
> I don't have direct knowledge, but...
>
> The exception makes references to PgSQL -- I assume this is for Postgres and 
> you are using Postgres database. If an error is related to database and it 
> works sometimes but not other times, I might say that while the database is 
> working perhaps there is a problem like not enough connections that there are 
> too many clients making too many concurrent connections to the database?
>   
Yep, yesterdas I updated the postgres package (security update in 
ubuntu, no version update) and the db server was restarted than. I guess 
trac wasn't able to handle the restart underneath. After writing the 
e-mail I made an apache force-reload and now works fine. Is it the 
intended behavior, that I have to do that?

> Jason
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
> Parragh Szabolcs
> Sent: Wednesday, February 07, 2007 1:12 PM
> To: [email protected]
> Subject: [Trac] Oops on may pages
>
>
> I don't if I should make a ticket, that's why I ask here first.
>
> I get an oops error on many random pages, and random (but increasing) 
> times -- after 2-3-4 for reloads, tha page renders properly, but this 
> error comes first:
> *
> *
>
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in 
> dispatch_request
>     dispatcher.dispatch(req)
>   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191, in 
> dispatch
>     chosen_handler = self._pre_process_request(req, chosen_handler)
>   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 263, in 
> _pre_process_request
>     chosen_handler = f.pre_process_request(req, chosen_handler)
>   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 
> 73, in pre_process_request
>     self.get_repository(req.authname) # triggers a sync if applicable
>   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 
> 101, in get_repository
>     repos = self._connector.get_repository(rtype, rdir, authname)
>   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 
> 260, in get_repository
>     crepos = CachedRepository(self.env.get_db_cnx(), repos, None, self.log)
>   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/cache.py", line 
> 34, in __init__
>     self.sync()
>   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/cache.py", line 
> 53, in sync
>     cursor = self.db.cursor()
>   File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 78, in cursor
>     return IterableCursor(self.cnx.cursor())
>   File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 78, in cursor
>     return IterableCursor(self.cnx.cursor())
>   File "/usr/lib/python2.4/site-packages/pyPgSQL/PgSQL.py", line 2561, in 
> cursor
>     return Cursor(self, name, isRefCursor)
>   File "/usr/lib/python2.4/site-packages/pyPgSQL/PgSQL.py", line 2680, in 
> __init__
>     self.conn._Connection__setupTransaction()
>   File "/usr/lib/python2.4/site-packages/pyPgSQL/PgSQL.py", line 2472, in 
> __setupTransaction
>     self.conn.query("BEGIN WORK")
> OperationalError: no connection to the server
>
>
>
>   


-- 
Parragh Szabolcs
NiR Informatikai Megoldások Kft.

mobil:  +36-30-407-1285
e-mail: [EMAIL PROTECTED]
web:    www.nir.hu


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to