Skip to content
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

Errno 13 Permission denied #166

Closed
wummel opened this issue Dec 21, 2012 · 1 comment
Closed

Errno 13 Permission denied #166

wummel opened this issue Dec 21, 2012 · 1 comment

Comments

@wummel
Copy link
Owner

wummel commented Dec 21, 2012

Converted from SourceForge issue 1600172, submitted by nobody

I believe I successfully installed linkchecker 4.5 over the existing version 4.1 but there are configuration issues (I think). unfortunately I did not install the original version 4.1 and have no installation notes or config details from the original installation so I simply installed as per the documentation without using the 'make clean' or 'altinstall' options assuming this would inherit existing configuration and permissions.

hope you can help,
here is my contact information:

mailto:[email protected]

this is the logfile after running linkchecker with --debug=all option:

Start checking at 2006-11-21 12:03:02+009

That's it. 0 links checked. 0 warnings found. 0 errors found.
Stopped checking at 2006-11-21 12:03:02+009 (0.00 seconds)
n: 'checking'
DEBUG No option 'debug' in section: 'checking'
DEBUG No option 'recursionlevel' in section: 'checking'
DEBUG No option 'warningregex' in section: 'checking'
DEBUG No option 'warnsizebytes' in section: 'checking'
DEBUG No option 'nntpserver' in section: 'checking'
DEBUG No option 'anchorcaching' in section: 'checking'
DEBUG No option 'noproxyfor' in section: 'checking'
DEBUG No option 'noproxyfor1' in section: 'checking'
DEBUG No option 'maxqueuesize' in section: 'checking'
DEBUG No section: 'authentication'
DEBUG No section: 'authentication'
DEBUG No option 'nofollow' in section: 'filtering'
DEBUG No option 'nofollow1' in section: 'filtering'
DEBUG No option 'ignorewarnings' in section: 'filtering'
DEBUG No option 'ignore' in section: 'filtering'
DEBUG No option 'ignore1' in section: 'filtering'
DEBUG No option 'internlinks' in section: 'filtering'
WARNING Running as root, dropping to nobody.
DEBUG configuration: [('ignorewarnings', []),
('verbose', False),
('text',
{'colorbase': 'default',
'colordlsize': 'default',
'colordltime': 'default',
'colorinfo': 'default',
'colorinvalid': 'default',
'colorname': 'default',
'colorparent': 'default',
'colorreal': 'default',
'colorreset': 'default',
'colorurl': 'default',
'colorvalid': 'default',
'colorwarning': 'default',
'filename': 'linkchecker-out.txt'}),
('recursionlevel', -1),
('fileoutput', ['HtmlLogger']),
('warningregex', None),
('xml', {'filename': 'linkchecker-out.xml'}),
('timeout', 60),
('gml', {'filename': 'linkchecker-out.gml'}),
('warnsizebytes', None),
('authentication', []),
('html',
{'colorbackground': '#fff7e5',
'colorborder': '#000000',
'colorerror': '#db4930',
'colorlink': '#191c83',
'colorok': '#3ba557',
'colorurl': '#dcd5cf',
'colorwarning': '#e0954e',
'filename': 'lc4-5.html'}),
('maxqueuesize', 0),
('logger', 'TextLogger'),
('csv',
{'quotechar': '"', 'separator': ',', 'filename': 'linkchecker-out.csv'}),
('noproxyfor', []),
('status', True),
('anchors', False),
('trace', False),
('warnings', False),
('nntpserver', None),
('storecookies', False),
('blacklist', {'filename': '~/.linkchecker/blacklist'}),
('threads', 10),
('proxy', {}),
('sql',
{'separator': ';', 'dbname': 'linksdb', 'filename': 'linkchecker-out.sql'}),
('wait', 0),
('none', {}),
('externlinks', []),
('sendcookies', False),
('quiet', False),
('internlinks', []),
('gxml', {'filename': 'linkchecker-out.gxml'}),
('debug', True),
('anchorcaching', True),
('dot', {'encoding': 'ascii', 'filename': 'linkchecker-out.dot'}),
('interactive', False)]
DEBUG checking syntax
DEBUG Content cache key u'http://lib-nix-l07.library.uwa.edu.au/lc4-5.html'
DEBUG URL cache key u'http://lib-nix-l07.library.uwa.edu.au/lc4-5.html'
DEBUG Add intern pattern u'https?://lib-nix-l07.library.uwa.edu.au'
DEBUG Link pattern u'https?://lib-nix-l07.library.uwa.edu.au'
DEBUG queueing http link
base_url=u'http://lib-nix-l07.library.uwa.edu.au/lc4-5.html'
parent_url=None
base_ref=None
recursion_level=0
url_connection=None
line=0
column=0
name=u''

********** Oops, I did it again. *************

You have found an internal error in LinkChecker. Please write a bug report
at http://sourceforge.net/tracker/?func=add&group_id=1913&atid=101913
or send mail to [email protected] and include the following information:

  • the URL or file you are testing
  • your commandline arguments and/or configuration.
  • the output of a debug run with option "-Dall" of the executed command
  • the system information below.

Disclosing some of the information above due to privacy reasons is ok.
I will try to help you nonetheless, but you have to give me something
I can work with ;) .

exceptions.IOError [Errno 13] Permission denied: 'lc4-5.html'
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/linkcheck/director/init.py", line 38, in check_urls
aggregate.logger.start_log_output()
File "/usr/local/lib/python2.4/site-packages/linkcheck/director/logger.py", line 41, in start_log_output
logger.start_output()
File "/usr/local/lib/python2.4/site-packages/linkcheck/logger/html.py", line 94, in start_output
self.write(HTML_HEADER % (linkcheck.configuration.App,
File "/usr/local/lib/python2.4/site-packages/linkcheck/logger/init.py", line 167, in write
self.start_fileoutput()
File "/usr/local/lib/python2.4/site-packages/linkcheck/logger/init.py", line 94, in start_fileoutput
self.fd = file(self.filename, "wb")
IOError: [Errno 13] Permission denied: 'lc4-5.html'
System info:
LinkChecker 4.5
Python 2.4.3 (#1, Jun 15 2006, 12:23:48) [C] on sunos5
LC_MESSAGES = 'C'

******** LinkChecker internal error, over and out ********
Traceback (most recent call last):
File "/usr/local/bin/linkchecker", line 755, in ?
linkcheck.director.check_urls(aggregate)
File "/usr/local/lib/python2.4/site-packages/linkcheck/director/init.py", line 53, in check_urls
abort(aggregate)
File "/usr/local/lib/python2.4/site-packages/linkcheck/director/init.py", line 106, in abort
aggregate.logger.end_log_output()
File "/usr/local/lib/python2.4/site-packages/linkcheck/director/logger.py", line 48, in end_log_output
logger.end_output()
File "/usr/local/lib/python2.4/site-packages/linkcheck/logger/html.py", line 280, in end_output
self.writeln()
File "/usr/local/lib/python2.4/site-packages/linkcheck/logger/init.py", line 176, in writeln
self.write(s)
File "/usr/local/lib/python2.4/site-packages/linkcheck/logger/init.py", line 167, in write
self.start_fileoutput()
File "/usr/local/lib/python2.4/site-packages/linkcheck/logger/init.py", line 94, in start_fileoutput
self.fd = file(self.filename, "wb")
IOError: [Errno 13] Permission denied: 'lc4-5.html'

@wummel
Copy link
Owner Author

wummel commented Dec 21, 2012

Submitted by calvin

Logged In: YES
user_id=9205
Originator: NO

This is fixed in the subversion repository and will be in the next release.

Files:
linkcheck/logger/init.py, rev. 3518

@wummel wummel closed this as completed Dec 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant