On Thursday, January 21, 2016 at 11:04:52 PM UTC-8, Sharda Gupta wrote:
>
> Hi Team,
>
> I have Active Trac on Windows server 1, I am trying to install trac again
> on Windows server 2 to migrate it from server 1.
>
> While doing this I have followed below steps:
> *****************************************************************
>
> *Export and Import PSQL*
>
> -------------------------------
>
>
>
> *Export PSQL from Sydney server:*
>
>
>
> >> pg_dump -U postgres old_trac > dbexport.pgsql
>
>
>
>
>
> *Import into Test Server:*
>
>
>
> >> psql -U postgres new< c:\sydny.sql
>
>
>
> *6. Install Python*
>
> - Python 2.6.6.msi
>
> * -Add to windows path (appropriate application paths)*
>
> * ; c:\Python26;C:\Python26\Scripts*
>
>
>
> *7. Install modules as following order*
>
> 1- Setuptools-4.0.1-py2.6.exe
>
> 2- Genshi-0.6.1-py2.7
>
> 3 - Trac-0.12.5.win32
>
> 4- mod_python-3.3.1.win32-py2.6
>
> 5- psycopg2-2.5.3.win32-py2.6-pg9.3.4-release
>
> 6- Copy libsvn & svn folder from* svn-win32-1.7.16 *To
> *C:\Python26\Lib\site-packages*
>
>
> after all above steps in sequence, when i tried to upgrade the trac using
> below step, received an error:
>
>
> C:\Users\me>trac-admin D:\projects\new\trac upgrade
>
> TracError: Cannot load Python bindings for PostgreSQL
>
>
>
> Kindly suggest , tried below sol:
>
> 1) path in environment field ->
>
>
>
> C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\IBM\ITM\bin;C:\IBM\ITM\TMAITM6;C:\IBM\ITM\InstallITM;D:\Program
>
> Files (x86)\Subversion\bin;c:\Python26;C:\Python26\Scripts;D:\Program
> Files\PostgreSQL\9.2\bin
>
>
> 2) recreated installation 2 times.
>
>
>
>
> Please help me..
>
>
> Regards,
>
> Sharda
>
You might want to try install psycopg2 with pip or easy_install. For
example:
C:\Users\Ryan Ollos>C:\Python27-x64\Scripts\virtualenv.exe pve
New python executable in pve\Scripts\python.exe
Installing setuptools, pip, wheel...done.
C:\Users\Ryan Ollos>pve\Scripts\activate
(pve) C:\Users\Ryan Ollos>pip install psycopg2
Collecting psycopg2
Downloading psycopg2-2.6.1-cp27-none-win_amd64.whl (1.2MB)
100% |################################| 1.2MB 290kB/s
Installing collected packages: psycopg2
Successfully installed psycopg2-2.6.1
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.