Fixing crash on launch, fixingpackaging, bumping to 0.8.3
authorepage <eopage@byu.net>
Wed, 16 Jun 2010 00:08:28 +0000 (00:08 +0000)
committerepage <eopage@byu.net>
Wed, 16 Jun 2010 00:08:28 +0000 (00:08 +0000)
git-svn-id: file:///svnroot/nqaap/trunk@33 00ff6f12-f5ab-46b1-af0e-967c86d3154f

src/opt/Nqa-Audiobook-player/Player.py
support/build_nqaap.py

index daa29fb..951b386 100644 (file)
@@ -54,9 +54,13 @@ class Player(object):
                 bookPath = self._bookPaths[lastBookName]
                 self.set_book(bookPath)
             except KeyError:
-                _moduleLogger.info("Audiobook was not found")
+                               _moduleLogger.exception("Audiobook was not found")
+            except IndexError:
+                               _moduleLogger.exception("Chapter was not found")
             except IOError:
-                _moduleLogger.info("Audiobook could not be loaded")
+                               _moduleLogger.exception("Audiobook could not be loaded")
+            except Exception:
+                               _moduleLogger.exception("Can you say 'confusion'?")
 
     @staticmethod
     def __format_name(path):
index 3645ef6..216dac4 100755 (executable)
@@ -42,12 +42,13 @@ Homepage: http://nqaap.garage.maemo.org/"""
         "python-dbus | python2.5-dbus",\r
         "python-telepathy | python2.5-telepathy",\r
         "python-gobject | python2.5-gobject",\r
+        "python-gst0.10 | python2.5-gst0.10",\r
     ])\r
     maemoSpecificDepends = ", python-osso | python2.5-osso, python-hildon | python2.5-hildon"\r
     p.depends += {\r
-        "debian": ", python-gst0.10",\r
+        "debian": "",\r
         "diablo": maemoSpecificDepends,\r
-        "fremantle": maemoSpecificDepends+", python-gst0.10",\r
+        "fremantle": maemoSpecificDepends,\r
     }[distribution]\r
     p.section = {\r
         "debian": "sound",\r
@@ -69,7 +70,7 @@ rm -f ~/.nqaap/nqaap.log
     #  chmod +x /usr/bin/mclock.py""" #Set here your pre install script\r
     #  p.preremove="""#!/bin/sh\r
     #  chmod +x /usr/bin/mclock.py""" #Set here your pre remove script\r
-    version = "0.8.2"           #Version of your software, e.g. "1.2.0" or "0.8.2"\r
+    version = "0.8.3"           #Version of your software, e.g. "1.2.0" or "0.8.2"\r
     build = "0" #Build number, e.g. "1" for the first build of this\r
                                 #version of your software. Increment\r
                                 #for later re-builds of the same\r
@@ -77,9 +78,9 @@ rm -f ~/.nqaap/nqaap.log
                                 #changelog information to be displayed\r
                                 #in the package "Details" tab of the\r
                                 #Maemo Application Manager\r
-    changeloginformation = """Playback during silent mode\r
-Fix for Post 118: Missing Cover art\r
-"""\r
+    changeloginformation = """\r
+Fixing a crash on launch (Post 140)\r
+""".strip()\r
     dir_name = "src" #Name of the subfolder containing your package\r
                                 #source files\r
                                 #(e.g. usr\share\icons\hicolor\scalable\myappicon.svg,\r