Return-Path: X-Original-To: apmail-bloodhound-user-archive@www.apache.org Delivered-To: apmail-bloodhound-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A98D10A16 for ; Wed, 31 Jul 2013 12:44:19 +0000 (UTC) Received: (qmail 58260 invoked by uid 500); 31 Jul 2013 12:44:18 -0000 Delivered-To: apmail-bloodhound-user-archive@bloodhound.apache.org Received: (qmail 58224 invoked by uid 500); 31 Jul 2013 12:44:17 -0000 Mailing-List: contact user-help@bloodhound.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@bloodhound.apache.org Delivered-To: mailing list user@bloodhound.apache.org Received: (qmail 58202 invoked by uid 99); 31 Jul 2013 12:44:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2013 12:44:16 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gary.martin@wandisco.com designates 209.85.212.175 as permitted sender) Received: from [209.85.212.175] (HELO mail-wi0-f175.google.com) (209.85.212.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2013 12:44:09 +0000 Received: by mail-wi0-f175.google.com with SMTP id hq12so3946509wib.2 for ; Wed, 31 Jul 2013 05:43:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=5V0AAJ3bjsk8IVemtv4easJCKXGbR/B/PnjZlCWB024=; b=BrWuGsfKIoT5eg414O1sXzO/DMIC4RQzTNWHrTzqhLoemL4flkTJqnKBxGJovZn8SX AeyHoPaQH88/EBXIblTUK3xx80WQYBeUW0GFZd8FFhuHdB3r8ZhWGIf9brDQrNXvT7pW seT51EzmzlhXnIvas0ZISgyLJ8OIWvZFYOLvsjW1L/8vIn4Qv0ZzixhnLIzlrEszdfFW Vu1x/gSrLKjXnhwxmoQL6jVPLa/JphAHy8KuuWiYyKSaiqAzNg7SLAEtRbroTnVDQ0eK 7kvvhYGU5aSGtTOHRX9sYwjq1Wz9txa3eLcnDm6taLiQOJxs/sZTqYR1gaIvdnFleaaf 5iqQ== X-Received: by 10.194.9.101 with SMTP id y5mr49655831wja.86.1375274628267; Wed, 31 Jul 2013 05:43:48 -0700 (PDT) Received: from [10.2.5.205] ([109.159.232.61]) by mx.google.com with ESMTPSA id jf9sm22922028wic.5.2013.07.31.05.43.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 31 Jul 2013 05:43:47 -0700 (PDT) Message-ID: <51F9067A.2090706@wandisco.com> Date: Wed, 31 Jul 2013 13:43:38 +0100 From: Gary Martin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: user@bloodhound.apache.org Subject: Re: Bloodhound Login Error References: <51F78738.5090503@wandisco.com> <4EAAB9C8-26D0-424E-A441-6658F753BAAD@digiverse.si> <51F7A0D7.1020000@wandisco.com> <5DDACBA9-6D7B-4D57-A90E-ED0EEECAF173@digiverse.si> <7E7A562A-B161-44A1-BD10-82884BCE3CF7@digiverse.si> In-Reply-To: <7E7A562A-B161-44A1-BD10-82884BCE3CF7@digiverse.si> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQl2AfGaLD6b9tiaPBD/D+Vf+kOhjKsFwdGLYgOEvQDZJ0Nqa4UsaG8mXGqbentC3e8kz45c X-Virus-Checked: Checked by ClamAV on apache.org On 31/07/13 12:48, Matevž Bradač wrote: > On 31. Jul, 2013, at 10:54, Pedro Estrela wrote: > >> I did that command: >> >> tracd -p 8000 /var/www/bloodhound/installer/bloodhound/environments/main >> >> and i get this errors on localhost:8000/main : >> >> " Warning: Unknown theme bloodhound configured. Please check your trac.ini. You may need to enable the theme's plugin." >> >> and >> >> " Trac detected an internal error: >> >> DataError: invalid input syntax for integer: "trac.wiki.api.WikiSystem.pages" >> LINE 1: SELECT generation FROM cache WHERE id=E'trac.wiki.api.WikiSy... >> >> ^" >> > From the looks of it, it seems like you have a corrupt virtual environment > or something in that direction. I would suggest recreating the environment > from scratch, under the same user account that will be used for running > Apache. Note that you may have to manually remove Babel and replace it with an > older version (use Babel==0.9.6 with pip), as the newer versions may not work. > After the new environment has been set up, running a standalone tracd should > work properly. > > Once this is fixed we can continue debugging the Apache issues. This seems sensible. It might also be worth removing the system installed versions of the packages though if we can work out which they are. I may not have been exhaustive in this list and it may be that some of these are installed from the CentOS repositories so you may need to be careful in case other programs need some of these.. however unless you expect to have Trac itself installed alongside, the following will hopefully be safe enough (deactivate included in case you are starting from an activated virtualenv): deactivate pip uninstall Babel pip uninstall BloodhoundDashboardPlugin pip uninstall BloodhoundMultiProduct pip uninstall BloodhoundRelationsPlugin pip uninstall BloodhoundSearchPlugin pip uninstall BloodhoundTheme pip uninstall Genshi pip uninstall Pygments pip uninstall Trac pip uninstall TracAccountManager pip uninstall TracPermRedirect pip uninstall TracThemeEngine pip uninstall Whoosh pip uninstall sqlparse Cheers, Gary