The Open Babel release is a 32-bit application. You can't mix and
match 32 and 64-bit.

- Noel

On 4 February 2014 18:33, Jacka <jacka.zueh...@onlinehome.de> wrote:
> Hello community,
>
> I have a confusing problem with Pybel/Openbabel and Windows Server 2008.
>
> My PHP script opens a python file for my substructure search and gets the
> result back.
> On my local machine (Windows 7 32bit) it works perfectly! (Thx a lot for
> this tool!)
>
> Now I tried to implement the app on our production server with Windows
> Server 2008 64bit, but it does not work correctly. If I use the command
> prompt to start the python script, it works!! But with PHP the following
> error message appears:
>
> Traceback (most recent call last):
>         File
> "D:/Zend/Apache2/htdocs/symchem_dev/backend/application/python/SubStructSearch_fsPHP.py",
> line 6, in <module>
>                 import pybel
>         File "c:\Python\Python27\lib\site-packages\pybel.py", line 52, in 
> <module>
>                 import openbabel as ob
>         File "c:\Python\Python27\lib\site-packages\openbabel.py", line 37, in
> <module>
>                 _openbabel = swig_import_helper()
>         File "c:\Python\Python27\lib\site-packages\openbabel.py", line 33, in
> swig_import_helper
>                 _mod = imp.load_module('_openbabel', fp, pathname, 
> description)
>         ImportError: DLL load failed: The specified module could not be found.
>
> I copied the OpenBabel "Data" folder to a the app folder and changed the
> BABEL_DATADIR folder, because I think it depends on the account which is
> starting the python script (Apache runs under system account). But nothing
> works..
>
> Has anyone an idea?
>
> Thank you and kind regards,
> Jacqueline
>
>
>
> --
> View this message in context: 
> http://forums.openbabel.org/Problem-with-pybel-script-starting-via-PHP-on-Windows-Server-2008-64bit-tp4657195.html
> Sent from the General discussion mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to