Public bug reported:

Binary package hint: wx2.8-examples

After installing wx2.8-examples, most of the files in 
/usr/share/doc/wx2.8-examples/examples/wxPython/ are still gzipped.
When you try to run demo.py (which is uncompressed) you get:

Traceback (most recent call last):
  File "/usr/share/doc/wx2.8-examples/examples/wxPython/demo.py", line 3, in 
<module>
    import Main
ImportError: No module named Main

The post install should do something like:

for gz in /usr/share/doc/wx2.8-examples/examples/wxPython/*gz;
do
    py=${gz/.gz/}
    if [ ! -f $py ]; then
        gunzip -c $gz > $py
    fi
done

** Affects: wxwidgets2.8 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
wx2.8-examples leaves .py files compressed
https://bugs.launchpad.net/bugs/315163
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to