Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Hardcode-Tray crashes #421

Closed
SolarLiner opened this issue Aug 14, 2017 · 6 comments
Closed

Running Hardcode-Tray crashes #421

SolarLiner opened this issue Aug 14, 2017 · 6 comments
Assignees
Labels
Milestone

Comments

@SolarLiner
Copy link
Contributor

Specifications

  • Hardcode-Tray version : `` (impossible to retrieve, crashes)
  • Distribution : Ubuntu GNOME 17.04
  • Gtk version : 2.24.31-1ubuntu1 | 3.22.11-0ubuntu3
  • Inkscape version : 0.92.1 if installed
  • Cairo version : 1.0.20 if installed
  • Sni-qt version: 0.2.7+20161212~1 if installed
  • Application name : ``
  • Application version : ``

Running hardcode-tray in any mode (even just to check version) yeilds a crash.
image

Traceback (most recent call last):
  File "/usr/bin/hardcode-tray", line 40, in <module>
    from HardcodeTray.app import App
  File "/usr/lib/python3.5/site-packages/HardcodeTray/app.py", line 25, in <module>
    from HardcodeTray.const import DB_FOLDER
  File "/usr/lib/python3.5/site-packages/HardcodeTray/const.py", line 36, in <module>
    USER_ID = int(getenv("SUDO_UID")) or geteuid()
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
@kmf
Copy link

kmf commented Aug 15, 2017

Have the same issue.

@bilelmoussaoui
Copy link
Owner

Hmm i should have tested this more. I will fix this one tonight

@bilelmoussaoui bilelmoussaoui self-assigned this Aug 17, 2017
@SolarLiner
Copy link
Contributor Author

Something something not enough automated testing... 🙃🙃

@bilelmoussaoui
Copy link
Owner

Tests are not ready yet :( and I'm so busy these days...

@ianfebriyanto
Copy link

same here

@bilelmoussaoui
Copy link
Owner

Fixed on master. Now Hardcode-Tray doesn't change the permissions of any file which caused a lot of issues. This will be improved a lot with #397 & #406

@bilelmoussaoui bilelmoussaoui modified the milestone: v4.2 Aug 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants