Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Script lua
#7
Bonjour
effectivement de mon coté cd ~/snap/darktable/current ne correspond à rien
où faut il executer la commande git ?
dans le repertoire de l'application darktable ou dans le ./config ?
chez moi luarc est là
/Applications/darktable.app/Contents/Resources/share/darktable/luarc
or la copie du dossier lua se trouve dans .config/darktable (pour la version 3,8)
merci d'avance

j'ai executé git dans le repertoire .config/darktable

les scripts sont bien presents mais pas disponible dans l'interface darktable
luarc n'apparait pas dans le dossier
neanmoins darktablerc as  été modifié et les scripts lua apparaissent  dans le fichier  on a ces lignes là

lua/script_manager/category_selector=1
lua/script_manager/contrib/AutoGrouper=
lua/script_manager/contrib/CollectHelper=
lua/script_manager/contrib/HDRMerge=
lua/script_manager/contrib/LabelsToTags=
lua/script_manager/contrib/OpenInExplorer=
lua/script_manager/contrib/RL_out_sharp=
lua/script_manager/contrib/autostyle=
lua/script_manager/contrib/clear_GPS=
lua/script_manager/contrib/copy_attach_detach_tags=TRUE
lua/script_manager/contrib/cr2hdr=
lua/script_manager/contrib/enfuseAdvanced=
lua/script_manager/contrib/exportLUT=
lua/script_manager/contrib/ext_editor=
lua/script_manager/contrib/face_recognition=
lua/script_manager/contrib/fujifilm_dynamic_range=
lua/script_manager/contrib/fujifilm_ratings=
lua/script_manager/contrib/geoJSON_export=
lua/script_manager/contrib/geoToolbox=
lua/script_manager/contrib/gimp=
lua/script_manager/contrib/gpx_export=
lua/script_manager/contrib/hugin=
lua/script_manager/contrib/image_stack=
lua/script_manager/contrib/image_time=
lua/script_manager/contrib/kml_export=
lua/script_manager/contrib/passport_guide=
lua/script_manager/contrib/pdf_slideshow=
lua/script_manager/contrib/photils=TRUE
lua/script_manager/contrib/quicktag=TRUE
lua/script_manager/contrib/rate_group=
lua/script_manager/contrib/rename-tags=TRUE
lua/script_manager/contrib/select_untagged=
lua/script_manager/contrib/slideshowMusic=
lua/script_manager/contrib/transfer_hierarchy=
lua/script_manager/contrib/video_ffmpeg=
lua/script_manager/examples/api_version=
lua/script_manager/examples/darkroom_demo=
lua/script_manager/examples/gettextExample=
lua/script_manager/examples/hello_world=
lua/script_manager/examples/lighttable_demo=
lua/script_manager/examples/moduleExample=
lua/script_manager/examples/multi_os=
lua/script_manager/examples/panels_demo=
lua/script_manager/examples/preferenceExamples=
lua/script_manager/examples/printExamples=
lua/script_manager/examples/running_os=
lua/script_manager/installed_repos=1,lua-scripts,/Users/gwen/.config/darktable/lua,
lua/script_manager/main_menu_action=3
lua/script_manager/num_buttons=10
lua/script_manager/official/check_for_updates=
lua/script_manager/official/copy_paste_metadata=
lua/script_manager/official/delete_long_tags=
lua/script_manager/official/delete_unused_tags=
lua/script_manager/official/enfuse=
lua/script_manager/official/generate_image_txt=
lua/script_manager/official/image_path_in_ui=
lua/script_manager/official/import_filter_manager=
lua/script_manager/official/import_filters=
lua/script_manager/official/save_selection=
lua/script_manager/official/selection_to_pdf=
lua/script_manager/tools/executable_manager=
lua/script_manager/tools/gen_i18n_mo=
lua/script_manager/tools/get_lib_manpages=
lua/script_manager/tools/get_libdoc=
lua/script_manager/update_script_choices=1

confirmation dans le fichie readme.md

### Linux and MacOS

Ensure git is installed on your system. If it isn't, use the package manager to install it. Then open a terminal and:

cd ~/.config/darktable/
git clone https://github.com/darktable-org/lua-scripts.git lua

en utilsant ce script comme indiqué dans le readme j'obtiens ça
Gwenaels-Mini:lua gwen_old$ /Applications/darktable.app/Contents/MacOS/darktable -d lua

(process:9684): GLib-GObject-CRITICAL **: 22:34:06.588: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(darktable:9684): GLib-GObject-CRITICAL **: 22:34:07.799: invalid cast from 'GtkMenuBar' to 'GtkWindow'

(darktable:9684): Gtk-CRITICAL **: 22:34:07.799: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
ls: /Users/gwen: No such file or directory
ls: 1/.config/darktable: No such file or directory
sh: line 0: cd: /Users/gwen: No such file or directory
sh: line 0: cd: /Users/gwen: No such file or directory
sh: line 0: cd: /Users/gwen: No such file or directory
sh: line 0: cd: /Users/gwen: No such file or directory
Branch 'API-9.1.0' set up to track remote branch 'API-9.1.0' from 'origin'.
Switched to a new branch 'API-9.1.0'
find: /Users/gwen: No such file or directory
find: 1/.config/darktable/lua: No such file or directory
11,0094 LUA ERROR : Invalid index for combo box : 1

c'est logique car mon repertoire user a changé il faut juste que je trouve comment le rediriger correctement

Il faut juste que je trouve comment remplacer mettre l'espace de mon repertoire : gwen 1, car il n'est pas interpreté correctement comme l'indique ces deux lignes
find: /Users/gwen: No such file or directory
find: 1/.config/darktable/lua: No such file or directory
dans mon fichier darktablerc j'ai deux lignes avec le repertoire
lua/script_manager/installed_repos=1,lua-scripts,/Users/gwen 1/.config/darktable/lua
plugins/darkroom/lut3d/def_path=/Users/gwen 1

il faut que j'arrive a faire interprete l'espace j'ai essayé \ mais ça ne fonctionne pas
si quelqu'un a l'info merci !!
Répondre


Messages dans ce sujet
Script lua - par pilgrim - 08-07-23, 17:50
RE: Script lua Résolu - par pilgrim - 09-07-23, 10:06
RE: Script lua - par jpg54 - 09-07-23, 10:23
RE: Script lua - par Denis - 10-07-23, 18:34
RE: Script lua - par Gwen - 12-01-24, 22:31
RE: Script lua - par jpverrue - 13-01-24, 11:17
RE: Script lua - par Gwen - 13-01-24, 22:14
RE: Script lua - par jpverrue - 14-01-24, 12:34
RE: Script lua - par Gwen - 14-01-24, 16:20
RE: Script lua - par manu - 15-01-24, 10:06
RE: Script lua - par jpverrue - 15-01-24, 10:12
RE: Script lua - par Gwen - 15-01-24, 18:03
RE: Script lua - par manu - 15-01-24, 18:39
RE: Script lua - par manu - 16-01-24, 11:43
RE: Script lua - par Gwen - 30-01-24, 22:40
RE: Script lua - par manu - 31-01-24, 08:47

Atteindre :


Utilisateur(s) parcourant ce sujet : 2 visiteur(s)