Skip to content

owafetch.py exits with Exception urllib2.HTTPError: HTTP Error 401: Unauthorized #3

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Installed Python 2.6 for windows
2. Copied my fetchexc.properties file
3. ran python owafetch.py -l fetchexec.properties

What is the expected output? What do you see instead?
I expected a listing of my unread mail

This is what I got:
C:\owfetch>c:\Python26\python.exe owafetch.py -l fetchexec.properties
Traceback (most recent call last):
  File "owafetch.py", line 240, in <module>
    owa.doFBA( fullUserName, password, exchangepath, fbapath)
  File "C:\owfetch\owalib.py", line 191, in doFBA
    owa = urllib2.urlopen(owareq)
  File "c:\Python26\lib\urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "c:\Python26\lib\urllib2.py", line 397, in open
    response = meth(req, response)
  File "c:\Python26\lib\urllib2.py", line 510, in http_response
    'http', request, response, code, msg, hdrs)
  File "c:\Python26\lib\urllib2.py", line 435, in error
    return self._call_chain(*args)
  File "c:\Python26\lib\urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "c:\Python26\lib\urllib2.py", line 518, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 401: Unauthorized

What version of the product are you using? On what operating system?
0.2 on Windows

Please provide any additional information below.
fetchexc works with the same properties

Original issue reported on code.google.com by nathan.s...@gmail.com on 21 Sep 2010 at 2:55

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions