mhokama86

Results 5 comments of mhokama86

I got it to go through however the file is not actually uploaded to part-db. It returns file is not accessible. under the attachments tab for the the part each...

excuse my ignorance, but where can i get those. I cant even seem to find /var/log/prod.log.

i got these logs- which look like it's where the logs in the web gui are coming from... 348 was uploaded manually and it works. ! [NOTE] There are a...

i've been looking all over. all i have is /var/www/Part-DB-server/var/log/prod.log located in /var/www/Part-DB-server/var/log/prod.log i can't find anything else that even looks similar.

Thanks- it works! `import os import mimetypes import requests import base64 API_BASE_URL = "http://parts.local:8080/api" API_KEY = "tcp_7a55a8c54569e0b2d6fa84eeea23276ce5f48130bf3eeb0422470f2c415c85ec" # Register custom MIME types mimetypes.add_type('application/sla', '.stl') mimetypes.add_type('image/x-xcf', '.xcf') mimetypes.add_type('image/vnd.adobe.photoshop', '.psd') mimetypes.add_type('model/3mf', '.3mf')...