pytrainer: fails to start: missing ~/.pytrainer/conf.xml

Bug #760885 reported by Xavier Bassery
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pytrainer
Fix Released
Unknown
pytrainer (Debian)
Fix Released
Unknown
pytrainer (Ubuntu)
Fix Released
High
Xavier Bassery
Natty
Fix Released
High
Unassigned

Bug Description

pytrainer silently fails to start if there is no configuration file. This is fixed in Debian with version 1.8.0-1 which according to bug 762060 we can sync to Oneiric.

TEST CASE:

1) install pytrainer on a system for the first time
2) launch pytrainer (nothing happens)

With the new patched version of pytrainer the application will start.

Binary package hint: pytrainer

pytrainer fails to start silently.
Looking at ~/.pytrainer/log.out, I read the following:

2011-04-14 18:32:24,242|ERROR|profile|__init__|Seems no data available in local configuration file: /home/xavier/.pytrainer/conf.xml, please check
2011-04-14 18:32:24,244|ERROR|profile|__init__|Fatal error, exiting

And indeed, the file ~/.pytrainer/conf.xml is missing on my system with a fresh installation of pytrainer.

ProblemType: BugDistroRelease: Ubuntu 11.04
Package: pytrainer 1.7.2-1.1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Thu Apr 14 18:20:06 2011InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101130.1)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bashSourcePackage: pytrainer
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Xavier Bassery (xaba) wrote :
Revision history for this message
Xavier Bassery (xaba) wrote :

This bug has been fixed upstream and in Debian testing in version 1.8.0.

Changed in pytrainer:
status: Unknown → Fix Released
Revision history for this message
Michael Terry (mterry) wrote :

I filed bug 762060 to sync from Debian.

Xavier Bassery (xaba)
Changed in pytrainer (Ubuntu):
assignee: nobody → Xavier Bassery (xaba)
Changed in pytrainer (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Changed in pytrainer (Ubuntu):
status: Confirmed → Triaged
Changed in pytrainer (Ubuntu Natty):
milestone: none → natty-updates
importance: Undecided → High
status: New → Triaged
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

I've uploaded your patch to natty-proposed. Thanks for helping out.

Revision history for this message
Martin Pitt (pitti) wrote :

Please fix in oneiric, so that this can proceed to -updates.

Changed in pytrainer (Ubuntu Natty):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted pytrainer into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

SRU verification for Natty:
I have reproduced the problem with pytrainer 1.7.2-1.1ubuntu1 in natty and have verified that the version of pytrainer 1.7.2-1.1ubuntu2 in -proposed fixes the issue.

Marking as verification-done

tags: added: verification-done
removed: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote :

This is fixed in Oneiric with the new upstream version of pytrainer.

Martin Pitt (pitti)
Changed in pytrainer (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pytrainer - 1.7.2-1.1ubuntu2

---------------
pytrainer (1.7.2-1.1ubuntu2) natty-proposed; urgency=low

  * Let the application start even if the user configuration file is not
    found. Fixed in upstream version 1.8.0. (LP: #760885)
 -- Xavier Bassery <email address hidden> Sun, 24 Apr 2011 00:12:48 +0200

Changed in pytrainer (Ubuntu Natty):
status: Fix Committed → Fix Released
Changed in pytrainer (Debian):
status: Unknown → 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.