[Python-Dev] Import Fails in setup.py On Android (original) (raw)
Cyd Haselton chaselton at gmail.com
Mon Feb 2 22:24:41 CET 2015
- Previous message: [Python-Dev] Import Fails in setup.py On Android
- Next message: [Python-Dev] Import Fails in setup.py On Android
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
No traceback unfortunately...the fakechroot in the environment throws the error and setup.py fails.
I'll roll back that change...any idea where I could find info about the original method?
On February 2, 2015 3:17:54 PM CST, Ryan Gonzalez <rymg19 at gmail.com> wrote:
In reality, things just got broken even more. I don't know when that patch was created, but it's now very out of date: importlib.bootstrap has no load function. That's what the error you're getting is telling you. Since it isn't getting to load anything, the issue seems "solved". Not really.
What's the full traceback for the undefined reference exception? On Mon, Feb 2, 2015 at 2:04 PM, Cyd Haselton <chaselton at gmail.com> wrote:
Update: While waiting for replies I made the change referenced here: https://bugs.python.org/review/5309/diff2/12811:12826/setup.py?context=3&columnwidth=80
specifically changing importlib. bootstrap.SpecMethods(spec).load() to importlib.bootstrap.load(spec) I no longer get a terminating 'undefined reference to dlopen' error, but I do get 'importing extensions failed' errors for each extension...like this: *** WARNING: importing extension "pickle" failed with <class_ _'AttributeError'>: 'module' object has no attribute 'load'
On February 2, 2015 1:36:29 PM CST, Cyd Haselton <chaselton at gmail.com> wrote: After fixing a segfault issue (many thanks Ryan) I'm back to the same issue I was having with Python 2.7.8; the newly built python throws an undefined reference to dlopen when running setup.py...specifically when importing just-built extensions I've managed to narrow the problem down to the following line: importlib.bootstrap.SpecMethods(spec).load() Googling this brings up a few hits from bugs.python.org and not much else. I'm new to Python; any ideas what this does...or where I can read up on it for troubleshooting purposes?
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/rymg19%40gmail.com
-- Ryan If anybody ever asks me why I prefer C++ to C, my answer will be simple: "It's becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don't think that was nul-terminated." Personal reality distortion fields are immune to contradictory evidence. - srean Check out my website: http://kirbyfan64.github.io/
-- Sent from my Android device with K-9 Mail. Please excuse my brevity. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20150202/3b0aa664/attachment-0001.html>
- Previous message: [Python-Dev] Import Fails in setup.py On Android
- Next message: [Python-Dev] Import Fails in setup.py On Android
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]