On Fri, Feb 11, 2005, Matthias Kurz wrote:
>
> > .. or perhaps this
>
> Ok, sorry, but remains the question what this actually fixes?
> Because for me the python package builds just fine...
I just tried to reproduce the problem and had problems. So, once again,
slowly.
- I try to run linkchecker
- To build linkchecker i have to remove "-std=gnu99"
- Then linkchecker builds, but does not run
Traceback (most recent call last):
File "/opkg/bin/linkchecker", line 37, in ?
linkcheck.init_i18n()
File "/opkg/lib/python/site-packages/linkcheck/__init__.py", line 121, in
init_i18n
linkcheck.i18n.init(configdata.name, locdir)
File "/opkg/lib/python/site-packages/linkcheck/i18n.py", line 76, in init
for lang in os.listdir(directory):
OSError: [Errno 2] No such file or directory: '/opkg/share/locale'
- I create the directory /opkg/share/locale and run it again
- Now linkchecker bombs out with:
Traceback (most recent call last):
File "/opkg/bin/linkchecker", line 419, in ?
config.init_logging(debug=options.debug)
File "/opkg/lib/python/site-packages/linkcheck/configuration.py", line 156,
in init_logging
logging.config.fileConfig(filename)
File "/projects/tmp/opkg/python-2.4-root/opkg/lib/python/logging/config.py",
line 70, in fileConfig
File "/opkg/lib/python/ConfigParser.py", line 511, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'formatters'
- Here you can see the path
/projects/tmp/opkg/python-2.4-root/opkg/lib/python/logging/config.py
- Then i recompile Python with my patch and rebuild linkchecker
- Now linkchecker bombs out with:
Traceback (most recent call last):
File "/opkg/bin/linkchecker", line 419, in ?
config.init_logging(debug=options.debug)
File "/opkg/lib/python/site-packages/linkcheck/configuration.py", line 156,
in init_logging
logging.config.fileConfig(filename)
File "/opkg/lib/python/logging/config.py", line 70, in fileConfig
flist = cp.get("formatters", "keys")
File "/opkg/lib/python/ConfigParser.py", line 511, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'formatters'
- You can see, that the path mentioned earlier looks now
/opkg/lib/python/site-packages/linkcheck/configuration.py
- Now, i do a "ln -s /opkg/etc/linkchecker /opkg/share/linkchecker"
- And linkchecker runs:
WARNING no files or urls given
LinkChecker 2.4 Copyright � 2000-2005 Bastian Kleineidam
LinkChecker comes with ABSOLUTELY NO WARRANTY!
This is free software, and you are welcome to redistribute it
under certain conditions. Look at the file `LICENSE' within this
distribution.
Get the newest version at http://linkchecker.sourceforge.net/
Write comments and bugs to [EMAIL PROTECTED]
Start checking at 2005-02-12 10:16:25+002
That's it. 0 links checked. 0 errors found.
Stopped checking at 2005-02-12 10:16:25+002 ( 0.027 seconds)
- Well, it also runs with parameters.
(mk)
PS: I do not get any mail from any OpenPKG list. Is this only my problem ?
When i resubscribed yesterday, i received dozens of petidomo mails.
Test mails from other accounts also arrive.
--
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
>> Im pr�motorischen Cortex kann jeder ein Held sein. (bdw) <<
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [email protected]