Doesn't start in feisty

Bug #80287 reported by sumsoul on 2007-01-17
48
Affects Status Importance Assigned to Milestone
pysol (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: pysol

it simply crashes when tryin' to start under feisty. I'm usin' feisty amd64-version, I've added a crash report, maby it can help

Related branches

sumsoul (summerauer-andreas) wrote :

the crash report I was speakin' about

ville palo (vi64pa) wrote :

Same here.

Changed in pysol:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Myriam Schweingruber (myriam) wrote :

Idem here on a i686 system. Guess it's a Python problem (passing from 2.4 to 2.5?)

Vincenzo Ciancia (vincenzo-ml) wrote :

Doesn't start in feisty here too, but with different error:

Traceback (most recent call last):
  File "/usr/share/games/pysol/pysol.py", line 47, in ?
    from main import main
  File "/usr/share/games/pysol/main.py", line 54, in ?
    from app import Application
  File "/usr/share/games/pysol/app.py", line 54, in ?
    from images import Images, SubsampledImages
  File "/usr/share/games/pysol/images.py", line 47, in ?
    from pysoltk import tkversion, loadImage, copyImage, createImage
  File "/usr/share/games/pysol/pysoltk.py", line 81, in ?
    exec "from " + m + " import *"
  File "<string>", line 1, in ?
  File "/usr/share/games/pysol/tk/toolbar.py", line 46, in ?
    from actions import PysolToolbarActions
  File "/usr/share/games/pysol/actions.py", line 45, in ?
    from random import constructRandom
ImportError: cannot import name constructRandom

Dag Stenstad (dag-stenstad) wrote :

I'm seeing the same error on two i686 installations here:

ImportError: cannot import name constructRandom

Dag Stenstad (dag-stenstad) wrote :

As far as I can see, what happens is that the "from random import constructRandom" loads /usr/lib/python2.5/random.py instead of /usr/share/games/pysol/random.py. Just as a test I copied pysol/random.py to another file, and changed the imports in actions.py, app.py and game.py to reflect this. The game started up.

Scott Kitterman (kitterman) wrote :

As noted in the changelog, this is a bit of a hack to get around what appears to be an intermittend Python bug, but it is a hack that works.

Locally built package with this change runs as expected on a box the crashed with ubuntu3.

Daniel T Chen (crimsun) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 9 Apr 2007 17:28:46 -0400
Source: pysol
Binary: pysol-sounds pysol
Architecture: source
Version: 4.82.1-4.1ubuntu4
Distribution: feisty
Urgency: low
Maintainer: Ubuntu MOTU Developers <email address hidden>
Changed-By: Scott Kitterman <email address hidden>
Description:
 pysol - X11 solitaire game written in Python
 pysol-sounds - Sounds and background music for use with PySol
Launchpad-Bugs-Fixed: 80287
Changes:
 pysol (4.82.1-4.1ubuntu4) feisty; urgency=low
 .
   * Move /src/random.py to pysol_random.py to avoid odd namespace confusion and
     change imports to match. (Closes LP: #80287)
     - Note this is a workaround for LP #104971 and should be removed once
       that is corrected.
   * Add version to python-support build-dep
Files:
 2dd7bfcb304ec2040af9f19201059197 768 games optional pysol_4.82.1-4.1ubuntu4.dsc
 567afad3f305c22269900428db7da8e9 8091 games optional pysol_4.82.1-4.1ubuntu4.di
ff.gz
Original-Maintainer: Alexander Nofftz <email address hidden>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGGsBve9GwFciKvaMRAqloAJwOeiPkvrz/gWP+Z9Qfth79tFgNOwCeIQRO
dlATpX1gAzK+FjQKJUOQEXQ=
=0Yr+
-----END PGP SIGNATURE-----

Changed in pysol:
status: Confirmed → Fix Committed
Changed in pysol:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments