I've announce a new package for Pootle for Fedora based on 2.0.0 rc2. The standalone stuff is still in but I'm going to be dropping it in future to rather use mod_wsgi.
On Tue, 2009-11-10 at 17:08 +1000, Asgeir Frimannsson wrote: > Hi Dwayne, > > Continuing on this: > > 'service pootle start' hangs on 'Starting pootle'. > > After ctrl+c to get out of that, the following log in > /var/log/pootle/errors.log explains a bit what's happening: > > http://pastebin.com/m1bf1fcd5 > > cheers, > asgeir > > On Sat, Nov 7, 2009 at 6:57 AM, Dwayne Bailey <[email protected]> wrote: > > New version is up that fixes the dependency > > > > On Thu, 2009-11-05 at 17:07 +0200, Dwayne Bailey wrote: > >> On Thu, 2009-11-05 at 20:30 +1000, Asgeir Frimannsson wrote: > >> > On Thu, Nov 5, 2009 at 6:36 AM, Dwayne Bailey <[email protected]> > >> > wrote: > >> > > On Wed, 2009-11-04 at 19:31 +1000, Asgeir Frimannsson wrote: > >> > >> On Wed, Nov 4, 2009 at 5:37 PM, Dwayne Bailey > >> > >> <[email protected]> wrote: > >> > >> > You can try Fedora RPMs from here > >> > >> > http://translate.sourceforge.net/snapshots/Pootle-1.3.0-beta4/ > >> > >> > > >> > >> > You will need to install both the translate-toolkit and pootle RPMs > >> > >> > as > >> > >> > the translate-toolkit RPM contains some important backports > >> > >> > > >> > >> > rpm -Uvh both files and install any missing dependencies > >> > >> > >> > >> Or, > >> > >> yum localinstall --nogpgcheck translate-*.rpm pootle-*.rpm > >> > >> (This will also install any dependencies) > >> > >> > >> > >> However, there seems to be an error with the pootle RPM: > >> > >> > >> > >> Installing : pootle-1.3.0-0.2.beta4.fc11.noarch > >> > >> > >> > >> > >> > >> 1/1 > >> > >> Error unpacking rpm package pootle-1.3.0-0.2.beta4.fc11.noarch > >> > >> error: unpacking of archive failed on file > >> > >> /var/lib/pootle/po/terminology/zh_CN/gnome/zh_CN.po;4af148aa: cpio: > >> > >> read > >> > > > >> > > Thanks for spotting that. Bad upload. I've put a new copy there and > >> > > checked md5sums and all seems OK. > >> > > > >> > > Please go ahead and try again. > >> > > >> > Thanks, Dwayne. Some further comments/observations: > >> > > >> > After installing, I restarted httpd and got the following error: > >> > > >> > Starting httpd: Syntax error on line 1 of /etc/httpd/conf.d/pootle.conf: > >> > Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a > >> > module not included in the server configuration > >> > [FAILED] > >> > > >> > I then installed mod_wsgi through 'yum install mod_wsgi' to make this > >> > error go away. Not sure if it would make sense to have mod_wsgi as a > >> > dependency, or perhaps even package the apache+wsgi configuration in a > >> > separate rpm. > >> > >> Missing dependency. I want to make the default mod_wsgi so I need to > >> add that dependency. I'll put a new RPM up. > >> > >> > Next, I'm getting an 'Internal Server Error' when navigating to > >> > /pootle/. The httpd error log gives the following details: > >> > > >> > [Thu Nov 05 20:17:08 2009] [notice] SELinux policy enabled; httpd > >> > running as context unconfined_u:system_r:httpd_t:s0 > >> > [Thu Nov 05 20:17:08 2009] [notice] suEXEC mechanism enabled (wrapper: > >> > /usr/sbin/suexec) > >> > [Thu Nov 05 20:17:08 2009] [notice] Digest: generating secret for > >> > digest authentication ... > >> > [Thu Nov 05 20:17:08 2009] [notice] Digest: done > >> > [Thu Nov 05 20:17:08 2009] [notice] mod_python: Creating 4 session > >> > mutexes based on 256 max processes and 0 max threads. > >> > [Thu Nov 05 20:17:08 2009] [notice] mod_python: using mutex_directory > >> > /tmp > >> > [Thu Nov 05 20:17:08 2009] [notice] Apache/2.2.13 (Unix) DAV/2 > >> > PHP/5.2.9 mod_python/3.3.1 Python/2.6 mod_ssl/2.2.13 > >> > OpenSSL/0.9.8k-fips mod_wsgi/2.3 mod_perl/2.0.4 Perl/v5.10.0 > >> > configured -- resuming normal operations > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] mod_wsgi (pid=24498): > >> > Exception occurred processing WSGI script '/usr/share/pootle/wsgi.py'. > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] Traceback (most recent > >> > call last): > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] File > >> > "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line > >> > 230, in __call__ > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] > >> > self.load_middleware() > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] File > >> > "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line > >> > 33, in load_middleware > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] for > >> > middleware_path in settings.MIDDLEWARE_CLASSES: > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] File > >> > "/usr/lib/python2.6/site-packages/django/utils/functional.py", line > >> > 269, in __getattr__ > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] self._setup() > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] File > >> > "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 40, > >> > in _setup > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] self._wrapped = > >> > Settings(settings_module) > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] File > >> > "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 73, > >> > in __init__ > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] mod = > >> > importlib.import_module(self.SETTINGS_MODULE) > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] File > >> > "/usr/lib/python2.6/site-packages/django/utils/importlib.py", line 35, > >> > in import_module > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] __import__(name) > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] File > >> > "/usr/lib/python2.6/site-packages/pootle/settings.py", line 171, in > >> > <module> > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] > >> > os.mkdir(tempfile.tempdir) > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] OSError: [Errno 13] > >> > Permission denied: '/var/lib/pootle/po/.tmp' > >> > >> Yes that looks like a permission issue. It might have happened if you > >> tried to run PootleServer instead of mod_wsgi. > >> > >> I was hoping to be able to setup PootleServer to be able to run on > >> something that Apache could also access. Still hoping, so your feedback > >> on what the permission are would be great. > >> > >> You should be able to delete that file easily. > >> > >> > [Thu Nov 05 20:17:20 2009] [error] [client ::1] File does not exist: > >> > /var/www/html/favicon.ico > >> > > >> > Seem to be a permission problem, but I don't have time to chase it down > >> > tonight. > >> > > >> > cheers, > >> > asgeir > >> > > >> > ------------------------------------------------------------------------------ > >> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > >> > 30-Day > >> > trial. Simplify your report design, integration and deployment - and > >> > focus on > >> > what you do best, core application coding. Discover what's new with > >> > Crystal Reports now. http://p.sf.net/sfu/bobj-july > >> > _______________________________________________ > >> > Translate-devel mailing list > >> > [email protected] > >> > https://lists.sourceforge.net/lists/listinfo/translate-devel > > -- > > Dwayne Bailey > > Associate Research Director +27 12 460 1095 (w) > > Translate.org.za ANLoc +27 83 443 7114 (c) > > > > Recent blog posts: > > * Firefox in 10 African language > > http://www.translate.org.za/blogs/dwayne/en/content/firefox-10-african-language > > * Google Translate + libtranslate + Virtaal = machine translation in 7 new > > languages > > * Fixes for Skype Video, Webcam on Fedora > > > > Firefox web browser in Afrikaans - http://af.www.mozilla.com/af/ > > African Network for Localisation (ANLoc) - http://africanlocalisation.net/ > > > > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > > trial. Simplify your report design, integration and deployment - and focus > > on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Translate-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/translate-devel > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Translate-pootle mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/translate-pootle -- Dwayne Bailey Associate Research Director +27 12 460 1095 (w) Translate.org.za ANLoc +27 83 443 7114 (c) Recent blog posts: * Translation Memory difference highlighting in Virtaal http://www.translate.org.za/blogs/dwayne/en/content/translation-memory-difference-highlighting-virtaal * Firefox in 10 African language * Google Translate + libtranslate + Virtaal = machine translation in 7 new languages Firefox web browser in Afrikaans - http://af.www.mozilla.com/af/ African Network for Localisation (ANLoc) - http://africanlocalisation.net/ ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Translate-pootle mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/translate-pootle
