numixproject / numix-folders

Alternate folders for use with our base icon theme.
GNU General Public License v3.0
153 stars 26 forks source link

Trouble with the script #113

Closed Hacker-Planet closed 9 years ago

Hacker-Planet commented 9 years ago

I have tried using the script and I get this error

python -u "gui" Traceback (most recent call last): File "gui", line 359, in win = NumixFoldersGUI(style, colour, colour_list) File "gui", line 159, in init self.colourentries[i].set_max_width_chars(7) AttributeError: 'Entry' object has no attribute 'set_max_width_chars' exit status: 256

I also have installed it from the PPA and get an error

bash "numix-folders" numix-folders: line 104: ./gui/gui: No such file or directory exit status: 0

I am curious how to get this working?

andia89 commented 9 years ago

What desktop environment? You have to run a very old GTK version if you're getting this error message...

Hacker-Planet commented 9 years ago

I am running Xfce 4.10

bilelmoussaoui commented 9 years ago

@rstreeter create a new python file and paste this, run the python file and share the result here

from gi.repository import Gtk
print(Gtk.get_major_version() , Gtk.get_minor_version())
Hacker-Planet commented 9 years ago

When I run it I get this

python -u "new.py" ( 3L, 12L) exit status: 0

bilelmoussaoui commented 9 years ago

Try using python3 new.py

Hacker-Planet commented 9 years ago

Here is the output I got from that robert@robert-NerdHeadRepair:~$ python3 new.py 3 12 robert@robert-NerdHeadRepair:~$

bilelmoussaoui commented 9 years ago

Well, if you the same way to execute the gui file i think it should work ;)

Hacker-Planet commented 9 years ago

No luck let me check my other computer running the same exact system.

Hacker-Planet commented 9 years ago

Still no luck. I know I have used this script before and had no problem.

andia89 commented 9 years ago

You can run the script using numix-folders -t until this bug is fixed

Hacker-Planet commented 9 years ago

Thank you @wa4557 that worked like a charm.

neitsab commented 9 years ago

tl;dr: numix-folders .deb files on Launchpad don't contain /opt/numix-folders/gui, while their .tar.gz counterparts do. Direct link to examples: 14.04 15.10.


Today I stumbled upon the same /gui/gui: No such file or directory error on a friend's freshly dist-upgraded Ubuntu GNOME 14.04. Steps to reproduce:

$ sudo add-apt-repository ppa:numix/ppa -y && sudo apt update
$ sudo apt install numix-folders
$ numix-folders

I didn't use bash or python explicitly, just the regular numix-folders command that got installed in $PATH.

I used locate to see where the package was installed (/opt/numix-folders/), went there and realized the gui subdirectory was indeed missing. So I checked the package archive (direct link), which did contain this folder... Only to realize I was checking the .tar.gz and not the .deb file. So probably a bug in the build recipe :)

Thanks for your amazing work, I love the theme and the icons!

paolorotolo commented 9 years ago

Hi guys! I've just uploaded a new version that should fix the issue. It's actually building on Launchpad.

https://code.launchpad.net/~paolorotolo/+recipe/numix-folders

Let me know.

Foggalong commented 9 years ago

Thanks @PaoloRotolo \O/

andia89 commented 9 years ago

@PaoloRotolo Building seemed to fail with that error message: cp: cannot stat 'debian/tmp/numix-folders.desktop': No such file or directory

bilelmoussaoui commented 9 years ago

This is fixed in my case, but still waiting for the latest modifications

paolorotolo commented 9 years ago

@wa4557 run sudo apt-get update first. Be sure to download latest version from Launchpad.

andia89 commented 9 years ago

@PaoloRotolo Ok building did work but there's still this error:

/bin/bash: \ncd /opt/numix-folders && ./numix-folders "$1": File or directory not found (the line break doesn't work obviously)

Foggalong commented 9 years ago

@PaoloRotolo @wa4557 This is actually working for me now! You still having problems?

andia89 commented 9 years ago

Yes works fine now :)

Joshua H. Fogg notifications@github.com schrieb am Do., 24.09.2015, 13:41:

@PaoloRotolo https://github.com/PaoloRotolo @wa4557 https://github.com/wa4557 This is actually working for me now! You still having problems?

— Reply to this email directly or view it on GitHub https://github.com/numixproject/numix-folders/issues/113#issuecomment-142905389 .

Foggalong commented 9 years ago

Thanks @PaoloRotolo :+1:

paolorotolo commented 9 years ago

:+1: