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

CLI (tconverter) segfaults when converting Toonz Vector Levels (.pli) #2012

Open
morevnaproject opened this Issue May 25, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@morevnaproject
Contributor

morevnaproject commented May 25, 2018

--Issue Summary--

When calling CLI tool "tconverter" segfaults when converting Toonz Vector Levels (.pli):

$ opentoonz --appimage-exec tconverter  ./sample-files/ep01/drawings/ep01-001/D.pli  /tmp/zzz/f.png
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first

Loading D.pli
Level loaded
Conversion in progress: wait please...
QObject::connect: Cannot connect (null)::destroyed(QObject*) to QOffscreenSurface::screenDestroyed(QObject*)
Segmentation fault

Converting Toonz Raster Levels (tlv) works fine:

$ opentoonz --appimage-exec tconverter  ./sample-files/ep01/drawings/ep01-001/C.tlv  /tmp/zzz/f.png
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first

Loading C.tlv
Level loaded
Conversion in progress: wait please...
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first

Conversion terminated!

Note: In the last example you can ignore "Conversion terminated!" message - files are rendered successfully. Looking at the source code of tconverter it is clear that there should be "Conversion successful!" instead of "Conversion terminated!" string.

--Actual Results--

Segmentation fault

--Expected Results--

A sequence of .png files created.

--System Information--

  • OpenToonz Version:
    1.2.0

  • Operating System:
    Tested on OS Linux, for both native builds and appimages.
    Needs to be checked on Windows/OSX.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@morevnaproject

This comment has been minimized.

Show comment
Hide comment
@morevnaproject

morevnaproject May 26, 2018

Contributor

The fix is requested by Melnitsa Animation studio - http://melnitsa.com/en/

Contributor

morevnaproject commented May 26, 2018

The fix is requested by Melnitsa Animation studio - http://melnitsa.com/en/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment