It is currently Wed Jul 24, 2024 6:29 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Two instance if gmic
PostPosted: Tue Nov 12, 2013 8:05 am  (#1) 
Offline
GimpChat Member

Joined: Nov 12, 2013
Posts: 5
GIMP Version: 1.5.7
Operating System: Linux
GIMP Experience: Beginner Level



We use gmic with dcraw like this :

dcraw -c -D -4 Img0062.nef | gmic -.pgm -output Img0062.png

All it's OK since we only launch one at a time this kind of command. If we laucnh two command like this, gmic block at

[gmic]-0./ Start G'MIC parser.
[gmic]-0./ Input file '-.pgm' at position [0]

We have to reboot ta have gmic run again...

To you have any idea of the problem and how to solve it without rebooting ?

Thanks


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Two instance if gmic
PostPosted: Tue Nov 12, 2013 8:16 am  (#2) 
Offline
GimpChat Member

Joined: Nov 12, 2013
Posts: 5
It's seem that it's dcraw that bock and do not write anythong over the pipe...

Any idea about dcraw ?


Top
 Post subject: Re: Two instance if gmic
PostPosted: Tue Nov 12, 2013 8:19 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Maybe you should try to write the output of dcraw to a file instead.
No idea why dcraw blocks by the way !


Top
 Post subject: Re: Two instance if gmic
PostPosted: Tue Nov 12, 2013 8:49 am  (#4) 
Offline
GimpChat Member

Joined: Nov 12, 2013
Posts: 5
I did it

dcraw -c -D -4 Img0062.nef > Img0062.pgm

On machine B, it's OK, on machine A where I launch dcraw at the same time, it's impossible... The command block and do nothing. The only way is to reboot...

It's clear that's a dcraw problem and not a gmic one.


Top
 Post subject: Re: Two instance if gmic
PostPosted: Tue Nov 12, 2013 8:57 am  (#5) 
Offline
GimpChat Member

Joined: Nov 12, 2013
Posts: 5
If a launch with strace, it block on

open("/data/calcul/.badpixels", O_RDONLY

Here /data is an NFS mount...

If I just do

touch .badpixels

It's OK... no block anymore... I will send an email to the dcraw author.


Top
 Post subject: Re: Two instance if gmic
PostPosted: Tue Nov 12, 2013 10:05 am  (#6) 
Offline
GimpChat Member

Joined: Nov 12, 2013
Posts: 5
If you are under the folder /data/calcul/toto/titi

dcraw try to open /data/calcul/toto/titi/.badpixels, if not /data/calcul/toto/.badpixels, if not /data/calcul/.badpixels, if not /data/.badpixels, if not /.badpixels

Here, /data/calcul/toto is automount with autofs. dcraw block only if we have launch it two time in parallel, never in sequence. I think it's a bug with autofs on pseudo folder... very strange.

just do

touch .badpixels

in current folder to have a solution


Top
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Gmic

2

No new posts Attachment(s) looking to add old SamJ's to GMIC

1

No new posts Attachment(s) WHERE TO FIND???? NEED GMIC 32 BIT

1

No new posts Attachment(s) GMIC in the menu

10

No new posts Anyone have an exe file of GMIC 1.79 64 bit?

0



* Login  



Powered by phpBB3 © phpBB Group