gusbemacbe / suru-plus-folders

It allows to change the color of folders
MIT License
32 stars 3 forks source link

[Bug] Empty result for list of availabe colors, not working anymore after update #11

Closed ceyhunn closed 6 years ago

ceyhunn commented 6 years ago
> suru-plus-folders -l --theme Suru++
List of available colors:
gusbemacbe commented 6 years ago

Hello @ceyhunnabiyev

Did you rename the icons theme folder to Suru++?

gusbemacbe commented 6 years ago

I have just tested and there is really an error.

@SmartFinn, please, can you test the beta branch? I added "Suru++ 20" to the shell script, attempting to list the available colours, but the same errors still happens. I have upgraded icons theme and changed icons theme from "Suru++" to "Suru++ 20".

SmartFinn commented 6 years ago

@gusbemacbe I don't sure that a space in an icon theme name is valid.

gusbemacbe commented 6 years ago

Suru++\ 20 or 'Suru++ 20'.

gusbemacbe commented 6 years ago

The same bug happes:

[gusbemacbe@gusbemacbe-mac ~]$ suru-plus-folders -l --theme 'Suru++ 20'
List of available colors:

[gusbemacbe@gusbemacbe-mac ~]$ 
gusbemacbe commented 6 years ago

Ah, I got it. I will test renaming my icons theme.

gusbemacbe commented 6 years ago

Then I have changed Suru++ 20 to Suru++20, and the same bug still happens.

gusbemacbe commented 6 years ago

I got it again, it is because I have changed from scalable to 64, based on Papirus, to rearrange and correct the misbuilding.

gusbemacbe commented 6 years ago

It worked now:

suru-plus-folders -l --theme Suru++\ 20
List of available colors:

   black
   blue
   bluegrey
   brown
   cyan
   green
   grey
   magenta
   orange
   red
   teal
   violet
   yellow
gusbemacbe commented 6 years ago

Finally:

suru-plus-folders -l --theme Suru++\ 20
List of available colors:

   black
 > blue
   bluegrey
   brown
   cyan
   green
   grey
   magenta
   orange
   red
   teal
   violet
   yellow

It is because of scalable due the upgrade I made in the icons theme, replacing for 64.

gusbemacbe commented 6 years ago

@ceyhunnabiyev, it is fixed, please test it. Firstly uninstall and reinstall.

ceyhunn commented 6 years ago

@gusbemacbe , Thank you so much for the fast fix. It's worked..

vaskark commented 5 years ago

Hi. I'm experiencing the same problem on Ubuntu 19.04 and no list of colours is being produced. I've tried both:

suru-plus-folders -l --theme Suru++-Dark suru-plus-folders -l --theme Suru++-Ubuntu

Any advice? Thanks.

gusbemacbe commented 5 years ago

Hi @vaskark

Suru++ Dark is outdated, because it still uses the name 64 instead of scalable. I must upgrade it. While I do not upgrade, you can edit manually the places folders names, changing from 64 to scalable.

I have just tested Suru++ Ubuntu, it appeared normally:

$ suru-plus-folders -l --theme Suru++-Ubuntu
List of available colors:

   aubergine
   blue
   bordeaux
   canonical
   cyan
   darkblue
   green
 > orange
   purple
   red
   vermillion
   yellow
materemias commented 4 years ago

@gusbemacbe I have installed Suru++-Dark, renamed places/64 to places/scalable and I still have an empty list. do you have an idea how to go on?

materemias commented 4 years ago

nvm, I had 2 suru installs on in ~/.local and one in /usr. removing the local one did the trick