Issue1085

classification
Title: missing errno module in distribution
Type: Severity: urgent
Components: Installer, Library Versions: 2.2a0, 2.2.1rc1, 2.2beta1, 2.2.2, 2.2beta2, 2.2rc1, 2.2rc2, 2.2rc3, 2.5alpha1
Milestone:
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: bonk, fwierzbicki, zyasoft
Priority: Keywords:

Created on 2008-07-29.17:53:20 by bonk, last changed 2008-09-13.20:27:19 by zyasoft.

Files
File name Uploaded Description Edit Remove
unnamed bonk, 2008-07-31.17:18:15
unnamed bonk, 2008-08-01.20:39:08
Messages
msg3364 (view) Author: (bonk) Date: 2008-07-29.17:53:19
Import error when importing any module that imports 'errno'.  For
example, 'import select'.  This, of course, impacts any script or module
that imports select (such as telnetlib).
msg3373 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2008-07-31.16:08:37
bonk: could you provide more information about your environment/version
of Jython, etc?  I am using Jython 2.2.1 on OS X - and "import errno"
works fine for me.
msg3374 (view) Author: (bonk) Date: 2008-07-31.17:18:16
Hmmmmm........

I downloaded every version available from Sourceforge and none of them
contained errno.py, as far as I could tell.

The start of the problem was trying to import telnetlib.py within a
STAF/STAX project.  That complains because of missing select.py.  It was
pointed out to me that is a known issue with the version of Jython that STAX
uses:

http://osdir.com/ml/lang.jython.user/2003-02/msg00025.html
http://aspn.activestate.com/ASPN/Mail/Message/Jython-dev/1887441

Eventually, I located select.py in a later version of Jython.  However, when
I attempted to use that, then import failed again due to lack of errno.py.

Thanks for your response.

- David

On Thu, Jul 31, 2008 at 9:08 AM, Frank Wierzbicki <report@bugs.jython.org>wrote:

>
> Frank Wierzbicki <fwierzbicki@users.sourceforge.net> added the comment:
>
> bonk: could you provide more information about your environment/version
> of Jython, etc?  I am using Jython 2.2.1 on OS X - and "import errno"
> works fine for me.
>
> _______________________________________
> Jython tracker <report@bugs.jython.org>
> <http://bugs.jython.org/issue1085>
> _______________________________________
>
msg3385 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2008-08-01.18:38:50
You won't find an errno.py since in Jython it is implemented in Java
(see src/org/python/modules/errno.java.  How are you installing Jython?
 I have a local version of 2.5a1 that I installed with the installer,
and it imports errno jsut fine...
msg3387 (view) Author: (bonk) Date: 2008-08-01.20:39:09
Jython gets installed by the STAF installer (
http://staf.sourceforge.net/index.php).  I believe that it uses Jython v2.1.

On Fri, Aug 1, 2008 at 11:38 AM, Frank Wierzbicki <report@bugs.jython.org>wrote:

>
> Frank Wierzbicki <fwierzbicki@users.sourceforge.net> added the comment:
>
> You won't find an errno.py since in Jython it is implemented in Java
> (see src/org/python/modules/errno.java.  How are you installing Jython?
>  I have a local version of 2.5a1 that I installed with the installer,
> and it imports errno jsut fine...
>
> _______________________________________
> Jython tracker <report@bugs.jython.org>
> <http://bugs.jython.org/issue1085>
> _______________________________________
>
msg3535 (view) Author: Jim Baker (zyasoft) Date: 2008-09-13.20:27:19
Works for 2.2, 2.5. We will not be fixing 2.1.
History
Date User Action Args
2008-09-13 20:27:19zyasoftsetstatus: open -> closed
nosy: + zyasoft
resolution: works for me
messages: + msg3535
2008-08-01 20:39:09bonksetfiles: + unnamed
messages: + msg3387
2008-08-01 18:38:51fwierzbickisetmessages: + msg3385
2008-07-31 17:18:16bonksetfiles: + unnamed
messages: + msg3374
2008-07-31 16:08:37fwierzbickisetmessages: + msg3373
2008-07-31 16:07:43fwierzbickisetnosy: + fwierzbicki
2008-07-29 17:53:20bonkcreate