Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't execute a python command (gdal2tiles.py) from PHP
    primarykey
    data
    text
    <p>I am trying to execute the following command from PHP (run on ubuntu)</p> <pre><code>"gdal2tiles.py" -p raster -z 0-6 -w none '/opt/lampp/htdocs/attachments/pt.png' </code></pre> <p>Running this command into the terminal works fine, but from php it gives me the following error</p> <pre><code>python: /opt/lampp/lib/libz.so.1: no version information available (required by python) Traceback (most recent call last): File "/usr/bin/gdal2tiles.py", line 38, in &lt;module&gt; from osgeo import gdal File "/usr/lib/python2.7/dist-packages/osgeo/__init__.py", line 21, in &lt;module&gt; _gdal = swig_import_helper() File "/usr/lib/python2.7/dist-packages/osgeo/__init__.py", line 17, in swig_import_helper _mod = imp.load_module('_gdal', fp, pathname, description) ImportError: /usr/lib/i386-linux-gnu/libkrb5.so.26: undefined symbol: sqlite3_open_v2 Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 66, in apport_excepthook from apport.fileutils import likely_packaged, get_recent_crashes File "/usr/lib/python2.7/dist-packages/apport/__init__.py", line 1, in &lt;module&gt; from apport.report import Report File "/usr/lib/python2.7/dist-packages/apport/report.py", line 20, in &lt;module&gt; import apport.fileutils File "/usr/lib/python2.7/dist-packages/apport/fileutils.py", line 22, in &lt;module&gt; from apport.packaging_impl import impl as packaging File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 20, in &lt;module&gt; import apt File "/usr/lib/python2.7/dist-packages/apt/__init__.py", line 21, in &lt;module&gt; import apt_pkg ImportError: /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12: undefined symbol: gzseek64 Original exception was: Traceback (most recent call last): File "/usr/bin/gdal2tiles.py", line 38, in &lt;module&gt; from osgeo import gdal File "/usr/lib/python2.7/dist-packages/osgeo/__init__.py", line 21, in &lt;module&gt; _gdal = swig_import_helper() File "/usr/lib/python2.7/dist-packages/osgeo/__init__.py", line 17, in swig_import_helper _mod = imp.load_module('_gdal', fp, pathname, description) ImportError: /usr/lib/i386-linux-gnu/libkrb5.so.26: undefined symbol: sqlite3_open_v2 </code></pre> <p>Can anybody help?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload