You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@AnishGG@morevnaproject I deleted my git folder and the Setup Script doesn't install lxml, I did it manually and my test animation still doesn't work, it has advance outline, but the example files works now as expected. Thanks
Hello! I made a donation of order # 22846152, and I want to do much more! I can only thank you for this wonderful software. i'm getting problems with lxml, synfig can't find it, but i already have the modules with python. I have linux focal 20.04 and the synfig is 1.4.0
Thank you so much
@rodolforg I'm using official ubuntu image! I installed it outside the official ubuntu images and got a lot more errors just like @hexemeister! so I opted for the official images
@rodolforg would you happen to have any simple example for this:
Full ID string format would be something like [[file-path]#][canvas-id:][child-canvas-id:][child-canvas-id:]…value-node-id
I tried using the examples from Link, but most of them use pasteCanvas and other layers which are not yet supported by the Lottie exporter. And I am not sure how to make such an example.
@rodolforg Thank you for the examples!
But both these examples use only canvas-id in the use. Do you have any example which uses child-canvas-id too? That is the part I didn't understand.
Full ID string format would be something like [[file-path]#][canvas-id:][child-canvas-id:][child-canvas-id:]…value-node-id
By the way, we have four different bugs reported here, all related to Lottie plugin:
1. FlatPak without lxml embedded. ([Export to lottie format error #993 (comment)](https://github.com/synfig/synfig/issues/993#issuecomment-769141618)) ([Export to lottie format error #993 (comment)](https://github.com/synfig/synfig/issues/993#issuecomment-769779344))
2. Ubuntu focal does not recognize the lxml too ([Export to lottie format error #993 (comment)](https://github.com/synfig/synfig/issues/993#issuecomment-774783030))
3. AppImage/Windows 10 throws exception "anim is not None" (probably related to usage of exported valuenodes) https://github.com/synfig/synfig/blob/46ed36c9a100857b2f2b0a87de40c6ee734e5744/synfig-studio/plugins/lottie-exporter/common/Param.py#L51
([Export to lottie format error #993 (comment)](https://github.com/synfig/synfig/issues/993#issuecomment-769779344)) ([Export to lottie format error #993 (comment)](https://github.com/synfig/synfig/issues/993#issuecomment-780572168))
4. AppImage has problem with non-saved file, probably an issue with current workdir or passing incomplete (not-absolute) file path as argument to python script ([Export to lottie format error #993 (comment)](https://github.com/synfig/synfig/issues/993#issuecomment-776927000))
So the only issue left is Number 4. I am not sure how to fix that.
AppImage has problem with non-saved file, probably an issue with current workdir or passing incomplete (not-absolute) file path as argument to python script (Export to lottie format error #993 (comment))
It is still an issue in 1.4.2 testing
So it's probably something related to AppImage itself. I don't know how it works, but maybe this is related: AppImage/AppImageKit#191 ?
My limited understanding of the AppImage format is that it's a self contained package, runnable under almost any reasonable Linux system. Would it make sense to simply make the lxml python package part of the AppImage? Users should NOT generally have to install external packages to run a "self-contained" package.
As a workaround, in my case, I noticed that the Synfig python code was using '#!/usr/bin/env python' to reference python. I am using pyenv. I was able to resolve this issue by doing a 'pip install lxml' under my default pyenv.
Activity
AnishGG commentedon Oct 31, 2019
This is unexpected behaviour as we are installing the
lxmllibrary for linux here:synfig/1-setup-linux-native.sh
Line 85 in bf19ac4
I am not sure what the problem is, @morevnaproject could you have a look please.
@ebarranco in the mean time you can install lxml manually.
You can refer to this documentation: https://lxml.de/installation.html
ebarranco commentedon Oct 31, 2019
@AnishGG @morevnaproject I deleted my git folder and the Setup Script doesn't install lxml, I did it manually and my test animation still doesn't work, it has advance outline, but the example files works now as expected. Thanks
AnishGG commentedon Oct 31, 2019
Advance outline is not supported yet. But the setup script should have installed lxml. I will have a look into it.
ice0 commentedon Oct 31, 2019
@ebarranco Which Linux you are using? Arch, Manjaro? As i see install script doesn't install python3-lxml for Linux with pacman package manager.
ebarranco commentedon Oct 31, 2019
It's correct @ice0 I'm using pacman package manager and I use Manjaro Linux.
ice0 commentedon Nov 1, 2019
Ok, i fixed the installation script (#994), wait until @morevnaproject will review it.
ebarranco commentedon Nov 17, 2019
I tested this in a new system and it works now. Thanks.
hexemeister commentedon Jan 28, 2021
Having same issue here. Pop OS 20.10

ice0 commentedon Jan 29, 2021
@hexemeister Hi! Are you using Flatpak version?
hexemeister commentedon Jan 29, 2021
Actually, I tried both versions, appimage and flatpak. Screenshot above is from Flatpak version. Appimage version erros as shown.
jonaspereirar commentedon Feb 7, 2021
Hello! I made a donation of order # 22846152, and I want to do much more! I can only thank you for this wonderful software. i'm getting problems with lxml, synfig can't find it, but i already have the modules with python. I have linux focal 20.04 and the synfig is 1.4.0
Thank you so much
rodolforg commentedon Feb 7, 2021
@jonaspereirar
Are you using from Ubuntu official repositories or from AppImage or Flatpak images?
jonaspereirar commentedon Feb 10, 2021
@rodolforg I'm using official ubuntu image! I installed it outside the official ubuntu images and got a lot more errors just like @hexemeister! so I opted for the official images
16 remaining items
rodolforg commentedon Jun 6, 2021
So it's probably something related to AppImage itself. I don't know how it works, but maybe this is related: AppImage/AppImageKit#191 ?
AnishGG commentedon Jun 8, 2021
@rodolforg would you happen to have any simple example for this:
I tried using the examples from Link, but most of them use pasteCanvas and other layers which are not yet supported by the Lottie exporter. And I am not sure how to make such an example.
rodolforg commentedon Jun 8, 2021
Aren't group layers supported? Ok
Are link to external files supported?
Anyway, I think it could already support that defs may contain canvas and nodes.
Examples:
path/to/file#my_value
path/to/file#:my_value
my_value
:my_value
:an_exported_canvas:a_value
an_exported_canvas:a_value
AnishGG commentedon Jun 8, 2021
Group layers are supported, yes. By examples, I meant any
.siffile, which I can use for testing purposes.But thank you anyways for this ^__^
rodolforg commentedon Jun 8, 2021
Oh. I asked because you wrote about Layer_PasteCanvas (and there are only three Layers that are Layer_PasteCanvas: Group, Switch and FilterGroup). ;)
rodolforg commentedon Jun 8, 2021
XD
(Very) Few examples:
https://github.com/synfig/synfig/blob/master/synfig-core/examples/walk/walk.sif
https://github.com/synfig/synfig/blob/master/synfig-core/examples/prologue_kid.sif
AnishGG commentedon Jun 9, 2021
@rodolforg Thank you for the examples!
But both these examples use only
canvas-idin theuse. Do you have any example which useschild-canvas-idtoo? That is the part I didn't understand.rodolforg commentedon Jun 9, 2021
A child canvas with an exported value node.
teste-value-node-names.zip
And from external file (= the previous one)
test-external-value-node.zip
AnishGG commentedon Jun 28, 2021
Issue 3 is fixed by: #2182
So the only issue left is Number
4. I am not sure how to fix that.rodolforg commentedon Jul 11, 2021
It is an AppImage packaging problem. I don't know if it affects Snap and FlatPack too.
rodolforg commentedon Jul 13, 2021
It is still an issue in 1.4.2 testing
ginobean commentedon Aug 29, 2023
My limited understanding of the AppImage format is that it's a self contained package, runnable under almost any reasonable Linux system. Would it make sense to simply make the lxml python package part of the AppImage? Users should NOT generally have to install external packages to run a "self-contained" package.
As a workaround, in my case, I noticed that the Synfig python code was using '#!/usr/bin/env python' to reference python. I am using pyenv. I was able to resolve this issue by doing a 'pip install lxml' under my default pyenv.