PythonQ 248-8XX Manual de usuario Pagina 228

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 299
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 227
Chapter 10
If a bug fix is available, but has not been pushed into the Koha repository, you can
download the patch from the bug reports, and try to apply it yourself. To apply a
patch, we use the command
git apply:
koha@linux: /home /koha /kohaclone # git apply name -of- patch.patch
Command line programs- environment
variables not exported
If you don't have Koha's environment variables set up correctly for the Linux
shell, you will see errors like this when running command -line programs, such
as bulkmarcimport.pl:
íi85- 160:/ home / koha /kohaclone /misc /migration_tools # perl bulkmarcimport.
pl - -h
Can't locate C4 /Context.pm in @INC
( @INC contains: /usr /lib /per15 /5.10.0/
i586- linux- thread -multi /usr /lib /per15 /5.10.0 /usr /lib /perl5 /site_
perl /5.10.0 /i586 - linux- thread -multi /usr /lib /per15 /site_perl /5.10.0 /
usr /lib /per15 /vendor_perl /5.10.0 /i586 - linux- thread -multi /usr /lib /per15/
vendor_perl /5.10.0 /usr /lib /per15 /vendor _perl .)
at bulkmarcimport.pl
line 21.
BEGIN failed -- compilation aborted at bulkmarcimport.pl line 21.
To avoid this problem, we need to export the
KOHA_CONF and PERL5LIB environment
variables:
koha @linux: /home /koha /kohaclone # export KOHA_CONF= /etc /koha -dev /etc/
koha- conf.xml
koha @linux: /home /koha /kohaclone# export PERL5LIB= /home /koha /kohaclone
To set these up to be persistent across sessions, we add these lines to the
/etc /bash.
bashrc file in Debian, and to the
/etc /bash. bashrc . local file in openSuSE.
[213]
Vista de pagina 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 298 299

Comentarios a estos manuales

Sin comentarios