installation Digikam mac OSX

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

installation Digikam mac OSX

steffle
Bonjour,

J'ai déjà vu sur ce forum des messages en Français... Même si je sais que c'est toujours accèssible à plus de personnes en anglais. l'anglais n'est pas évident pour moi mais je m'engage à traduire la solution si toutefois nous trouvons une solution à mon problème!

J'essaye (un peu désespérément!) d'installer Digikam sur mon Mac.
Après plusieurs étapes et suivi de plusieurs tutoriels ainsi qu'une aide précieuse (ici: https://archives.steinmetz.fr/journal/digikam-sous-osx.html), je n'ai toujours pas réussi.

Comme expliqué sur le site cité au dessus, la fenêtre d'ouverture se lance mais digikam n'arrive pas à s'ouvrir...

J'ai copié un bout du log après ouverture dans un terminal: (les 3 petits points indiquent une grande répétition)

"iMac-de-stephane:KDE4 steffle$ find /Applications/MacPOrts/KDE4 -name digikam
/Applications/MacPOrts/KDE4/digikam.app/Contents/MacOS/digikam
iMac-de-stephane:KDE4 steffle$ /Applications/MacPOrts/KDE4/digikam.app/Contents/MacOS/digikam
digikam(493)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes.
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
digikam(493)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes.
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::AudioOutput ( no objectName ).
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::VideoWidget ( no objectName ).
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
digikam(493)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: "The name org.kde.kded was not provided by any .service files"

digikam(493)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned
QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files
QFileSystemWatcher: failed to add paths: /Users/steffle/Pictures/Bibliothèque iPhoto.photolibrary/Database/Versions/2013/03/19/20130319-084145/BXZEBYjeQXCGQXmdpFH9zQ
QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files
QFileSystemWatcher: failed to add paths: /Users/steffle/Pictures/Bibliothèque iPhoto.photolibrary/Database/Versions/2013/03/19/20130319-084145/BeQvsGvET4iiFqkyDujRsA

...

QFileSystemWatcher: failed to add paths: /Users/steffle/Pictures/Bibliothèque iPhoto.photolibrary/Thumbnails/2013/03/19/20130319-084149/i2sWm2p7TGStVn%aBsS4fw
QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files

...

2013-04-27 12:04:49.576 digikam[493:707] Critical failure: the LastResort font is unavailable.

...

QEventDispatcherUNIXPrivate(): Unable to create thread pipe: Too many open files
QEventDispatcherUNIXPrivate(): Can not continue without a thread pipe
QKqueueFileSystemWatcherEngine: error during kevent wait: Bad file descriptor
KCrash: Application 'digikam' crashing...
KCrash: Attempting to start from kdeinit
sock_file=/Users/steffle/Library/Preferences/KDE/socket-iMac-de-stephane.local/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start directly
KCrash failed to exec(), errno = 2



Auriez vous une idée pour que je retrouve mon logiciel préféré??

en vous remerciant
Stéphane
Reply | Threaded
Open this post in threaded view
|

Re: installation Digikam mac OSX

Remco Viëtor
On Monday 06 May 2013 02:49:33 steffle wrote:

> Bonjour,
>
> J'ai déjà vu sur ce forum des messages en Français... Même si je sais que
> c'est toujours accèssible à plus de personnes en anglais. l'anglais n'est
> pas évident pour moi mais je m'engage à traduire la solution si toutefois
> nous trouvons une solution à mon problème!
>
> J'essaye (un peu désespérément!) d'installer Digikam sur mon Mac.
> Après plusieurs étapes et suivi de plusieurs tutoriels ainsi qu'une aide
> précieuse (ici:
> https://archives.steinmetz.fr/journal/digikam-sous-osx.html), je n'ai
> toujours pas réussi.
>
> Comme expliqué sur le site cité au dessus, la fenêtre d'ouverture se
lance

> mais digikam n'arrive pas à s'ouvrir...
>
> J'ai copié un bout du log après ouverture dans un terminal: (les 3 petits
> points indiquent une grande répétition)
>
> "iMac-de-stephane:KDE4 steffle$ find /Applications/MacPOrts/KDE4 -name
> digikam
> /Applications/MacPOrts/KDE4/digikam.app/Contents/MacOS/digikam
> iMac-de-stephane:KDE4 steffle$
> /Applications/MacPOrts/KDE4/digikam.app/Contents/MacOS/digikam
> digikam(493)/KSharedDataCache ensureFileAllocated: This system misses
> support for posix_fallocate() -- ensure this partition has room for at
least
> 10547296 bytes.
> QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still
in
> use, all queries will cease to work.
> digikam(493)/KSharedDataCache ensureFileAllocated: This system misses
> support for posix_fallocate() -- ensure this partition has room for at
least
> 10547296 bytes.
> WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend
plugin
> could not be loaded
> WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend
plugin
> could not be loaded
> WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend
plugin
> could not be loaded
> WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend
plugin
> could not be loaded
> WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend
plugin
> could not be loaded
> WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no
> objectName ) to Phonon::AudioOutput ( no objectName ).
> WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend
plugin
> could not be loaded
> WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no
> objectName ) to Phonon::VideoWidget ( no objectName ).
> WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend
plugin
> could not be loaded
> digikam(493)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned
> initialize() D-Bus call failed: "The name org.kde.kded was not provided
by
> any .service files"
>
> digikam(493)/kdecore (K*TimeZone*): No time zone information obtained
from
> ktimezoned
> QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files
> QFileSystemWatcher: failed to add paths:
> /Users/steffle/Pictures/Bibliothèque
>
iPhoto.photolibrary/Database/Versions/2013/03/19/20130319-084145/BXZEBYjeQXCGQXmdpFH9zQ
> QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files
> QFileSystemWatcher: failed to add paths:
> /Users/steffle/Pictures/Bibliothèque
>
iPhoto.photolibrary/Database/Versions/2013/03/19/20130319-084145/BeQvsGvET4iiFqkyDujRsA
>
> ...
>
> QFileSystemWatcher: failed to add paths:
> /Users/steffle/Pictures/Bibliothèque
>
iPhoto.photolibrary/Thumbnails/2013/03/19/20130319-084149/i2sWm2p7TGStVn%aBsS4fw

> QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files
>
> ...
>
> 2013-04-27 12:04:49.576 digikam[493:707] Critical failure: the LastResort
> font is unavailable.
>
> ...
>
> QEventDispatcherUNIXPrivate(): Unable to create thread pipe: Too many
open
> files
> QEventDispatcherUNIXPrivate(): Can not continue without a thread pipe
> QKqueueFileSystemWatcherEngine: error during kevent wait: Bad file
> descriptor
> KCrash: Application 'digikam' crashing...
> KCrash: Attempting to start from kdeinit
> sock_file=/Users/steffle/Library/Preferences/KDE/socket-iMac-de-
stephane.local/kdeinit4__0

> Warning: connect() failed: : No such file or directory
> KCrash: Attempting to start directly
> KCrash failed to exec(), errno = 2
>
>
>
> Auriez vous une idée pour que je retrouve mon logiciel préféré??
>
> en vous remerciant
> Stéphane
>
I'll try and summarise in English, with perhaps a few pointers to
where I see problems.

Stéphane is trying to get Digikam to run under MacOS X. Installation
seems to have worked, but Digikam crashes. He added a log (with repetitions
replaced by '...')

When looking through that log, I noticed several things:
(the thing about connection 'Connectiontest' and all queries failing can be
ignored)

1- there's a warning about needing at least 10 Gb free disk-space:
> ensureFileAllocated: This system misses...
So that must be checked...

2- Phonon can't find or load a suitable backend

3- then there's a lot of those:
> QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files
> QFileSystemWatcher: failed to add paths:
That looks like QKqueueFileSystemWatcherEngine is /opening/ a lot of files
(as in: one for every image?) and so there's no room later on to open a
required file (in this case a thread pipe, which is a special kind of
file). And then Digikam crashes...
(I take the message about Digikam being unable to open a font as a result
of the 'too many open files')

What I find particularly suspect here is the *QFileSystemWatcher/
QKqueueFileSystemWatcherEngine* needing so many open files. All later
errors are due to lack of file descriptors.

Also, the missing phonon backend might be innocent, or it could indicate a
missing dependency (or an incomplete or messed-up installation), as does
the remark in the log concerning ktimezoned.

[Résumé: Digikam plante à cause de trop de fichiers ouverts.
Au debut du log il y a un remarque comme quoi la partition du disque
concerné doit avoir au moins *10 Gb* de libre (fonction non implementée
sous MacOS). Aussi, il y a quelques indications qu'il y a peut-être des
dependences manquantes]

Bon courage,

Remco

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: installation Digikam mac OSX

steffle
merci pour la traduction!
Thank you for the translation!

En espérant trouver une solution!
Stéphane
Reply | Threaded
Open this post in threaded view
|

Re: installation Digikam mac OSX

Remco Viëtor
On Monday 06 May 2013 05:29:42 steffle wrote:
> merci pour la traduction!
> Thank you for the translation!
>
> En espérant trouver une solution!
> Stéphane
>

Comme j'ai suggeré, il y a des choses à verifier sur votre machine:
- place disponible sur le disque (10 Gb, selon le log)
- est-ce que tous les dependences sont bien disponible (et de la bonne
version...)

Cela dit, le lien suivant pourrait aussi indiquer la cause du problème:
https://deptinfo-ensip.univ-poitiers.fr/ENS/pyside-docs/PySide/QtCore/QFileSystemWatcher.html
Selon ce lien, MacOS X 10.4 utilise 1 descripteur par fichier à observer,
et souvent il y a une limite de 255 descripteur/process (note: Qt 4.7).
Un autre reference parait indiquer que QFileSystemWatcher sous MacOS X est
toujours assez fragile.

Remco


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: installation Digikam mac OSX

steffle
- pour ce qui est de l'espace disque disponible, j'ai plus de 450 gigas de libre...et une seule partition.

- y a t'il une solution pour vérifier si toutes les dépendances sont bien présentes?

en vous remerciant,
Stéphane
Reply | Threaded
Open this post in threaded view
|

Re: installation Digikam mac OSX

brad
In reply to this post by steffle

On May 6, 2013, at 5:49 AM, steffle <[hidden email]> wrote:

> QFileSystemWatcher: failed to add paths:
> /Users/steffle/Pictures/Bibliothèque
> iPhoto.photolibrary/Thumbnails/2013/03/19/20130319-084149/i2sWm2p7TGStVn%aBsS4fw
> QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files

(sorry my french is bad)

Quelle version du digikam?
  $ port list |grep -i digikam

et QT?
  $ port list |grep -i qt

et MacPorts?
 $ port version

et OS X?

 - brad

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: how do you select images for slide show?

Jean-François Rabasse
In reply to this post by Remco Viëtor

Hello Tred,

A small comment (I personally often do that kind of work,
selecting a list of images from inside Digikam, then doing
something with them with external tools).


On Wednesday 08 May 2013 19:15:06 Eildert Groeneveld wrote:

> I see what you are doing, and, yes, I understand how it works.
> It just bothers me that we do not have a simpler setup.
> Injecting tags is all very well, but ofcourse it triggers
> backup requirements for each single jog included in the
> slideshow, where actually you would just need one file or
> directory that contains a link to the original file.
> implementing this on top of the batch queue facility:
> this already allows you to collect various images as you
> screen them. Being able to somehow output theses filenames
> would already be enough, a little bash or perl script could do
> the rest.
From what you wrote above, I suppose you're comfortable with
scripting.

A very simple and fast way to exchange images file names lists
between Digikam and command line tools is to use the KDE
clipboard copy/paste functionalities.

You need first to mark and select your images, several solutions
have been given on that thread, structured tags, coloured flags,
etc.

When you have all your selected images in the Digikam thumbnails
view, type Ctrl-A to select all, then Ctrl-C to copy to
clipboard.

Now, in a separate terminal window, you can paste the list and
feed a command, it can be saving to a file :
     cat > files.list
type the command then paste and end input with a Ctrl-D.

NB: KDE paste is Shift-Ctrl-V, not the usual Ctrl-V

The file files.list contains all the pathnames of your selected
images. The default format used by the clipboard is URLs,
not just pathnames, so you'll get something like:
     file:///base-dir/.../image.jpg

To store just pathnames, you can « enhance » the above command :
     cat | sed 's/file:..//' > files.list

You're done.

Now, if you wish to build your own processing tools to resize
images, move them where you want them, etc., you can script some
processing based on Remco's example :
     for a in *
     do
         convert $a -resize ... etc

but using your files list, e.g. :
     for a in `cat files.list`
  do
         ...

You can also adapt your script(s) to read pathnames directly
on standard input, thus skipping the files list step.

The overall process is really fast once you get used to it,
select images using Digikam markers, Ctrl-A, Ctrl-C,
and Shift-Ctrl-V + Ctrl-D in a command line window.
And if you write your own commands, you will do exactly what
you wish. It's an alternative to the DK batch queue manager.

Regards,
Jean-François


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: installation Digikam mac OSX

steffle
In reply to this post by brad
hello
thank for answer

iMac-de-stephane:~ steffle$ port list |grep -i digikam
digikam                        @3.1.0          kde/digikam

iMac-de-stephane:~ steffle$ port list |grep -i qt
qt3-mac                        @3.3.8b         aqua/qt3-mac
qt4-mac                        @4.8.4          aqua/qt4-mac
qt4-mac-devel                  @4.8.3          aqua/qt4-mac-devel
qt4-mac-mysql55-plugin         @4.8.4          aqua/qt4-mac-mysql55-plugin
qt4-mac-mysql5-plugin          @4.8.4          aqua/qt4-mac-mysql55-plugin
qt4-mac-mysql51-plugin         @4.8.4          aqua/qt4-mac-mysql55-plugin
qt4-mac-mariadb-plugin         @4.8.4          aqua/qt4-mac-mysql55-plugin
qt4-mac-percona-plugin         @4.8.4          aqua/qt4-mac-mysql55-plugin
qt4-mac-postgresql91-plugin    @4.8.4          aqua/qt4-mac-postgresql91-plugin
qt4-mac-postgresql80-plugin    @4.8.4          aqua/qt4-mac-postgresql91-plugin
qt4-mac-postgresql81-plugin    @4.8.4          aqua/qt4-mac-postgresql91-plugin
qt4-mac-postgresql82-plugin    @4.8.4          aqua/qt4-mac-postgresql91-plugin
qt4-mac-postgresql83-plugin    @4.8.4          aqua/qt4-mac-postgresql91-plugin
qt4-mac-postgresql84-plugin    @4.8.4          aqua/qt4-mac-postgresql91-plugin
qt4-mac-postgresql90-plugin    @4.8.4          aqua/qt4-mac-postgresql91-plugin
qt4-mac-postgresql92-plugin    @4.8.4          aqua/qt4-mac-postgresql91-plugin
qt4-mac-sqlite2-plugin         @4.8.4          aqua/qt4-mac-sqlite2-plugin
qt4-mac-sqlite3-plugin         @4.8.4          aqua/qt4-mac-sqlite2-plugin
qtiplot                        @0.9.8.9        aqua/qtiplot
qtoctave-mac                   @0.10.1         aqua/qtoctave-mac
qtpfsgui                       @1.9.3          aqua/qtpfsgui
qtplay                         @1.3.1          audio/qtplay
cutecom-qt4-mac                @0.22.0         comms/cutecom-qt4-mac
telepathy-qt                   @0.9.3          comms/telepathy-qt
dbusmenu-qt                    @0.9.2          devel/dbusmenu-qt
qt-assistant                   @4.6.3          devel/qt-assistant
qt4-creator-mac                @2.6.1          devel/qt4-creator-mac
qtc-qtsharp                    @0.7a           devel/qtc-qtsharp
qtmobility                     @1.2.0          devel/qtmobility
qtscriptgenerator              @0.2.0          devel/qtscriptgenerator
qtsharp                        @0.7.1          devel/qtsharp
qthello                        @1.0            games/qthello
perlqt                         @4.10.3         kde/perlqt
polkit-qt                      @0.103.0        kde/polkit-qt
qtruby                         @4.10.3         kde/qtruby
smokeqt                        @4.10.3         kde/smokeqt
qore-qt4-module                @0.1.0          lang/qore-qt4-module
py-pyobjc-qtkit                @2.3            python/py-pyobjc-qtkit
py26-pyobjc-qtkit              @2.3            python/py-pyobjc-qtkit
py27-pyobjc-qtkit              @2.3            python/py-pyobjc-qtkit
py-pyqt4                       @4.10.1         python/py-pyqt4
py24-pyqt4                     @4.10.1         python/py-pyqt4
py25-pyqt4                     @4.10.1         python/py-pyqt4
py26-pyqt4                     @4.10.1         python/py-pyqt4
py27-pyqt4                     @4.10.1         python/py-pyqt4
py31-pyqt4                     @4.10.1         python/py-pyqt4
py32-pyqt4                     @4.10.1         python/py-pyqt4
py33-pyqt4                     @4.10.1         python/py-pyqt4
py-traitsbackendqt             @3.6.0          python/py-traitsbackendqt
py25-traitsbackendqt           @3.6.0          python/py-traitsbackendqt
py26-traitsbackendqt           @3.6.0          python/py-traitsbackendqt
py27-traitsbackendqt           @3.6.0          python/py-traitsbackendqt
py26-pyqt3                     @3.17.4         python/py26-pyqt3
py26-sip-qt3                   @4.7.4          python/py26-sip-qt3
gnuradio-qtgui                 @3.6.2          science/gnuradio-qtgui
qt4_select                     @0.3            sysutils/qt4_select
qt3                            @3.3.8          x11/qt3
qt4-x11                        @4.4.3          x11/qt4-x11

iMac-de-stephane:~ steffle$ port version
Version: 2.1.3

mac osx 10.8.3

one idea???
steffle