~ubuntu-branches/ubuntu/jaunty/bacula-doc/jaunty

« back to all changes in this revision

Viewing changes to manual-fr/python.tex

  • Committer: Bazaar Package Importer
  • Author(s): John Goerzen
  • Date: 2007-12-29 16:02:34 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071229160234-dyl18sllzsx72jfu
Tags: 2.2.8-1
* New upstream version.
* Thanks to Mark Hymers for assistance with packaging 2.2.6 and 2.2.7.

Show diffs side-by-side

added added

removed removed

Lines of Context:
378
378
It is because the DirStartUp script is calling a dynamically loaded
379
379
module (timemodule.so in the above case) that then tries to use
380
380
Python functions exported from the Python interpreter (in this case
381
 
PyInt_FromLong). The way Bacula is currently linked with Python does
 
381
PyInt\_FromLong). The way Bacula is currently linked with Python does
382
382
not permit this.  The solution to the problem is to put such functions  
383
383
(in this case the import of time into a separate Python script, which
384
384
will do your calculations and return the values you want. Then call