monsterz game does not start

Bug #119407 reported by Albert Astals Cid
28
Affects Status Importance Assigned to Milestone
Gentoo Linux
Fix Released
Medium
monsterz (Debian)
Fix Released
Unknown
monsterz (Ubuntu)
Fix Released
Low
Unassigned
Nominated for Hardy by agent 8131

Bug Description

Installing monsterz and running it i get

tsdgeos@bluebox:~$ monsterz
/usr/share/games/monsterz/monsterz.py: could not open data from `/usr/share/games/monsterz'.
Traceback (most recent call last):
  File "/usr/share/games/monsterz/monsterz.py", line 1984, in <module>
    main()
  File "/usr/share/games/monsterz/monsterz.py", line 1973, in main
    data = Data(sharedir)
  File "/usr/share/games/monsterz/monsterz.py", line 322, in __init__
    semi_grayscale(self.shaded[i])
  File "/usr/share/games/monsterz/monsterz.py", line 112, in semi_grayscale
    p[:] = (val + r) / 2, (val + g) / 2, (val + b) / 2
ValueError: matrices are not aligned for copy

Revision history for this message
Freddy Martinez (freddymartinez9) wrote :

I can not confirm this bug, please see the screenshot I have attached. I also ran it from the terminal.

Changed in monsterz:
status: Unconfirmed → Needs Info
Revision history for this message
Freddy Martinez (freddymartinez9) wrote :

What release of Ubuntu are you using? I tried this in Feisty and it worked.

Revision history for this message
Albert Astals Cid (aacid) wrote :

I think the problem might be i'm using a 64 bit arch machine, i tested at work, 32 bit machine also with Kubuntu 7.04, and it worked there

Revision history for this message
Freddy Martinez (freddymartinez9) wrote :

Albert, thank you for comment. I wonder if it fails to build from source in a 64 bit environment.

Revision history for this message
Albert Astals Cid (aacid) wrote :

What do you mean build from source? As far as i know python apps are not compiled.

Revision history for this message
Freddy Martinez (freddymartinez9) wrote :

You are correct Albert...hmm I will have to think about this tomorrow.

Revision history for this message
Emmet Hikory (persia) wrote :

I can confirm this on an up-to-date gutsy amd64 system. The sources build locally, but the resulting binaries continue to exhibit the problem even after rebuild.

Changed in monsterz:
importance: Undecided → Low
status: Incomplete → Confirmed
Changed in monsterz:
status: Unknown → New
Revision history for this message
cysurfer (tadams2) wrote :

I'm experiencing the same issue on 64-bit Fedora 7

Revision history for this message
agent 8131 (agent-8131) wrote :

A quick fix for monsterz on amd64 systems is to comment out lines 112 and 133.

http://ubuntumagnet.com/2007/10/quick-fix-game-monsterz-amd64-systems

# change line 112

    * from: p[:] = (val + r) / 2, (val + g) / 2, (val + b) / 2
    * to: # p[:] = (val + r) / 2, (val + g) / 2, (val + b) / 2

# change line 133

    * from: p[:] = (m + r) / 2, (m + g) / 2, (m + b) / 2
    * to: # p[:] = (m + r) / 2, (m + g) / 2, (m + b) / 2

Revision history for this message
Roby Gamboa (regamboa) wrote :

Hi, folks:

I've been able to confirm both that it's a 64-bit problem, and that the proposed fix returns the application to a runnable state. I'm running FC7 on a 4-way AMD Opteron 64 (I know, I know, it's overkill for Monsterz, but I've got to have something to do while the builds are running... :-)

Revision history for this message
agent 8131 (agent-8131) wrote :

I can confirm that this bug has still not been fixed in Hardy beta.

Revision history for this message
STudo (rekvalmer) wrote :

Using Ubuntu Hardy RC 64bit. And this problem is still there.

Changed in monsterz:
status: New → Fix Released
Revision history for this message
Mjules (mjulien-m) wrote :
Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Fixed in intrepid.

Changed in monsterz:
status: Confirmed → Fix Released
Revision history for this message
Giuseppe Pennisi (giupenni78) wrote :

Not fixed in Hardy. I can't start the game.

gp

Changed in gentoo:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.