Giter Club home page Giter Club logo

Comments (4)

trigg avatar trigg commented on September 28, 2024

Your version of pyxdg is correct but I am not using xdg==4.0.1

Best guess without a debian machine about but xdg package is incorrect and overrides pyxdg.

from discover.

trigg avatar trigg commented on September 28, 2024
Traceback (most recent call last):
  File "./discover.py", line 21, in <module>
    from xdg import XDG_CONFIG_HOME as xdg_config_home
ImportError: cannot import name 'XDG_CONFIG_HOME' from 'xdg' (/usr/lib/python3.8/site-packages/xdg/__init__.py)

For reference, that will break other installations. Need to get to the bottom of this

from discover.

luni3359 avatar luni3359 commented on September 28, 2024

Yeah I figured it'd break something if you tried it my way, I actually meant to make a PR with a fix but I'm not sure if it's acceptable in python programming to make exception handling right at the importing part...

from discover.

trigg avatar trigg commented on September 28, 2024

I've done it already for AppIndicator ;)

from discover.

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.