https://bugzilla.novell.com/show_bug.cgi?id=783854 https://bugzilla.novell.com/show_bug.cgi?id=783854#c0 Summary: [QGIS] repo-geo: cannot import qgis.core/gui into python without setting PYTHONPATH Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: 64bit OS/Version: openSUSE 12.2 Status: NEW Severity: Minor Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sault.don@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1 When trying to import qgis modules into python, it fails because PYTHONPATH is not set. Is this something that could be set by default? Reproducible: Always Steps to Reproduce: 1. python 2. import qgis.core Actual Results: Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named qgis.core Expected Results: Python should not display an error. Empty output when importing modules usually means success. A workaround is to manually set PYTHONPATH: export PYTHONPATH=/usr/share/qgis/python -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.