ar., 2011.eko marren 15a 20:10(e)an, Ihar Hrachyshka(e)k idatzi zuen:
>
> Here is what I get for this:
>
>> Python 2.6.6 (r266:84292, Feb 10 2011, 04:20:59)
>> [GCC 4.4.4] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> (InteractiveConsole)
>>>>> from pootle_misc.dbupdate import flush_quality_checks
>>>>> flush_quality_checks()
>> Traceback (most recent call last):
>>    File "<console>", line 1, in<module>
>>    File 
>> "/home/booxter/public_html/pootle/local_apps/pootle_misc/dbupdate.py", line 
>> 38, in flush_quality_checks
>>      for store in Store.objects.filter(state=CHECKED).iterator():
>>    File "/usr/lib64/python2.6/site-packages/django/db/models/query.py", line 
>> 271, in iterator
>>      for row in compiler.results_iter():
>>    File 
>> "/usr/lib64/python2.6/site-packages/django/db/models/sql/compiler.py", line 
>> 677, in results_iter
>>      for rows in self.execute_sql(MULTI):
>>    File 
>> "/usr/lib64/python2.6/site-packages/django/db/models/sql/compiler.py", line 
>> 731, in execute_sql
>>      cursor = self.connection.cursor()
>>    File "/usr/lib64/python2.6/site-packages/django/db/backends/__init__.py", 
>> line 75, in cursor
>>      cursor = self._cursor()
>>    File 
>> "/usr/lib64/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py",
>>  line 136, in _cursor
>>      self.connection = Database.connect(**conn_params)
>> OperationalError: could not connect to server: Permission denied
>>      Is the server running locally and accepting
>>      connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
>>
>
> I assume I don't have perms to run psql as a user (only through apache
> instance)...
>

If you can login into the psql shell then it may be another thing.
psql -U username -h localhost

As the socket it's trying to connect to suggests, ensure psql is 
listening on port 5432, otherwise change the DATABASE_PORT setting.

Julen.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to