Looked at this a bit after the IRC discussion. It seems like the python C api on ubuntu sets sys.path[0] not to an empty string but to "/usr/lib/python2.6" which is sys.path[1] usually and scribus overwrites sys.path[0] with it's own include path when the scriptengine is initialized. Could be solved by scribus using "sys.path.insert(0, \"%1\")\n" instead of "sys.path[0] = \"%1\"\n" in scribus/plugins/scriptplugin/scriptercore.cpp. I don't know why sys.path for the C API would look different in ubuntu than elsewhere though.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/685625 Title: Incorrect python path in scripter -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs