Anything and everything to do with DCP-o-matic.
emadmohamed
Posts: 2 Joined: Tue Aug 11, 2020 4:21 pm
Post
by emadmohamed » Tue Aug 11, 2020 4:36 pm
I am trying to create a KDM from a DKDM using the CLI, but I keep getting an error. The command I am using is:
Code: Select all
dcpomatic2_kdm_cli -f "2020-07-01 16:27:00" -t "2020-09-01 16:27:00" --certificate "cert3.pem" dkdm.xml
Th error I am getting is:
Code: Select all
dcpomatic2_kdm_cli: /usr/include/boost/smart_ptr/shared_ptr.hpp:734: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = Cinema; typename boost::detail::sp_member_access<T>::type = Cinema*]: Assertion `px != 0' failed.
Aborted (core dumped)
But if I add a cinema and add a screen then add the certificate to the screen using the GUI, this command runs successfully
Code: Select all
dcpomatic2_kdm_cli -f "2020-07-01 16:27:00" -t "2020-09-01 16:27:00" -c "My Cinema" -v dkdm.xml
Please note that I want to be able to generate KDMs to certificates without adding a cinema.
I am using V2.14.33 on Linux Mint 20
Thanks in advance
carl
Site Admin
Posts: 2548 Joined: Thu Nov 14, 2013 2:53 pm
Post
by carl » Tue Aug 11, 2020 6:35 pm
I'll sort out a proper fix for this, but you should be able to get around the crash by doing
Code: Select all
dcpomatic2_kdm_cli -f "2020-07-01 16:27:00" -t "2020-09-01 16:27:00" -c "" -S "" --certificate "cert3.pem" dkdm.xml
i.e. specifying an empty cinema and screen name. It's not obvious from the documentation but if you are specifying certificates the idea is that
before the certificate you give the cinema and screen that it's for so that the tool can make nice filenames.
emadmohamed
Posts: 2 Joined: Tue Aug 11, 2020 4:21 pm
Post
by emadmohamed » Wed Aug 12, 2020 12:36 pm
Thank you Carl the work around you mentioned is working good. Hope this gets fixed in a new version as the tool is really great. Thanks again.
Pedroonl
Posts: 5 Joined: Wed Oct 06, 2021 6:49 pm
Post
by Pedroonl » Thu Oct 21, 2021 10:05 am
Hi, I'm trying to name the output file, but I can only name the directory.
Can somebody help?
Thanks. Peter