-
Notifications
You must be signed in to change notification settings - Fork 60
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
Error at Run #104
Comments
Can you paste the output of |
|
I'm using |
Also using |
Which distro you're using @Foggalong ? if you can downgrade to the same version as @wa4557 and i are using that would fix the issue for you i hope. Otherwise i don't think that we can do something about it |
Just updated to 15.10 last night |
I tried to google your error message and i had really no answers :/ maybe downgrading or upgrading to a newer version of python3-cariosvg will solve your issue. |
Installing via pip brings up the missing dependency error
That's always been the case for me: the error comes up if |
Try using |
Yeah, that's the command I used. That error happens regardless of the PIP version |
Any thoughts on this? The massive Skype and ownCloud icons are getting annoying :( |
What happens if you open an ipython console (or python console) and try |
josh@brain:~$ sudo pip3 install cairosvg
[sudo] password for josh:
Requirement already satisfied (use --upgrade to upgrade): cairosvg in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied (use --upgrade to upgrade): cairocffi in /usr/local/lib/python3.5/dist-packages (from cairosvg)
Requirement already satisfied (use --upgrade to upgrade): cffi>=1.1.0 in /usr/lib/python3/dist-packages (from cairocffi->cairosvg)
Requirement already satisfied (use --upgrade to upgrade): pycparser in /usr/lib/python3/dist-packages (from cffi>=1.1.0->cairocffi->cairosvg)
Cleaning up... >>> from cairosvg import svg2png
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'cairosvg' |
try reinstalling it using apt package and then retry what @wa4557 said ? |
>>> import cairosvg
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/cairosvg/__init__.py", line 27, in <module>
from . import surface
File "/usr/lib/python3/dist-packages/cairosvg/surface/__init__.py", line 47, in <module>
"optimizeSpeed": cairo.ANTIALIAS_FAST,
AttributeError: 'module' object has no attribute 'ANTIALIAS_FAST'
>>> from cairosvg import svg2png
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/cairosvg/__init__.py", line 27, in <module>
from . import surface
File "/usr/lib/python3/dist-packages/cairosvg/surface/__init__.py", line 43, in <module>
from . import units
ImportError: cannot import name 'units' |
Sorry i can't help with that :/
|
How much of the script depends on this feature? This is just the beta for 15.10 which will be released in 16 days, so what most people will be using pretty soon :( |
Well, this is not a script issue :/ We use cairosvg to convert svg icons to png ones.. I guess that i will add the possiblity to disable cairosvg and use inkscape instead, what do you think? |
That's what I meant - how much of the script depends on cairosvg. I don't really know, but that sounds like a pretty important feature. Maybe now is the time to set up that PPA you were talking about? |
Building from source is also giving the "not installed" error (like the PIP package) which I'm guessing is a bug with the script. |
Well, creating a PPA will not fix |
Found the solution :) There's a new dependency in the latest version of python3-cairosvg which isn't installed automatically. |
Happy to hear that ! :D feel free to add that to the readme file
|
Yeah, just working on the check within the script now |
This does not seem to be fixed.. I upgraded to Ubuntu 15.10 Beta yesterday and installed the new dependencies and still have the same error message as yours! |
I don't get the error anymore, but it doesn't seem to be fixing the owncloud and skype icons either. It's also done something weird with the hexchat icon which has made it really small |
Skype and owncloud icons are not fixed here too! maybe a sni-qt issue? And for the Hexchat icons, did those icons were looking fine before? i mean in an older version of ubuntu? |
Yeah, before 15.10 they were fine then I upgraded and they were fine, then I ran the tray script and they went tiny. |
Can you open a new issue for that with a screenshot? if you can get the icon size too the icons for hexchat are stored in |
Apart from switching to inkscape (which I think is a bad idea) I guess there's not much we can do about this but wait for an upstream fix... |
Yes, i kept this open until this issue get fixed
|
If you're having the same error but have both packages installed then there's probably a 3rd dependency that I have (probs for something else) but you don't |
@bil-elmoussaoui do you get the exact same error I did or slightly different? |
Don't remember, i will need to boot in Fedora 23 beta to test that again |
👍 |
And if you have any free time to check this #97, i would be very thankful! |
Inkscape support should be working in the Beta branch! @wa4557 I don't know how to check if inkscape is installed using bash so i can do a double check if both |
I should check if inkscape is installed? I think I can do that, let me think about this... |
Yes, somewhere here try:
from cairosvg import svg2png
use_inkscape = False
except ImportError:
use_inkscape = True |
Cool, already have an idea :) |
Done |
Thanks! 💃 |
You tried if it works? (I think you had the exact problem) |
Then it just exits.
The text was updated successfully, but these errors were encountered: