scheckmedia / photils-dt

A darktable plugin that tries to predict keywords based on the selected image. This plugin uses photils-cli to handle this task. Photils-cli is an application that passes the image through a neural network, classifies it, and extracts the suggested tags. Everything happens offline without the need that your data are sent over the internet.
GNU General Public License v3.0
21 stars 3 forks source link

Darktable crashes when I click Get tags #12

Open roberterzen opened 1 year ago

roberterzen commented 1 year ago

Hi,

I use Darkatable 4.2.1. on Windows 10. I installed photils as adviced on https://github.com/scheckmedia/photils-dt. Photils-cli for Windows is also installed in C:\Program files\photils-cli folder and this folder is added to PATH. Photils-cli works by itself - I tested it from command line. But probelms are in Darktable. I am able to Enable photils script in Darktable but whenever I select a picture and click GET TAGS my Dartable crashes immediately. Where should I search for a solution? Any idea? Thanks.

wadouk commented 8 months ago

Have you ask to darktable directly ? others lua scripts works. maybe a stuff called in photils that dt doesn't like anymore ?

wpferguson commented 1 month ago

I just tested on win 10 with current master and couldn't reproduce. I did find an error with temporary file creation and I'll take care of that in a few minutes.

Also, the C run time needs to be installed in order for the photils executable to run, https://answers.microsoft.com/en-us/windows/forum/all/error-message-for-msvcp140dll-and-vcruntime140dll/8c2c0803-08ac-4275-838e-b692077b5c9e