Bug#559236: [bzed at debian.org: Bug#559236: python-asterisk: fails to detect the configuration in $HOME]

David Wilson dw at botanicus.net
Sun Dec 13 12:43:52 UTC 2009


Hi there,

This has been fixed in revision 174 of py-Asterisk trunk. Thanks for
letting me know!


David

2009/12/3 Tzafrir Cohen <tzafrir.cohen at xorcom.com>:
> Hi,
>
> See the following bug report submitted vs. the Debian package.
>
> Bug in the BTS: http://bugs.debian.org/559236
>
> Patch:
> http://svn.debian.org/viewsvn/pkg-voip/py-asterisk/trunk/debian/patches/path_join.dpatch?view=markup
> http://svn.debian.org/viewsvn/pkg-voip/py-asterisk/trunk/debian/patches/path_join.dpatch
>
> I'm not really involved with python-asterisk and thus did not bother
> subscribing to the list and reporting it there, sorry.
>
> ----- Forwarded message from Bernd Zeimetz <bzed at debian.org> -----
>
> Resent-From: Bernd Zeimetz <bzed at debian.org>
> Resent-To: debian-bugs-dist at lists.debian.org
> Resent-CC: Debian VoIP Maintainers
>        <pkg-voip-maintainers at lists.alioth.debian.org>
> Resent-Date: Thu, 03 Dec 2009 00:03:05 +0000
> Resent-Message-ID: <handler.559236.B.125979830420618 at bugs.debian.org>
> From: Bernd Zeimetz <bzed at debian.org>
> To: Debian Bug Tracking System <submit at bugs.debian.org>
> Date: Thu, 03 Dec 2009 00:58:13 +0100
> Resent-Sender: Debian BTS <debbugs at rietz.debian.org>
> Resent-Date: Thu, 03 Dec 2009 00:03:08 +0000
> Subject: Bug#559236: python-asterisk: fails to detect the configuration in
>        $HOME
> Reply-To: Bernd Zeimetz <bzed at debian.org>, 559236 at bugs.debian.org
>
> Package: python-asterisk
> Version: 0.1a3+r160-4
> Severity: important
> Tags: patch
>
> In /usr/share/python-support/python-asterisk/Asterisk/Config.py the
> following lines are used in CONFIG_PATHNAMES:
>
> os.path.join(os.environ.get('HOME', ''), '/.py-asterisk.conf'),
> os.path.join(os.environ.get('USERPROFILE', ''), '/py-asterisk.conf'),
>
> which results in /.py-asterisk.conf and /py-asterisk.conf
> being added to the search path. Instead the following should be used:
>
> os.path.join(os.environ.get('HOME', ''), '.py-asterisk.conf'),
> os.path.join(os.environ.get('USERPROFILE', ''), 'py-asterisk.conf'),
>
>
>
> -- System Information:
> Debian Release: squeeze/sid
>  APT prefers unstable
>  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.31.1-think (SMP w/2 CPU cores; PREEMPT)
> 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 python-asterisk depends on:
> ii  python                        2.5.4-2    An interactive high-level object-o
> ii  python-support                1.0.4      automated rebuilding support for P
>
> python-asterisk recommends no packages.
>
> python-asterisk suggests no packages.
>
> -- no debconf information
>
>
>
> _______________________________________________
> Pkg-voip-maintainers mailing list
> Pkg-voip-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-maintainers
>
> ----- End forwarded message -----
>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>



-- 
Reality is that which, when you stop believing in it, doesn't go away.
  — Philip K. Dick





More information about the Pkg-voip-maintainers mailing list