Package: pyaimt
Version: 0.8a-3
Severity: important
Tags: patch

If pyaim-t encounters an unhandled error during startup, no message is
provided to the administrator.

[In my case, I the permissions on pyaim-t's data directory were
incorrect (probably my own fault).]

The attached patch catches any unhandled exceptions produced during
program startup and displays them.

-Derrick

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (80, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-k7 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pyaimt depends on:
ii  adduser                  3.106           add and remove users and groups
ii  python-central           0.6.1           register and build utility for Pyt
ii  python-crypto            2.0.1+dfsg1-2.1 cryptographic algorithms and proto
ii  python-twisted           2.5.0-2         Event-based framework for internet
ii  python-twisted-web       0.7.0-1         An HTTP protocol implementation to
ii  python-twisted-words     0.5.0-1.1       Chat and Instant Messaging

Versions of packages pyaimt recommends:
ii  python-imaging                1.1.6-1    Python Imaging Library
pn  python-mysqldb                <none>     (no description available)
pn  python-nevow                  <none>     (no description available)

-- no debconf information

-- 
Whoever gives heed to instruction prospers,
and blessed is he who trusts in the Lord.
        Proverbs 16:20
 
www: http://dman13.dyndns.org/~dman/            jabber: [EMAIL PROTECTED]
Index: PyAIMt.py
===================================================================
--- PyAIMt.py   (revision 249)
+++ PyAIMt.py   (working copy)
@@ -13,4 +13,9 @@
        import profile
        profile.run('main.main()', main.profilelog)
 else:
+    try:
        main.main()
+    except:
+        import traceback
+        traceback.print_trace()
+

Attachment: signature.asc
Description: Digital signature

Reply via email to