AutodeskAILab / Fusion360GalleryDataset

Data, tools, and documentation of the Fusion 360 Gallery Dataset
Other
419 stars 51 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'some-path-/server/launch.json' #4

Closed evanthebouncy closed 4 years ago

evanthebouncy commented 4 years ago

was launch.json not pushed? also "Couch.json" was also not in /data

relevant meme: https://imgflip.com/i/41yax7

sorry it took so long for me to look at this, will look at it more closely tomorrow. I have a paper deadline in 2 weeks :'(

karldd commented 4 years ago

Couch looks like it is in there, but on a branch: https://github.com/karldd/Fusion360Server/blob/incremental/data/Couch.json

launch.json gets created automatically when you call launch.py but isn't needed to run the server as it just uses the defaults: https://github.com/karldd/Fusion360Server/blob/master/server/fusion_360_server.py#L115-L116

karldd commented 4 years ago

Assuming this came up when launch.py was called, I've added some error handling in 21042659dbba094d74dcdec623d7e7e58df44a86 to handle this case and use the defaults.