Re: python2.6 appears to be missing _md5 module?
On Thu, Dec 20, 2012 at 12:27 PM, Paul Fredrickson SNIP wrote: On Thu, Dec 20, 2012 at 1:48 AM, marco atzeri SNIP wrote: On 12/20/2012 9:33 AM, Paul Fredrickson wrote: So, it appears there is a package dependency between python2.6 and libopenssl098 that is missing, but most people who need it get it installed via some other package-dependency path. Very minor bug; the setup.ini correctly reports requires: crypt libbz2_1 libdb4.5 libexpat1 libffi4 libgcc1 libgdbm4 libintl8 libncursesw10 libreadline7 libsqlite3_0 libopenssl098 zlib0 so it was a missing file on your side. Marco Oh, weird Because my setup.ini does NOT show that. My setup.ini (which I got from http://mirrors.163.com) shows libopenssl100 as the requirement for all three python versions: @ python sdesc: Python language interpreter ldesc: Python is an interpreted, interactive object-oriented programming language suitable (amongst other uses) for distributed application development, scripting, numeric computing and system testing. Python is often compared to Tcl, Perl, Java, JavaScript, Visual Basic or Scheme. category: Python Interpreters requires: crypt libbz2_1 libdb4.5 libexpat1 libffi4 libgcc1 libgdbm4 libintl8 libncursesw10 libreadline7 libsqlite3_0 libopenssl100 zlib0 _autorebase cygwin version: 2.6.8-2 install: release/python/python-2.6.8-2.tar.bz2 5266672 8488ddad64e096482ceed04efaa52e6a source: release/python/python-2.6.8-2-src.tar.bz2 15161422 f9490fd1372964823818ad307e201acc [prev] version: 2.6.7-1 install: release/python/python-2.6.7-1.tar.bz2 5267785 4b1b22f5e2fd9412188a6f4cbb0b6bc2 source: release/python/python-2.6.7-1-src.tar.bz2 15116930 88941f095cda5d8fa4f0f9cb8d86c5b1 [test] version: 2.7.3-1 install: release/python/python-2.7.3-1.tar.bz2 5643131 5475c0161167a27c6b71747beb1e17ce source: release/python/python-2.7.3-1-src.tar.bz2 16232663 8795dce967fc31de8e76d6fea046183d It looks like some mirrors are a little behind. It was updated to use libopenssl100 a bit back but then when they found that 2.6 broke without libopenssl098 the author added that back in as a dependency. At this time the setup.ini has both for python. Version at mirrors.kernel.org @ python sdesc: Python language interpreter ldesc: Python is an interpreted, interactive object-oriented programming language suitable (amongst other uses) for distributed application development, scripting, numeric computing and system testing. Python is often compared to Tcl, Perl, Java, JavaScript, Visual Basic or Scheme. category: Python Interpreters requires: crypt libbz2_1 libdb4.5 libexpat1 libffi4 libgcc1 libgdbm4 libintl8 libncursesw10 libreadline7 libsqlite3_0 libopenssl098 libopenssl100 zlib0 _autorebase cygwin version: 2.6.8-2 install: release/python/python-2.6.8-2.tar.bz2 5266672 8488ddad64e096482ceed04efaa52e6a source: release/python/python-2.6.8-2-src.tar.bz2 15161422 f9490fd1372964823818ad307e201acc [prev] version: 2.6.7-1 install: release/python/python-2.6.7-1.tar.bz2 5267785 4b1b22f5e2fd9412188a6f4cbb0b6bc2 source: release/python/python-2.6.7-1-src.tar.bz2 15116930 88941f095cda5d8fa4f0f9cb8d86c5b1 [test] version: 2.7.3-1 install: release/python/python-2.7.3-1.tar.bz2 5643131 5475c0161167a27c6b71747beb1e17ce source: release/python/python-2.7.3-1-src.tar.bz2 16232663 8795dce967fc31de8e76d6fea046183d Robert Pendell A perfect world is one of chaos. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: python2.6 appears to be missing _md5 module?
On Wed, Dec 19, 2012 at 8:24 PM, David Boyce d...@boyski.com wrote: http://lmgtfy.com/?q=python+_md5 http://stackoverflow.com/questions/10306531/python-importerror-no-module-named-md5 Well, it certainly isn't obvious to me how this applied to my situation: It only talks about building python, and I did not compile the cygwin version of python. In addition, I already had libopenssl100 (1.0.1c-2) installed (which you can see in the cygcheck.out I sent). However, it turns out to be very close to what is actually wrong for me. Thinking that I *would* have to compile the python project to find out what was going wrong, I began installing a bunch of new packages (gcc, gdb, git, etc). Somewhere along the line I checked again and noticed that the md5 module was working! Figuring you guys would like to know exactly which package it was that fixed things for me, I diff'ed my new cygcheck output with my original, and uninstalled the new ones one-by-one until it broke again. The offending package is libopenssl098 (0.9.8x-1) (compat). And indeed with only that package added, mercurial works just fine now. (Yay) So, it appears there is a package dependency between python2.6 and libopenssl098 that is missing, but most people who need it get it installed via some other package-dependency path. Very minor bug; should I file a bug report somewhere? Or will someone here take it from here? Thanks, --Paul -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: python2.6 appears to be missing _md5 module?
On 12/20/2012 9:33 AM, Paul Fredrickson wrote: On Wed, Dec 19, 2012 at 8:24 PM, David Boyce d...@boyski.com wrote: http://lmgtfy.com/?q=python+_md5 http://stackoverflow.com/questions/10306531/python-importerror-no-module-named-md5 Well, it certainly isn't obvious to me how this applied to my situation: It only talks about building python, and I did not compile the cygwin version of python. In addition, I already had libopenssl100 (1.0.1c-2) installed (which you can see in the cygcheck.out I sent). However, it turns out to be very close to what is actually wrong for me. Thinking that I *would* have to compile the python project to find out what was going wrong, I began installing a bunch of new packages (gcc, gdb, git, etc). Somewhere along the line I checked again and noticed that the md5 module was working! Figuring you guys would like to know exactly which package it was that fixed things for me, I diff'ed my new cygcheck output with my original, and uninstalled the new ones one-by-one until it broke again. The offending package is libopenssl098 (0.9.8x-1) (compat). And indeed with only that package added, mercurial works just fine now. (Yay) So, it appears there is a package dependency between python2.6 and libopenssl098 that is missing, but most people who need it get it installed via some other package-dependency path. Very minor bug; should I file a bug report somewhere? Or will someone here take it from here? Thanks, the setup.ini correctly reports requires: crypt libbz2_1 libdb4.5 libexpat1 libffi4 libgcc1 libgdbm4 libintl8 libncursesw10 libreadline7 libsqlite3_0 libopenssl098 zlib0 so it was a missing file on your side. Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
RE: python2.6 appears to be missing _md5 module?
marco atzeri wrote: On 12/20/2012 9:33 AM, Paul Fredrickson wrote: So, it appears there is a package dependency between python2.6 and libopenssl098 that is missing, but most people who need it get it installed via some other package-dependency path. Very minor bug; should I file a bug report somewhere? Or will someone here take it from here? the setup.ini correctly reports requires: crypt libbz2_1 libdb4.5 libexpat1 libffi4 libgcc1 libgdbm4 libintl8 libncursesw10 libreadline7 libsqlite3_0 libopenssl098 zlib0 so it was a missing file on your side. Unless I'm misreading it (entirely possible; I don't regularly look), the cygcheck.out output doesn't list any missing files or packages; it just doesn't seem to have libopenssl098 in it. Which would imply either Paul overrode the automatic dependency installer, or setup.exe failed to install correctly. It'd be useful for cases like this to have cygcheck look for and report missing dependencies. Although I suspect that may be a case of SHTDI. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: python2.6 appears to be missing _md5 module?
On Thu, Dec 20, 2012 at 12:33 AM, Paul Fredrickson paul.fredrick...@gmail.com wrote: On Wed, Dec 19, 2012 at 8:24 PM, David Boyce d...@boyski.com wrote: http://lmgtfy.com/?q=python+_md5 http://stackoverflow.com/questions/10306531/python-importerror-no-module-named-md5 Well, it certainly isn't obvious to me how this applied to my situation: It only talks about building python, and I did not compile the cygwin version of python. In addition, I already had libopenssl100 (1.0.1c-2) installed (which you can see in the cygcheck.out I sent). Sorry, I didn't mean to sound snippy, I just find lmgtfy.com enjoyable. The point was that I ran into the no module named _md5 problem not long ago and followed this same path. I was trying to point you to the fact that the underlying problem was with libopenssl, and it looks like the right thing ended up happening. David -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
python2.6 appears to be missing _md5 module?
Hi cygwin developers, Today I went to install the mercurial package, which depended on python. It installed version 2.6.8-2 of python, but when I tried to run hg clone it failed with a message abort: no module named _md5!. And indeed, if I simply started up python and tried things like import md5, from hashlib import md5 or import _md5 they all fail with the same import error No module named _md5. If I install python 2.7.3-1, then the md5 issue goes away. That is, I can import md5 in any of the ways I mention above (well, except as import _md5, but import md5; m = md5.md5(); m.update('a'); m.hexdigest() is functional.) However, mercurial still fails. It appears to have hard-coded references to the python2.6 versions. (In /usr/bin/hg, it sets libdir to ../lib/python2.6/site-packages), and when I run hg clone http://hg.python.org/cpython; it fails with: Fatal Python error: Interpreter not initialized (version mismatch?) Aborted (core dumped) Also, cygwin's setup now recommends that I upgrade my 2.7 back to 2.6, which works, but just returns me to the problem of a missing _md5. (It does have a hashlib.py and md5.py, but no _md5.*) Anything else I can try or report? I am on a Win7-64bit system, using cygwin DLL version 1.7.17-1. Thanks for any help! --Paul -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: python2.6 appears to be missing _md5 module?
On 12/19/2012 4:56 PM, Paul Fredrickson wrote: Hi cygwin developers, Today I went to install the mercurial package, which depended on python. It installed version 2.6.8-2 of python, but when I tried to run hg clone it failed with a message abort: no module named _md5!. And indeed, if I simply started up python and tried things like import md5, from hashlib import md5 or import _md5 they all fail with the same import error No module named _md5. If I install python 2.7.3-1, then the md5 issue goes away. That is, I can import md5 in any of the ways I mention above (well, except as import _md5, but import md5; m = md5.md5(); m.update('a'); m.hexdigest() is functional.) However, mercurial still fails. It appears to have hard-coded references to the python2.6 versions. (In /usr/bin/hg, it sets libdir to ../lib/python2.6/site-packages), and when I run hg clone http://hg.python.org/cpython; it fails with: Fatal Python error: Interpreter not initialized (version mismatch?) Aborted (core dumped) Also, cygwin's setup now recommends that I upgrade my 2.7 back to 2.6, which works, but just returns me to the problem of a missing _md5. (It does have a hashlib.py and md5.py, but no _md5.*) I don't have any insight into the python problems you're seeing but I can explain why setup.exe asks you to upgrade to 2.6 when you're at 2.7. 2.7 is, apparently, an experimental package. While setup.exe allows you to install this, when it does dependency checking, experimental versions are considered inferior to normal versions. So despite the fact that the version number for python is greater in the experimental package, you'll always be asked to upgrade to the normal released version. Like it or not (and of course you love it ;-) ), this is expected behavior for setup.exe. -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: python2.6 appears to be missing _md5 module?
On 12/19/2012 4:56 PM, Paul Fredrickson wrote: Hi cygwin developers, Today I went to install the mercurial package, which depended on python. It installed version 2.6.8-2 of python, but when I tried to run hg clone it failed with a message abort: no module named _md5!. And indeed, if I simply started up python and tried things like import md5, from hashlib import md5 or import _md5 they all fail with the same import error No module named _md5. It works for me: $ cygcheck -cd python Cygwin Package Information Package Version python 2.6.8-2 $ hg clone http://hg.python.org/cpython destination directory: cpython requesting all changes adding changesets adding manifests adding file changes added 80956 changesets with 179191 changes to 9812 files (+1 heads) updating to branch default 3744 files updated, 0 files merged, 0 files removed, 0 files unresolved Maybe you should send cygcheck output as requested here: http://cygwin.com/problems.html Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: python2.6 appears to be missing _md5 module?
On Wed, Dec 19, 2012 at 5:02 PM, Ken Brown kbr...@cornell.edu wrote: On 12/19/2012 4:56 PM, Paul Fredrickson wrote: Hi cygwin developers, Today I went to install the mercurial package, which depended on python. It installed version 2.6.8-2 of python, but when I tried to run hg clone it failed with a message abort: no module named _md5!. And indeed, if I simply started up python and tried things like import md5, from hashlib import md5 or import _md5 they all fail with the same import error No module named _md5. It works for me: Maybe you should send cygcheck output as requested here: http://cygwin.com/problems.html Ken Sure thing. (attached) --Paul cygcheck.out Description: Binary data -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: python2.6 appears to be missing _md5 module?
On 12/19/2012 8:08 PM, Paul Fredrickson wrote: On Wed, Dec 19, 2012 at 5:02 PM, Ken Brown kbr...@cornell.edu wrote: On 12/19/2012 4:56 PM, Paul Fredrickson wrote: Hi cygwin developers, Today I went to install the mercurial package, which depended on python. It installed version 2.6.8-2 of python, but when I tried to run hg clone it failed with a message abort: no module named _md5!. And indeed, if I simply started up python and tried things like import md5, from hashlib import md5 or import _md5 they all fail with the same import error No module named _md5. It works for me: Maybe you should send cygcheck output as requested here: http://cygwin.com/problems.html Ken Sure thing. (attached) Nothing jumps out at me. Maybe someone else will see something or have an idea what could cause the error message you're getting. Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: python2.6 appears to be missing _md5 module?
http://lmgtfy.com/?q=python+_md5 http://stackoverflow.com/questions/10306531/python-importerror-no-module-named-md5 On Wed, Dec 19, 2012 at 7:45 PM, Ken Brown kbr...@cornell.edu wrote: On 12/19/2012 8:08 PM, Paul Fredrickson wrote: On Wed, Dec 19, 2012 at 5:02 PM, Ken Brown kbr...@cornell.edu wrote: On 12/19/2012 4:56 PM, Paul Fredrickson wrote: Hi cygwin developers, Today I went to install the mercurial package, which depended on python. It installed version 2.6.8-2 of python, but when I tried to run hg clone it failed with a message abort: no module named _md5!. And indeed, if I simply started up python and tried things like import md5, from hashlib import md5 or import _md5 they all fail with the same import error No module named _md5. It works for me: Maybe you should send cygcheck output as requested here: http://cygwin.com/problems.html Ken Sure thing. (attached) Nothing jumps out at me. Maybe someone else will see something or have an idea what could cause the error message you're getting. Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple