Giter Club home page Giter Club logo

Comments (10)

almenscorner avatar almenscorner commented on June 11, 2024 1

Hi @basziee

I have published a new beta, can you install the beta by running pip3 install -i https://test.pypi.org/simple/ IntuneCD-beta and then run the documentation with intunecdbeta-startdocumentation and let me know if it now works for you

from intunecd.

almenscorner avatar almenscorner commented on June 11, 2024

I managed to replicate your issue when running on a Windows host, the reason why it's failing is because your script contains a BOM character.

from intunecd.

basziee avatar basziee commented on June 11, 2024

I have the same problem because a VPP app has the character \u03df in the name

from intunecd.

almenscorner avatar almenscorner commented on June 11, 2024

Hi,

@basziee @Kaze-tenshu, what you can do to work around this and get the exports is to set a system variable in Windows PYTHONUTF8=1, this will force Python on Windows to use UTF8 and the export will work.

This is only a problem on Windows and not on macOS/Linux.

from intunecd.

basziee avatar basziee commented on June 11, 2024

Thank you, that helped. Now I have a new one
first = '<br />&nbsp;&nbsp;&nbsp;&nbsp; - &nbsp;' + v[0]
TypeError: can only concatenate str (not "dict") to str

I tried to change the + with a comma but no luck there

from intunecd.

almenscorner avatar almenscorner commented on June 11, 2024

Looks like a side effect of the changes made to the documentation module today. I will have a look at it. Thanks for reporting :)

from intunecd.

basziee avatar basziee commented on June 11, 2024

Hi @almenscorner
Looks like It's working!

from intunecd.

almenscorner avatar almenscorner commented on June 11, 2024

Nice, you should also see that the values in the tables are much better looking with indentation and new lines :)

from intunecd.

almenscorner avatar almenscorner commented on June 11, 2024

To fix the encoding issue, set the following system variable in Windows: PYTHONUTF8=1

from intunecd.

Kaze-tenshu avatar Kaze-tenshu commented on June 11, 2024

from intunecd.

Related Issues (20)

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.