On Friday 09 June 2006 21:21, Wilson, David wrote: > Greetings, > > > > I am working with using the python functionality of bacula and I am > running into a problem with the DirStartUp.py script. > > > > Whenever I startup bacula, or restart the python engine I receive the > following error: > > > > 09-Jun 15:14 bkup1-roc-dir: ERROR in pythonlib.c:131 Could not import > Python script /etc/bacula/scripts/DirStartUp. Python disabled. > > > > When I attempt to run the script manually I receive: > > Traceback (most recent call last): > > File "DirStartUp.py", line 6, in ? > > import sys, bacula, time > > ImportError: No module named bacula > > > > I did compile bacula with -with-python and I received no errors while > installing in. > > > > Any ideas??
Please see the Python chapter of the development manual -- in particular the Python Configuration section. I have added several paragraphs that explain this problem. http://www.bacula.org/dev-manual/Python_Scripting.html > > > > David Wilson > Network Security Engineer > PAETEC Communications, Inc. -- Best regards, Kern ("> /\ V_V _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users