[issue44759] ctype generates misleading error-msg opening lib.so when compiled for wrong arch

2021-07-28 Thread Stephan Bökelmann

Stephan Bökelmann  added the comment:

Fail. Didn't read your reply carefully enough. You wasn't asking for my info.

Thanks anyway

--
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44759] ctype generates misleading error-msg opening lib.so when compiled for wrong arch

2021-07-28 Thread Stephan Bökelmann

Stephan Bökelmann  added the comment:

my fault!

I am running Ubuntu 18 in WSL

>> uname -a
Linux  4.4.0-22000-Microsoft #1-Microsoft Fri Jun 04 16:28:00 PST 
2021 x86_64 x86_64 x86_64 GNU/Linux

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44759] ctype generates misleading error-msg opening lib.so when compiled for wrong arch

2021-07-28 Thread Eric V. Smith


Eric V. Smith  added the comment:

I don't think we get enough information from the operating system in order to 
generate the message that you'd like to see, unfortunately.

--
nosy: +eric.smith

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44759] ctype generates misleading error-msg opening lib.so when compiled for wrong arch

2021-07-28 Thread Stephan Bökelmann

New submission from Stephan Bökelmann :

When trying to open a lib.so that has been compiled for a different 
architecture an error-msg is emitted saying. "no such file or directory" 

this is misleading behavior. changing the error-msg to. "library not compatible 
with architecture" would have saved me an hour of work ;)

--
components: ctypes
messages: 398357
nosy: stephan.boekelmann
priority: normal
severity: normal
status: open
title: ctype generates misleading error-msg opening lib.so when compiled for 
wrong arch
type: enhancement
versions: Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com