ImportError: svn__apr_hash_index_val depois da instalação ViewVc

0

Eu tive esse erro depois de instalar o ViewVc. O trackback é:

Traceback (most recent call last):
  File "/usr/lib/viewvc/lib/viewvc.py", line 4844, in main
    request.run_viewvc()
  File "/usr/lib/viewvc/lib/viewvc.py", line 402, in run_viewvc
    self.view_func(self)
  File "/usr/lib/viewvc/lib/viewvc.py", line 2194, in view_roots
    allroots = list_roots(request)
  File "/usr/lib/viewvc/lib/viewvc.py", line 4665, in list_roots
    cfg.options.svn_config_dir)
  File "/usr/lib/viewvc/lib/vclib/svn/__init__.py", line 95, in SubversionRepository
    rootpath = canonicalize_rootpath(rootpath)
  File "/usr/lib/viewvc/lib/vclib/svn/__init__.py", line 39, in canonicalize_rootpath
    rootpath = _canonicalize_path(rootpath)
  File "/usr/lib/viewvc/lib/vclib/svn/__init__.py", line 23, in _canonicalize_path
    import svn.core
  File "/usr/lib/python2.7/dist-packages/svn/core.py", line 26, in <module>
    from libsvn.core import *
  File "/usr/lib/python2.7/dist-packages/libsvn/core.py", line 28, in <module>
    _core = swig_import_helper()
  File "/usr/lib/python2.7/dist-packages/libsvn/core.py", line 24, in swig_import_helper
    _mod = imp.load_module('_core', fp, pathname, description)
ImportError: /usr/lib/python2.7/dist-packages/libsvn/_core.so: undefined symbol: svn__apr_hash_index_val

Eu tentei instalar o módulo python e cgi no apache2 novamente e não funcionou.

    
por Daniel Alves 14.09.2016 / 16:57

1 resposta

0

RESPOSTA: meu problema era com um pacote dentro do python-subversion, então eu instalei.

sudo apt-get install python-subversion

Instalou o python-subversion armhf 1.9.4-3.

    
por Daniel Alves 14.09.2016 / 19:46