Bug#714251: bambam crashes on launch due to not finding image in data dir.

2013-07-08 Thread gregor herrmann
On Mon, 08 Jul 2013 11:20:43 +0200, Jeremiah C. Foster wrote:

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?
   I may have installed a local version. I'll take a look at my local
   filesystem and see if I can sort this out. 
  Ok, thanks in advance!
 I've cleaned up my file system by removing what likely was an older 
 bambam binary. I've purged the original package and re-installed and
 everything works accordingly. Closing.

Cool, thanks for checking and closing the bug.
 
 Thanks for your help Gregor.

You're welcome, thanks to you too.


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
   `-   NP: Kurt Ostbahn  Die Kombo: So gern so vĂ¼


signature.asc
Description: Digital signature


Bug#714251: bambam crashes on launch due to not finding image in data dir.

2013-07-07 Thread Jeremiah C. Foster
On Fri, Jul 05, 2013 at 03:53:36PM +0200, gregor herrmann wrote:
 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,

Hi Gregor,
 
 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?

I may have installed a local version. I'll take a look at my local
filesystem and see if I can sort this out. Likely not a bug in the 
package so I imagine we can close.

Cheers,

Jeremiah


 
 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
`-   


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#714251: bambam crashes on launch due to not finding image in data dir.

2013-07-07 Thread gregor herrmann
On Sun, 07 Jul 2013 17:43:09 +0200, Jeremiah C. Foster wrote:

  I can't reproduce this bug, and looking at the source package, it
  shouldn't happen since the path is patched:
[..]
  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?
 I may have installed a local version. I'll take a look at my local
 filesystem and see if I can sort this out. 

Ok, thanks in advance!

 Likely not a bug in the 
 package so I imagine we can close.

Probably, but I guess it doesn't hurt to wait for your check.


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
   `-   NP: Bruce Springsteen  The E Street Band: Dancing In The Dark


signature.asc
Description: Digital signature


Bug#714251: bambam crashes on launch due to not finding image in data dir.

2013-07-05 Thread gregor herrmann
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
   `-   


signature.asc
Description: Digital signature


Bug#714251: bambam crashes on launch due to not finding image in data dir.

2013-06-27 Thread Jeremiah C. Foster
Package: bambam
Version: 0.4.dfsg-2
Severity: grave
Tags: upstream
Justification: renders package unusable

Dear Maintainer,

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.

Regards,

Jeremiah

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bambam depends on:
ii  python-pygame  1.9.1release+dfsg-8

bambam recommends no packages.

bambam suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org