-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.13.0 Release exits with missing module import error #59
Comments
Submitted by calvin Logged In: YES The file "Config.py" is from a previous release. If you I think this will help in your case:
I will put a note into the installation documentation about And if you're using Debian you could also use apt pinning to |
Submitted by edentz Logged In: YES Oops. I would have grabbed the offical .deb, but it hadn't quite And a check inside /usr/lib/python2.3/site-packages/ reveals that the So I completely removed the RPM using rpm --erase and then manually Since this error seems to be coming from Python packages and not Thanks for the great program and the quick responses. Eirik |
Submitted by calvin Logged In: YES I released fixed RPM packages (1.13.0-2) which include the |
Converted from SourceForge issue 1020819, submitted by edentz
Thanks for the response to my previous bug reports. I was going to
test out the changes but I ran into another bug. I tested on both
Redhat 7.3 and Debian Testing using both the source RPM and by
building the deb (which had its own set of errors that I had to work
around). I also tried using the python setup.py script on both
distros as well. But I consistently got the error message below:
This is the command line I used:
linkchecker --recursion-level=2 --intern='!^mailto:' --extern-strict-
all www.lisc.org
This is the resulting error message:
Traceback (most recent call last):
File "/usr/bin/linkchecker", line 37, in ?
import linkcheck
File "/usr/lib/python2.3/site-packages/linkcheck/init.py", line
63, in ?
import linkcheck.logger.text
File "/usr/lib/python2.3/site-packages/linkcheck/logger/text.py",
line 27, in ?
import linkcheck.configuration
File "/usr/lib/python2.3/site-packages/linkcheck/
configuration.py", line 29, in ?
import linkcheck.log
File "/usr/lib/python2.3/site-packages/linkcheck/log/init.py",
line 49, in ?
from StandardLogger import StandardLogger
File "/usr/lib/python2.3/site-packages/linkcheck/log/
StandardLogger.py", line 19, in ?
from linkcheck import Config, i18n
File "/usr/lib/python2.3/site-packages/linkcheck/Config.py", line
21, in ?
from linkcheck import getLinkPat
ImportError: cannot import name getLinkPat
I took a poke through the source code of the previous release and
noticed that the getLinkPat function in the init.py file changed
to get_link_pat, which is what would seem to be causing the error.
The text was updated successfully, but these errors were encountered: