There is an error in Mantiss ("APPLICATION ERROR #11, A necessary field "Reported where" was empty. Please recheck your inputs.", but no such field is show), so I send here.<br><br>==SO==<br><br>Scribus 1.3.8, Ubuntu 10.04.<br>
<br>==Description==<br><br>Trying to import PIL Image modules get error:<br><br>Traceback (most recent call last):<br> File "<console>", line 1, in <module><br> File "/usr/lib/python2.6/dist-packages/PIL/Image.py", line 70, in <module><br>
import ImagePalette<br> File "/usr/lib/python2.6/dist-packages/PIL/ImagePalette.py", line 20, in <module><br> import Image, ImageColor<br> File "/usr/lib/python2.6/dist-packages/PIL/ImageColor.py", line 21, in <module><br>
import re, string<br>ImportError: No module named re<br><br>==Steps To Reproduce==<br><br>Try import PIL Image or re modules (regular expressions) on scripter console:<br><br>import Image<br><br>or<br><br>import re<br>
<br>==causes==<br><br>Missing Pyhon main path in sys-path: <br><br>import sys<br>print sys.path # missing '/usr/lib/python2.6'<br><br><br>==Workaround:==<br><br>append missing path in scripts:<br><br>import sys<br>
sys.path.append("/usr/lib/python2.6")<br><br>-- <br>nome: "José Antonio Meira da Rocha" tratamento: "Prof. MS."<br>googletalk: email: MSN: <a href="mailto:joseantoniorocha@gmail.com">joseantoniorocha@gmail.com</a><br>
ICQ: 658222 Skype: "meiradarocha_jor"<br>veículo: [ <a href="http://meiradarocha.jor.br">http://meiradarocha.jor.br</a> ]<br>fone: (+55-55) 9651-0686 (Brazil)<br><br>