well this is kind of strange.
i have few scripts that run on a daily basis and it works good on one host . im my development env its failing on importError : no module svn
I login as the user who is running the script and go to python prompt and try import svn. it wont throw any error. kind of strange.
aamuser@dbdev01 :~>python
Python 2.5.4 (r254:67916, May 26 2009, 12:58:10)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
Type "help", "copyright" , "credits" or "license" for more information.
>>>
>>> import svn
>>> svn
<module 'svn' from '/local/mnt/qsrp/python/site-packages/svn/__init__.pyc'>
i am scratching my head the last 2 days to figure out what is wrong and i have no clue. if i run the script manually it works good, but if it runs as part of the Makefile, its errors out saying svn module not found :(
appreciate any comments on this.
thanks,
i have few scripts that run on a daily basis and it works good on one host . im my development env its failing on importError : no module svn
I login as the user who is running the script and go to python prompt and try import svn. it wont throw any error. kind of strange.
aamuser@dbdev01 :~>python
Python 2.5.4 (r254:67916, May 26 2009, 12:58:10)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
Type "help", "copyright" , "credits" or "license" for more information.
>>>
>>> import svn
>>> svn
<module 'svn' from '/local/mnt/qsrp/python/site-packages/svn/__init__.pyc'>
i am scratching my head the last 2 days to figure out what is wrong and i have no clue. if i run the script manually it works good, but if it runs as part of the Makefile, its errors out saying svn module not found :(
appreciate any comments on this.
thanks,
Comment