pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48650: python2.7: smtpd module



>Number:         48650
>Category:       pkg
>Synopsis:       bad name for smtpd module in python2.7
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 10 15:20:00 +0000 2014
>Originator:     Benjamin Lorenz
>Release:        NetBSD 6.1_STABLE
>Organization:
pocketservices
>Environment:
System: NetBSD athene.pocketservices.de 6.1_STABLE NetBSD 6.1_STABLE 
(XEN3PAE_DOM0) #2: Sun Jun 23 10:11:57 CEST 2013 
bjjl%athene.pocketservices.de@localhost:/usr/obj/sys/arch/i386/compile/XEN3PAE_DOM0
 i386
Architecture: i386
Machine: i386
>Description:
On my machine with python2.7 and python3.3 installed, I find following smtpd 
modules:

-rwxr-xr-x  1 root  wheel  18545 Feb 15 00:17 python2.7/smtpd2.7.py
-rwxr-xr-x  1 root  wheel  30197 Jan  6 21:32 python3.3/smtpd.py

Python2.7 code therefore cannot import smtpd. Please advise. An error in the
installation script?

>How-To-Repeat:

bjjl@athene:~$ python2.7
Python 2.7.6 (default, Feb 15 2014, 00:15:08) 
[GCC 4.5.3] on netbsd6
Type "help", "copyright", "credits" or "license" for more information.
>>> import smtpd
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named smtpd

>Fix:



Home | Main Index | Thread Index | Old Index