Git Product home page Git Product logo

Comments (4)

kodonnell avatar kodonnell commented on May 18, 2024

Sorry, haven't got to supporting python 2.*. Otherwise, yes, a definite bug when I was adding that in argparse - fixed (I hope) with kodonnell@4c3e57d. Does that work for you?

from powerbi-vcs.

ggros avatar ggros commented on May 18, 2024

Note that I had an error in Python 3.6.2 too. The error was:

Traceback (most recent call last):
  File "powerbi-vcs-master\pbivcs.py", line 123, in <module>
    if args['extract']:
TypeError: 'Namespace' object is not subscriptable

Now the error is gone in Python 3.6.2 and the extraction did work.

from powerbi-vcs.

ggros avatar ggros commented on May 18, 2024

In python 2.7.13, the error is now:

Traceback (most recent call last):
  File "pbivcs.py", line 124, in <module>
    extract_pbit(args.input, args.output)
  File "pbivcs.py", line 61, in extract_pbit
    conv.write_raw_to_vcs(zd.read(name), outpath)
  File "\powerbi-vcs-master\converters.py", line 21, in write_raw_to_vcs
    os.makedirs(os.path.dirname(vcspath), exist_ok=True)
TypeError: makedirs() got an unexpected keyword argument 'exist_ok'

Though if you only support Python 3 it is ok.
I saw you changed the readme accordingly, so I will close the issue.

from powerbi-vcs.

kodonnell avatar kodonnell commented on May 18, 2024

Thanks @ggros - feel free to fire through a PR for python 2.7 support = )

from powerbi-vcs.

Related Issues (6)

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.