Control: tag -1 + unreproducible

On Thu, 27 Jun 2013 11:36:33 +0200, Jeremiah C. Foster wrote:

> When launching the bambam executable, it immediately fails due to a
> missing directory. The missing directory is /usr/bin/data/ which does
> not exist on my machine. I am unsure what Debian Policy says about
> sucha directory and its appropriateness in /usr/bin but in any case,
> it either needs to be created by the package (since this is liekly to
> happen to others) or it needs to be placed somewhere else.

Hi Jeremiah,

I can't reproduce this bug, and looking at the source package, it
shouldn't happen since the path is patched:

% cat debian/patches/set_install_base
--- a/bambam.py                                   
+++ b/bambam.py
@@ -17,7 +17,7 @@
 from pygame.locals import * 
 
 # figure out the install base to use with image and sound loading
-progInstallBase = os.path.dirname(os.path.normpath(sys.argv[0]));
+progInstallBase = '/usr/share/bambam' 
 screenheight, screenwidth = 600,800
 
 # Load image in data/, handling setting of the transparency color key


Without the patch, bambam would indeed look in /usr/bin + data/
Not sure how you ended up in this situation -- are you sure you were
running the executable from the package and not some other versions,
maybe locally installed or something?


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   

Attachment: signature.asc
Description: Digital signature

Reply via email to