Opened 18 years ago

Last modified 17 years ago

#769 closed defect

'import perforce' doesn't work after installing PyPerforce — at Initial Version

Reported by: vikas.bn@… Owned by: Lewis Baker
Priority: normal Component: PerforcePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9

Description

Hi,

I installed PyPerforce so that I could use Trac with the p4 backend. However after following the instructions to build and install the plugin, when i open a python shell and do 'import perforce', i get the following error:

$ python

Python 2.4.2 (#2, Feb 24 2006, 18:16:05) [GCC 3.3.6] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import perforce

Traceback (most recent call last):

File "<stdin>", line 1, in ? File "build/bdist.linux-i686/egg/perforce/init.py", line 48, in ? File "build/bdist.linux-i686/egg/perforce/api.py", line 7, in ? File "build/bdist.linux-i686/egg/perforce/api.py", line 6, in bootstrap

ImportError: /remote/vtghome6/vikasbn/.python-eggs/PyPerforce-0.3a1-py2.4-linux-i686.egg-tmp/perforce/api.so: undefined symbol: _ZN10ClientUser16SetOutputCharsetEi

Have I missed anythig during the build process?

Also note that the PyPerforce, Trac and related plug-ins are installed on non-standard installation path (in my home-dir) as I don't have root access on those machines.

-vikas

Change History (0)

Note: See TracTickets for help on using tickets.