Hellanzb crash at startup.

Bug #1010799 reported by Aymeric
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hellanzb (Debian)
Fix Released
Unknown
hellanzb (Ubuntu)
Fix Released
High
Unassigned
Precise
Fix Released
High
Unassigned

Bug Description

[IMPACT]

 This bug has impacted users by making the package unusable and the justification for backporting this fix is simple in that it makes minor changes that will enable this package to work properly for our users. This bug is fixed by changing twisted to 11.1.0 in the package.

[TESTCASE]

1. Start hellanzb on Precise
2. See Error Output:
  File "/usr/bin/hellanzb", line 14, in <module>
    from Hellanzb.Core import main
  File "/usr/lib/pymodules/python2.7/Hellanzb/Core.py", line 9, in <module>
    from Hellanzb.HellaReactor import HellaReactor
  File "/usr/lib/pymodules/python2.7/Hellanzb/HellaReactor.py", line 14, in <module>
    from twisted.internet.selectreactor import _NO_FILENO
ImportError: cannot import name _NO_FILENO

[Regression Potential]

 I do not see any potential for regression since this fix works in quantal and debian.

[Other Info]

Each time I run hellanzb I get this error message:
Traceback (most recent call last):
  File "/usr/bin/hellanzb", line 14, in <module>
    from Hellanzb.Core import main
  File "/usr/lib/pymodules/python2.7/Hellanzb/Core.py", line 9, in <module>
    from Hellanzb.HellaReactor import HellaReactor
  File "/usr/lib/pymodules/python2.7/Hellanzb/HellaReactor.py", line 14, in <module>
    from twisted.internet.selectreactor import _NO_FILENO
ImportError: cannot import name _NO_FILENO

Making hellanzb unusable at all. It works perfectly with the previous Ubuntu.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: hellanzb 0.13-6.1
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Sat Jun 9 09:51:04 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=fr_FR:en
 TERM=screen
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: hellanzb
UpgradeStatus: Upgraded to precise on 2012-06-04 (4 days ago)

Related branches

Revision history for this message
Aymeric (mulx) wrote :
Revision history for this message
Aymeric (mulx) wrote :

I found this commit that solve this bug: https://github.com/emikulic/hellanzb/commit/2a8a873b65d79a6483d4c7afb547ed8ce43b8d6e#diff-0

Please could you apply it in the Ubuntu package?

Changed in hellanzb (Ubuntu):
status: New → Triaged
importance: Undecided → High
tags: added: bitesize
Changed in hellanzb (Debian):
status: Unknown → Fix Committed
Revision history for this message
Benjamin Kerensa (bkerensa) wrote :

I have submitted a merge proposal that should fix this.

Changed in hellanzb (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Benjamin Kerensa (bkerensa)
Revision history for this message
Brian Murray (brian-murray) wrote :

This was already fixed in quantal.

hellanzb (0.13-6.1ubuntu1) quantal; urgency=low

  * Add debian/patches/008-Twisted_11.1.0_compat to work
    with Python Twisted 11.1.0 (LP: #950972)

 -- Christophe Sauthier <email address hidden> Wed, 02 May 2012 12:37:39 +0200

Changed in hellanzb (Ubuntu):
status: In Progress → Fix Released
Changed in hellanzb (Ubuntu Precise):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Benjamin Kerensa (bkerensa)
Changed in hellanzb (Ubuntu):
assignee: Benjamin Kerensa (bkerensa) → nobody
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

I've uploaded this to precise-proposed - thanks!

Changed in hellanzb (Ubuntu Precise):
assignee: Benjamin Kerensa (bkerensa) → nobody
status: In Progress → Fix Committed
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Aymeric, or anyone else affected,

Accepted hellanzb into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/hellanzb/0.13-6.1ubuntu0 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Looks good:-

alan@deep-thought:~$ hellanzb
Traceback (most recent call last):
  File "/usr/bin/hellanzb", line 14, in <module>
    from Hellanzb.Core import main
  File "/usr/lib/pymodules/python2.7/Hellanzb/Core.py", line 9, in <module>
    from Hellanzb.HellaReactor import HellaReactor
  File "/usr/lib/pymodules/python2.7/Hellanzb/HellaReactor.py", line 14, in <module>
    from twisted.internet.selectreactor import _NO_FILENO
ImportError: cannot import name _NO_FILENO
alan@deep-thought:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  libunity-core-5.0-5 linux-generic linux-headers-generic linux-image-generic
  unity unity-common unity-services
The following packages will be upgraded:
  hellanzb
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 168 kB of archives.
After this operation, 105 kB disk space will be freed.
Do you want to continue [Y/n]?
Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise-proposed/universe hellanzb all 0.13-6.1ubuntu0 [168 kB]
Fetched 168 kB in 2s (57.1 kB/s)
(Reading database ... 412134 files and directories currently installed.)
Preparing to replace hellanzb 0.13-6.1 (using .../hellanzb_0.13-6.1ubuntu0_all.deb) ...
Unpacking replacement hellanzb ...
Processing triggers for python-support ...
Processing triggers for man-db ...
Setting up hellanzb (0.13-6.1ubuntu0) ...
Processing triggers for python-support ...
alan@deep-thought:~$ hellanzb

hellanzb v0.13 (config = /etc/hellanzb.conf, C yenc module)
(changeme) Opening 4 connections...
hellanzb - Now monitoring queue...
DNS lookup failed for hostname: news.changeme.com
DNS lookup failed for hostname: news.changeme.com
DNS lookup failed for hostname: news.changeme.com
DNS lookup failed for hostname: news.changeme.com
DNS lookup failed for hostname: news.changeme.com
DNS lookup failed for hostname: news.changeme.com
^C

Caught interrupt, exiting..

tags: added: verification-done
removed: verification-needed
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hellanzb - 0.13-6.1ubuntu0

---------------
hellanzb (0.13-6.1ubuntu0) precise-proposed; urgency=low

  * Add debian/patches/008-Twisted_11.1.0_compat to work
    with Python Twisted 11.1.0 (LP: #1010799)
 -- Benjamin Kerensa <email address hidden> Fri, 07 Sep 2012 13:30:28 -0700

Changed in hellanzb (Ubuntu Precise):
status: Fix Committed → Fix Released
Changed in hellanzb (Debian):
status: Fix Committed → Confirmed
Changed in hellanzb (Debian):
status: Confirmed → 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.