rocket-depot
rocket-depot copied to clipboard
Can't compile / run on Manjaro Linux
Hello.
I was using this as a frontend to xfreerdp to connect to my work place. Using Manjaro XFCE. I don't remember how I was able to run it in the past, but I had to re-install my hole Linux Manjaro install, and now I am just not able to compile this.. (it's not in arch's repos?)
I went into /rocket-depot-master/archlinux/
and after viewing the PKGBUILD, I made sure I had all dependencies:
depends=('python2-setuptools' 'xterm' 'hicolor-icon-theme' 'rdesktop' 'freerdp' 'python2-gobject2' 'python2-gobject')
Also had to alter this line to:
source=("git+$url.git")
* previous line was not connecting to github
It seemed to compile and make a .pkg.tar.zst
package for installing. I manually installed in Manjaro's package manager (which uses pamac I believe). No errors. Now, if I try to run the rocket-depot binary I get:
ImportError: No module named configparser
I also tried changing my main python from v3 to v2:
cd /usr/bin sudo unlink python && sudo ln -s python2 python
but that doesn't change a thing.
Any help to get this install would be super appreciated.
Apologies, I know this isn't an "issue" per say... although I just can't install this.
Thanks a million!
Patrick
Okay. I just managed to get it working with Python v3. I had to pip install configparser
and python3:
[raven@papounix scripts]$ pip show configparser Name: configparser Version: 5.3.0 Summary: Updated configparser from stdlib for earlier Pythons. Home-page: https://github.com/jaraco/configparser/ Author: Łukasz Langa Author-email: [email protected] License: Location: /home/raven/.local/lib/python3.10/site-packages Requires: Required-by:
Then seems like I had to change the shebang in first line of /usr/bin/rocket-depot
to use python v3:
#!/usr/bin/python
Now I think I installed python2 for nothing! loll Wouldn't it be good to alter the source to 1) fix the arch/PKGBUILD accordingly and 2) just make the shebang to use /usr/bin/python (which could be a symlink to whatever!)
Thanks.
Thanks for the detailed bug report. Unfortunately this project hasn't been maintained in many years. It was written for the long-deprecated python2, and it's great to hear you got it working in python3.
Definitely don't take a modern distro and try to install any python2 stuff on it - that could break your entire system.
Now that GitHub has the repo archive feature, I'm going to set this to read-only to avoid any other confusion. If someone wants to take over maintenance for this project I'd be happy to turn it over if/when that happens.