Opened 16 years ago

Closed 15 years ago

#15410 closed defect (worksforme)

linkchecker does not work on Mac OS X 10.4.11 after installing

Reported by: macports@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: linkchecker

Description (last modified by mf2k (Frank Schima))

I just installed linkchecker on Mac OS X 10.4.11. The package pulled in python25 as a dependency. However, I see the following error when I try to execute linkchecker:

Dragon:~ mike$ linkchecker 
Traceback (most recent call last):
  File "/opt/local/bin/linkchecker", line 37, in <module>
    import linkcheck.checker
  File "/opt/local/lib/python2.5/site-packages/linkcheck/checker/__init__.py", line 31, in <module>
    import linkcheck.checker.fileurl
  File "/opt/local/lib/python2.5/site-packages/linkcheck/checker/fileurl.py", line 26, in <module>
    import urllib2
  File "/opt/local/lib/python2.5/urllib2.py", line 91, in <module>
    import hashlib
  File "/opt/local/lib/python2.5/hashlib.py", line 133, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/opt/local/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5

Change History (5)

comment:1 Changed 16 years ago by raimue (Rainer Müller)

Owner: changed from macports-tickets@… to mww@…

It is missing a dependency on py25-hashlib.

Workaround:

sudo port install py25-hashlib

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 in reply to:  description Changed 15 years ago by peter.deweese@…

This is still an issue today. MacOSX 10.5.8, 10.6. That dependency should be added.

comment:4 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: linkchecker added

I do not see this problem on Mac OS X 10.6. I do not have py25-hashlib or py26-hashlib installed. But I am able to run linkchecker with no problems.

comment:5 Changed 15 years ago by blb@…

Resolution: worksforme
Status: newclosed

py25-hashlib is just a stub these days, it is built as part of python25 (see ticket #12369); make sure your python25 is 2.5.4_7.

Note: See TracTickets for help on using tickets.