Archiving Flame project from CLI

Hello,

would like to use the command line tools to make a Flame Archive on macOS without a Flame license.

Does somebody has an idea why archiving is not working as expected?
(the same error code appears for all archives when trying to archive them. See below)

Thank’s a lot in advance!
.

Help

imac-admin@imac-admins-iMac bin % ./flame_archive -l

0072_Tests_Audio_20220311
0073_Tests_3D-Text_20220701
0075_Test__image-superimposed__20221231
0076_Tests_resizing-clips-on-the-timeline–crop-borders
0077_Tests_AR-15-Test_20230316
Stopping managed threads.
.
.

imac-admin@imac-admins-iMac bin % ./flame_archive -a -P 0072_Tests_Audio_20220311 -F /tmp/0072_Tests_Audio_2022031

Registered thread ‘CoNetworkMonitor’ [ 123145316282368 ]
Output log to: ‘/opt/Autodesk/log/flame_archive.log’.
Registered thread ‘CoAsyncLogger’ [ 123145317343232 ]
Registered thread ‘RT Event Manager’ [ 123145318404096 ]
Registered thread ‘FastLaneServerThread’ [ 123145323708416 ]
Registered thread ‘S+W Disk I/O’ [ 123145324769280 ]
Registered thread ‘S+W Disk I/O’ [ 123145325830144 ]
Registered thread ‘S+W Disk I/O’ [ 123145326891008 ]
Registered thread ‘S+W Disk I/O’ [ 123145327951872 ]
Registered thread ‘S+W Net Input Select’ [ 123145329012736 ]
Registered thread ‘S+W Net Input’ [ 123145330073600 ]
Registered thread ‘S+W Net Input’ [ 123145331134464 ]
Registered thread ‘S+W Net Input’ [ 123145332195328 ]
Registered thread ‘S+W Net Input’ [ 123145333256192 ]
Registered thread ‘S+W Net Output’ [ 123145334317056 ]
Registered thread ‘S+W Net Output’ [ 123145335377920 ]
Registered thread ‘S+W Net Output’ [ 123145336438784 ]
Registered thread ‘S+W Net Output’ [ 123145337499648 ]
Registered thread ‘S+W Net Watchdog’ [ 123145338560512 ]
Registered thread ‘S+W Audio Processor’ [ 123145339621376 ]
Registered thread ‘S+W Audio Processor’ [ 123145340682240 ]
Registered thread ‘S+W Video (p)’ [ 123145341743104 ]
Registered thread ‘S+W Video (p)’ [ 123145342803968 ]
Registered thread ‘S+W Video (p)’ [ 123145343864832 ]
Registered thread ‘S+W Video (p)’ [ 123145344925696 ]
Registered thread ‘S+W Video (p)’ [ 123145345986560 ]
Registered thread ‘S+W Video (p)’ [ 123145347047424 ]
Registered thread ‘S+W Video (s)’ [ 123145348108288 ]
Registered thread ‘S+W Video (s)’ [ 123145349169152 ]
Registered thread ‘S+W Video (s)’ [ 123145350230016 ]
Registered thread ‘S+W Video (s)’ [ 123145351290880 ]
Registered thread ‘S+W Video (s)’ [ 123145352351744 ]
Registered thread ‘S+W Video (s)’ [ 123145353412608 ]
Registered thread ‘S+W Background I/O’ [ 123145354473472 ]
Registered thread ‘S+W Background I/O’ [ 123145355534336 ]
Registered thread ‘S+W Background I/O’ [ 123145356595200 ]
Registered thread ‘S+W Background I/O’ [ 123145357656064 ]
Registered thread ‘S+W Image Converter’ [ 123145358716928 ]
Registered thread ‘S+W Pipeline’ [ 123145359777792 ]
Registered thread ‘S+W Pipeline’ [ 123145360838656 ]
Registered thread ‘S+W Pipeline’ [ 123145361899520 ]
Registered thread ‘S+W Pipeline’ [ 123145362960384 ]
Registered thread ‘S+W Pipeline’ [ 123145365082112 ]
Registered thread ‘S+W Pipeline’ [ 123145364021248 ]
Registered thread ‘S+W Pipeline’ [ 123145366142976 ]
Registered thread ‘S+W Pipeline’ [ 123145367203840 ]
Registered thread ‘S+W Gateway connection timer monitor’ [ 123145374703616 ]
Connected to DLmpd on 127.0.0.1 as 501:20
Connected to DLmpd on 127.0.0.1 as 0:0
VOLUMEMGT : Using 7 as root partition.
Sys.access(‘/tmp/0072_Tests_Audio_2022031’) failed: No such file or directory (errno = 2)
Could not open header file - No such file or directory.

ERROR:
Error when opening archive : Could not open header file - No such file or directory.

Stopping managed threads.
imac-admin@imac-admins-iMac bin %

I think you need to format an archive first. Try this:

./flame_archive -f -F /tmp/0072_Tests_Audio_2022031 -i 25

1 Like

Thank’s John for the help. It seems to work :slight_smile: But there is still an problem with the creation of the Archive…

[formatting the archive:]

imac-amin@imac-amins-iMac bin % sudo ./flame_archive -f -F /tmp/0072_Tests_Audio_20220311 -i 25
Password:
Registered thread ‘CoNetworkMonitor’ [ 123145562177536 ]
Output log to: ‘/opt/Autodesk/log/flame_archive.log’.
Registered thread ‘CoAsyncLogger’ [ 123145563238400 ]
Registered thread ‘RT Event Manager’ [ 123145564299264 ]
Registered thread ‘FastLaneServerThread’ [ 123145569603584 ]
Registered thread ‘S+W Disk I/O’ [ 123145570664448 ]
Registered thread ‘S+W Disk I/O’ [ 123145572786176 ]
Registered thread ‘S+W Disk I/O’ [ 123145571725312 ]
Registered thread ‘S+W Disk I/O’ [ 123145573847040 ]
Registered thread ‘S+W Net Input Select’ [ 123145574907904 ]
Registered thread ‘S+W Net Input’ [ 123145575968768 ]
Registered thread ‘S+W Net Input’ [ 123145577029632 ]
Registered thread ‘S+W Net Input’ [ 123145579151360 ]
Registered thread ‘S+W Net Output’ [ 123145580212224 ]
Registered thread ‘S+W Net Input’ [ 123145578090496 ]
Registered thread ‘S+W Net Output’ [ 123145581273088 ]
Registered thread ‘S+W Net Output’ [ 123145582333952 ]
Registered thread ‘S+W Net Output’ [ 123145583394816 ]
Registered thread ‘S+W Net Watchdog’ [ 123145584455680 ]
Registered thread ‘S+W Audio Processor’ [ 123145585516544 ]
Registered thread ‘S+W Audio Processor’ [ 123145586577408 ]
Registered thread ‘S+W Video (p)’ [ 123145587638272 ]
Registered thread ‘S+W Video (p)’ [ 123145588699136 ]
Registered thread ‘S+W Video (p)’ [ 123145590820864 ]
Registered thread ‘S+W Video (p)’ [ 123145589760000 ]
Registered thread ‘S+W Video (p)’ [ 123145591881728 ]
Registered thread ‘S+W Video (p)’ [ 123145592942592 ]
Registered thread ‘S+W Video (s)’ [ 123145594003456 ]
Registered thread ‘S+W Video (s)’ [ 123145595064320 ]
Registered thread ‘S+W Video (s)’ [ 123145596125184 ]
Registered thread ‘S+W Video (s)’ [ 123145598246912 ]
Registered thread ‘S+W Video (s)’ [ 123145597186048 ]
Registered thread ‘S+W Video (s)’ [ 123145599307776 ]
Registered thread ‘S+W Background I/O’ [ 123145600368640 ]
Registered thread ‘S+W Background I/O’ [ 123145601429504 ]
Registered thread ‘S+W Background I/O’ [ 123145602490368 ]
Registered thread ‘S+W Background I/O’ [ 123145603551232 ]
Registered thread ‘S+W Image Converter’ [ 123145604612096 ]
Registered thread ‘S+W Pipeline’ [ 123145605672960 ]
Registered thread ‘S+W Pipeline’ [ 123145606733824 ]
Registered thread ‘S+W Pipeline’ [ 123145608855552 ]
Registered thread ‘S+W Pipeline’ [ 123145607794688 ]
Registered thread ‘S+W Pipeline’ [ 123145610977280 ]
Registered thread ‘S+W Pipeline’ [ 123145609916416 ]
Registered thread ‘S+W Pipeline’ [ 123145612038144 ]
Registered thread ‘S+W Pipeline’ [ 123145613099008 ]
Registered thread ‘S+W Gateway connection timer monitor’ [ 123145620598784 ]
Connected to DLmpd on 127.0.0.1 as 0:0
Connected to DLmpd on 127.0.0.1 as 0:0
Connected to DLmpd on 127.0.0.1 as 0:0
Stopping managed threads.
imac-admin@imac-admins-iMac bin %

.
.

[creating the Archive:]

imac-admin@imac-admins-iMac bin % sudo ./flame_archive -a -P 0072_Tests_Audio_20220311 -F /tmp/0072_Tests_Audio_20220311
Registered thread ‘CoNetworkMonitor’ [ 123145468116992 ]
Output log to: ‘/opt/Autodesk/log/flame_archive.log’.
Registered thread ‘CoAsyncLogger’ [ 123145469177856 ]
Registered thread ‘RT Event Manager’ [ 123145470238720 ]
Registered thread ‘FastLaneServerThread’ [ 123145475543040 ]
Registered thread ‘S+W Disk I/O’ [ 123145476603904 ]
Registered thread ‘S+W Disk I/O’ [ 123145477664768 ]
Registered thread ‘S+W Disk I/O’ [ 123145479786496 ]
Registered thread ‘S+W Disk I/O’ [ 123145478725632 ]
Registered thread ‘S+W Net Input Select’ [ 123145480847360 ]
Registered thread ‘S+W Net Input’ [ 123145482969088 ]
Registered thread ‘S+W Net Input’ [ 123145481908224 ]
Registered thread ‘S+W Net Input’ [ 123145485090816 ]
Registered thread ‘S+W Net Input’ [ 123145484029952 ]
Registered thread ‘S+W Net Output’ [ 123145486151680 ]
Registered thread ‘S+W Net Output’ [ 123145488273408 ]
Registered thread ‘S+W Net Output’ [ 123145487212544 ]
Registered thread ‘S+W Net Output’ [ 123145489334272 ]
Registered thread ‘S+W Net Watchdog’ [ 123145490395136 ]
Registered thread ‘S+W Audio Processor’ [ 123145491456000 ]
Registered thread ‘S+W Audio Processor’ [ 123145492516864 ]
Registered thread ‘S+W Video (p)’ [ 123145493577728 ]
Registered thread ‘S+W Video (p)’ [ 123145494638592 ]
Registered thread ‘S+W Video (p)’ [ 123145495699456 ]
Registered thread ‘S+W Video (p)’ [ 123145496760320 ]
Registered thread ‘S+W Video (p)’ [ 123145497821184 ]
Registered thread ‘S+W Video (p)’ [ 123145498882048 ]
Registered thread ‘S+W Video (s)’ [ 123145499942912 ]
Registered thread ‘S+W Video (s)’ [ 123145501003776 ]
Registered thread ‘S+W Video (s)’ [ 123145502064640 ]
Registered thread ‘S+W Video (s)’ [ 123145503125504 ]
Registered thread ‘S+W Video (s)’ [ 123145504186368 ]
Registered thread ‘S+W Video (s)’ [ 123145505247232 ]
Registered thread ‘S+W Background I/O’ [ 123145506308096 ]
Registered thread ‘S+W Background I/O’ [ 123145508429824 ]
Registered thread ‘S+W Background I/O’ [ 123145509490688 ]
Registered thread ‘S+W Background I/O’ [ 123145507368960 ]
Registered thread ‘S+W Image Converter’ [ 123145510551552 ]
Registered thread ‘S+W Pipeline’ [ 123145511612416 ]
Registered thread ‘S+W Pipeline’ [ 123145512673280 ]
Registered thread ‘S+W Pipeline’ [ 123145513734144 ]
Registered thread ‘S+W Pipeline’ [ 123145514795008 ]
Registered thread ‘S+W Pipeline’ [ 123145515855872 ]
Registered thread ‘S+W Pipeline’ [ 123145516916736 ]
Registered thread ‘S+W Pipeline’ [ 123145517977600 ]
Registered thread ‘S+W Pipeline’ [ 123145519038464 ]
Registered thread ‘S+W Gateway connection timer monitor’ [ 123145526538240 ]
Connected to DLmpd on 127.0.0.1 as 0:0
Connected to DLmpd on 127.0.0.1 as 0:0
VOLUMEMGT : Using 7 as root partition.
Sys.symlink(‘HI=AD7331BF-9865-481C-AB3B-FB79951527F4;PI=2105;HN=imac-admins-iMac;PN=flame_archive;T=1738829852;LT=1738829852;’, ‘/opt/Autodesk/clip/stonefs7/0072_Tests_Audio_20220311.prj/.locks/PrjProjectEntry.lck’) failed: File exists
symlink(‘HI=AD7331BF-9865-481C-AB3B-FB79951527F4;PI=2105;HN=imac-amins-iMac;PN=flame_archive;T=1738829852;LT=1738829852;’, ‘/opt/Autodesk/clip/stonefs7/0072_Tests_Audio_20220311.prj/.locks/PrjProjectEntry.lck’) failed: File exists
Lock ‘/opt/Autodesk/clip/stonefs7/0072_Tests_Audio_20220311.prj/.locks/PrjProjectEntry.lck’ held by dead process ‘Flame/2093’ on ‘imac-admins-iMac/AD7331BF-9865-481C-AB3B-FB79951527F4’.
Lock ‘/opt/Autodesk/clip/stonefs7/0072_Tests_Audio_20220311.prj/.locks/PrjProjectEntry.lck’ removed
Sys.symlink(‘HI=AD7331BF-9865-481C-AB3B-FB79951527F4;PI=2105;HN=imac-admins-iMac;PN=flame_archive;T=1738829852;LT=1738829852;’, ‘/opt/Autodesk/clip/stonefs7/0072_Tests_Audio_20220311.prj/.locks/PrjProjectEntry.lck_rec’) failed: File exists
symlink(‘HI=AD7331BF-9865-481C-AB3B-FB79951527F4;PI=2105;HN=imac-admins-iMac;PN=flame_archive;T=1738829852;LT=1738829852;’, ‘/opt/Autodesk/clip/stonefs7/0072_Tests_Audio_20220311.prj/.locks/PrjProjectEntry.lck_rec’) failed: File exists
Lock ‘/opt/Autodesk/clip/stonefs7/0072_Tests_Audio_20220311.prj/.locks/PrjProjectEntry.lck_rec’ held by dead process ‘Flame/2093’ on ‘imac-admins-iMac/AD7331BF-9865-481C-AB3B-FB79951527F4’.
Lock ‘/opt/Autodesk/clip/stonefs7/0072_Tests_Audio_20220311.prj/.locks/PrjProjectEntry.lck_rec’ removed
Removing reference on ‘/opt/Autodesk/clip/stonefs7/0072_Tests_Audio_20220311.prj/.locks/PrjProjectEntry.ref’ held by dead process ‘Flame/2093’ on ‘imac-admins-iMac/AD7331BF-9865-481C-AB3B-FB79951527F4’.

this code might help you

1 Like