On 2007.10.29. 19:09, Rich wrote:
...
>> import datetime
> 
> and this is where it breaks.
> just adding that line to the script prevents director from starting at all :
> 
> Fatal Python error: Interpreter not initialized (version mismatch?)
> Kaboom! bacula-dir, backup_1-dir got signal 6 - IOT trap. Attempting 
> traceback.
> Kaboom! exepath=/sbin/
> Calling: /sbin/btraceback /sbin/bacula-dir 32340
> execv: /sbin/btraceback failed: ERR=No such file or directory
> Traceback complete, attempting cleanup ...
> Orphaned buffer:  backup_1-dir     16 bytes buf=820b150 allocated at 
> watchdog.c:86
> Orphaned buffer:  backup_1-dir     16 bytes buf=82330a8 allocated at 
> watchdog.c:87
> 
> 
> on #python, it was suggested that :
> "that error is caused by importing a module compiled for a different 
> version of Python, on Windows."

a bit more on this :)

"You have to make aboslutely sure that what Bacula links against, at 
runtime, is the right version. You also have to make sure that the 
modules you end up importing at runtime are for the same Python version, 
and also that this Bacula program properly initializes the Python it 
embeds."

as i have no idea how to proceed, i would appreciate any help in 
debugging and resolving python scripting in bacula.
...
-- 
  Rich

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to