Code Monkey home page Code Monkey logo

Comments (5)

kautsig avatar kautsig commented on August 26, 2024

Hi,
are you sure you configured the host, path, etc. correctly? You get an XMLSyntaxError, which means the result from the webservice call cannot be processed.

There is a debug line in the script, which allows you to dump the response to the console, just uncomment line 2 and 3 and re-execute.

# Debug code
# print data
# exit(0)

You should then see the xml returned by the webservice. If you see e.g html or similar, you're talking to the wrong endpoint.

In case this really is a dependency issue:
I merged #2 yesterday. The author claimed to have started with a clean virtualenv, so please check if requirements.txt does the trick for you.

from ews-orgmode.

novoid avatar novoid commented on August 26, 2024

I configured my settings in the config.cfg.

Before root = etree.fromstring(data) I get something in body but data is empty.

However, I have no clue, what I should put in path. So I took the default. Using an empty path leads to the same error. Maybe I need a config file with some more detailed example values?

from ews-orgmode.

kautsig avatar kautsig commented on August 26, 2024

Just check config.cfg.sample, for office 365 i used:

host=outlook.office365.com
path=/ews/Exchange.asmx

Turns out: when testing i saw the same stack trace you described, when an authentication error happens. In case you're using office356 you have to provide your email address as username (including the domain part).

from ews-orgmode.

kautsig avatar kautsig commented on August 26, 2024

Closed, because of missing feedback.

from ews-orgmode.

novoid avatar novoid commented on August 26, 2024

Sorry for the late feedback.

Error persists when changing username to: DOMAIN\\first.last or DOMAIN\\[email protected] or DOMAIN\\[email protected] or same without the DOMAIN.

We do have a bit of a chaos in our company. Sometimes usernames are first.last, sometimes f.last, sometimes with domain, sometimes without. Therefore, I have no clue what to use in the config file.

Never mind, I found a different library (exchangelib) which worked for me: https://github.com/novoid/exchange2org

from ews-orgmode.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.