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

Re-running installer fails on Chicago95_Panel_Preferences.tar.bz2 #312

Open
kevgrig opened this issue Nov 23, 2023 · 7 comments
Open

Re-running installer fails on Chicago95_Panel_Preferences.tar.bz2 #312

kevgrig opened this issue Nov 23, 2023 · 7 comments

Comments

@kevgrig
Copy link

kevgrig commented Nov 23, 2023

I just upgraded to Fedora 39 and the theme seemed off so I git pulled the latest master branch and re-ran installer.py but it hung on Installing component: Panel and showed an error in the terminal:

[...]
Generating XFCE panel
Installing Panel config from: /work/Chicago95/Extras/Chicago95_Panel_Preferences.tar.bz2
Traceback (most recent call last):
  File "/work/Chicago95/./installer.py", line 397, in install
    subprocess.check_call(["xfce4-panel-profiles", "load", running_folder+"/Extras/Chicago95_Panel_Preferences.tar.bz2"], stdout=subprocess.DEVNULL)
  File "/usr/lib64/python3.12/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['xfce4-panel-profiles', 'load', '/work/Chicago95/Extras/Chicago95_Panel_Preferences.tar.bz2']' returned non-zero exit status 1.

I'm running everything vanilla for Chicago95 and no extras.

@LuisPeregrina
Copy link

Can you post the output of running the command?
xfce4-panel-profiles load /work/Chicago95/Extras/Chicago95_Panel_Preferences.tar.bz2

@Alexderoode011202
Copy link

I am on linux mint and am having the exact same problem. This is the output I received which is very similar to yours:

Installing Panel config from: /tmp/ChicagoStuff22090/Chicago95/Extras/Chicago95_Panel_Preferences.tar.bz2 Traceback (most recent call last): File "/tmp/ChicagoStuff22090/Chicago95/./installer.py", line 397, in install subprocess.check_call(["xfce4-panel-profiles", "load", running_folder+"/Extras/Chicago95_Panel_Preferences.tar.bz2"], stdout=subprocess.DEVNULL) File "/usr/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['xfce4-panel-profiles', 'load', '/tmp/ChicagoStuff22090/Chicago95/Extras/Chicago95_Panel_Preferences.tar.bz2']' returned non-zero exit status 1.

@Alexderoode011202
Copy link

Can you post the output of running the command? xfce4-panel-profiles load /work/Chicago95/Extras/Chicago95_Panel_Preferences.tar.bz2

I also try running this command in the folder containing chicago95.
I get told the file does not exist:
xfce4-panel-profiles load /work/Chicago95/Extras/Chicago95_Panel_Preferences.tar.bz2

@kevgrig
Copy link
Author

kevgrig commented Mar 13, 2024

Can you post the output of running the command? xfce4-panel-profiles load /work/Chicago95/Extras/Chicago95_Panel_Preferences.tar.bz2

@LuisPeregrina My apologies. I somehow missed the notification for your question and just saw it because of the other commenter.

I ran that command and there was no output. My panel shifted to my other monitor and so I had to edit its settings and switch the output to my primary monitor again. Otherwise, there were no other changes. Should I re-run the installer?

$ ls -l /work/Chicago95/Extras/Chicago95_Panel_Preferences.tar.bz2
-rw-rw-r--. 1 kevin kevin 2382 Apr  8  2022 /work/Chicago95/Extras/Chicago95_Panel_Preferences.tar.bz2
$ xfce4-panel-profiles load /work/Chicago95/Extras/Chicago95_Panel_Preferences.tar.bz2
$ 

@kevgrig
Copy link
Author

kevgrig commented Mar 14, 2024

@LuisPeregrina Realizing now why you had me run that command, I ran it again and printed the return code and it's fine. Let me try the installer again...

$ xfce4-panel-profiles load /work/Chicago95/Extras/Chicago95_Panel_Preferences.tar.bz2
$ echo $?
0

@kevgrig
Copy link
Author

kevgrig commented Mar 14, 2024

@LuisPeregrina I did a git pull, re-ran installer.py and this time it worked!

Installing Panel config from: /work/Chicago95/Extras/Chicago95_Panel_Preferences.tar.bz2
Install Completed! Enjoy Chicago95!

No clue what's different.

@kevgrig
Copy link
Author

kevgrig commented Mar 14, 2024

@Alexderoode011202 In your case, you should run:

xfce4-panel-profiles load /tmp/ChicagoStuff22090/Chicago95/Extras/Chicago95_Panel_Preferences.tar.bz2

In addition to the output of that command, also run:

echo $?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants