Package: wx2.6-examples
Version: 2.6.1.2
Severity: important
Tags: patch

Running examples/wxPython/demo.py fails because many of the files are
gzipped. I found it unintuitive that I had to copy and unzip the files
before I could use them.

In bug #340665, Ron Lee said:

"But from the point of view of policy, this is mandated
behaviour and so not a bug.  These files are documentation,
you can't run them in place where they are installed, as
some of them write to disk (and you'd need escalated
privs to do that where they are).

"If you want to run them, rather than consult them, you'll
need to copy them to a dir where you have read and write
permission and ungzip the ones that were large enough to
be caught by our compressed documentation policy.

"I've suggested before that if someone wants to write a
script to do that, I'd consider including it with the
package...  That offer still stands :-)"

I am including a script called deploy_wxPython_demo.sh which does this.
The script is meant to be run with the privileges of the user who will
be using the demo (non-root). It takes as an argument the directory
where the files will be copied. I would suggest that these instructions,
along with Mr. Lee's explanation of why they are necessary, be included
in /usr/share/doc/wx2.6-examples.

I hope this is helpful. Thanks for your great work.

Richard Esplin

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

-- no debconf information

Attachment: deploy_wxPython_demo.sh
Description: application/shellscript

Reply via email to