pycentral crashed with UnboundLocalError in read_pyfiles()

Bug #207150 reported by Andi Albrecht
10
Affects Status Importance Assigned to Milestone
python-central (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: python-central

Maybe this exception is raised because of some messy stuff in the debian/* files. But an UnboundLocalError shouldn't happen anyway.

ProblemType: Crash
Architecture: i386
Date: Wed Mar 26 16:03:51 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/pycentral
InterpreterPath: /usr/bin/python2.5
Package: python-central 0.6.1ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/pycentral debhelper crunchyfrog debian/crunchyfrog
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=de_DE.UTF-8
PythonArgs: ['/usr/bin/pycentral', 'debhelper', 'crunchyfrog', 'debian/crunchyfrog']
SourcePackage: python-central
Title: pycentral crashed with UnboundLocalError in read_pyfiles()
Uname: Linux 2.6.24-12-386 i686
UserGroups:

Tags: apport-crash
Revision history for this message
Andi Albrecht (andialbrecht) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

are there any files installed directly into the debian/crunchyfrog directory by mistake?

Changed in python-central:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Scott Kitterman (kitterman) wrote :

I got this error when I, by mistake, left the installation target out of a .install file. I'll attach a proposed patch here in a moment.

Revision history for this message
Scott Kitterman (kitterman) wrote :

Debdiff to raise a useful error instead of crashing. I didn't see a good default to assume, so I think raising an error is all we can do.

Changed in python-central:
status: Confirmed → Triaged
Revision history for this message
James Westby (james-w) wrote :

Hi,

Is the fix still valid?

You are both core-dev, so I assume you can handle fixing and uploading
if needed.

Thanks,

James

Revision history for this message
Matthias Klose (doko) wrote :

wasn't aware of this patch. fixed in 0.6.11ubuntu9 by just ignoring the files. the packaging will complain later about files in /

Changed in python-central (Ubuntu):
status: Triaged → Fix Released
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.