linkedin / linkedin/pyexchange

Issue with parsing Exchange server details

Open
#76 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
154
Forks
91
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am using pyexchange 0.6(latest as of now).
I am running my python script in Linux.
I am trying to connect to Outlook Exchange Server using this module.

I am getting an error which says,

python3.5/site-packages/pyexchange-0.6-py3.5.egg/pyexchange/base/soap.py", line 42, in _parse
raise FailedExchangeException(u"Unable to parse response from Exchange - check your login information. Error: %s" % err)
pyexchange.exceptions.FailedExchangeException: Unable to parse response from Exchange - check your login information. **Error: Double hyphen within comment:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at pyexchange/base/soap.py, line 42, in _parse, and compare the Exchange response received on Linux with the one received on Windows. Check how the lxml parser handles the reported conditional-comment error and determine what change is needed so the Linux script can parse the response successfully without the exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.