Tracker: Bugs

5 /dev/null truncates to /dev/nu on load of PNG or JPG - ID: 2892554
Last Update: Settings changed ( gfinch )

Trying to lad the JPG or PNG frame anew leads to MsgBox claiming to look at
the terminal. Here is what I see out there:
===
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
cannot create /dev/nu: Operation not supported
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Triggered)
subgraph starting at LiVES_audio_out timed out (subgraph_wait_fd=7, status
= 0, state = Running)
Jack audio error cannot complete execution of the processing graph
(Resource temporarily unavailable)
Jack audio error zombified - calling shutdown handler
cannot create /dev/nu: Operation not supported
jack shutdown, setting client to 0 and jackd_died to true
trying to reconnect right now

Failed to open file - I tried:

LANGUAGE=en LANG=en /usr/local/bin/mplayer -quiet -osdlevel 0 -vo
jpeg:quality=75 -noframedrop -ao pcm -vf scale -mc 0
"/home/me/pix/2009-11-05/cast-frame.jpg" </dev/null

Maybe you are missing a library in mplayer (or it is not a valid media
file) ?
unique name `LiVES_audio_out-01' assigned
cannot create /dev/nu: Operation not supported
cannot create /dev/nu: Operation not supported

Failed to open file - I tried:

LANGUAGE=en LANG=en /usr/local/bin/mplayer -quiet -osdlevel 0 -vo
jpeg:quality=75 -noframedrop -ao pcm -vf scale -mc 0
"/tmp/cast-frame.png" </dev/null

Maybe you are missing a library in mplayer (or it is not a valid media
file) ?
===
I think this is because of error in a shell command, probably it gets
truncated.
System is: freebsd-7.1 as of January, 2009 and lives port of that date.


Peter Vereshagin ( petr999 ) - 2009-11-05 12:12

5

Closed

Works For Me

Nobody/Anonymous

unknown

None

Public


Comments ( 5 )

Date: 2009-11-12 11:53
Sender: petr999

Patch did not make it work.
But I updated to 1.0.5 from the ports (freshports.org-cvsweb-tarball) and
it works without patch.
Thank you I should report 2 more troubles if no objections.


Date: 2009-11-08 23:05
Sender: gfinchProject AdminAccepting Donations

Another user just emailed me a png which would not open, the problem was
found to be with mplayer which was incorrectly labelling the image file as
audio.

You can try the following patch and see if it solves this problem. You
need to change 1 line in /usr/bin/smogrify, around line 3529:

change:
if (($hsize*$vsize==0||$count eq "")&&!($type eq "Audio")) {

to:
if ($hsize*$vsize==0||$count eq "") {

please let me know if it fixes the problem for you so I can close this
bug.



Date: 2009-11-06 09:21
Sender: petr999

version is: lives-0.9.8.10_2
ImageMagick-6.4.8.3
Those can be easily seen at, for example:
http://www.freshports.org/multimedia/lives/
for that moment.
I can update to a newest version, should it be fine to update the lives
only?


Date: 2009-11-06 00:25
Sender: gfinchProject AdminAccepting Donations

There is something very strange going on here, because the file should be
recognised as a jpeg and should never even be passed to mplayer.

Do you have imageMagick installed ?

Also January 2009 would be a very old version of LiVES. What is the
version number (from Help/About) ?


Date: 2009-11-05 12:25
Sender: petr999

As a workaround, I made a symlink /dev/nu to /dev/null and it works. Should
be interesting to get rid of this though, thanks.


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2009-11-17 05:39 gfinch
resolution_id None 2009-11-17 05:39 gfinch
allow_comments 1 2009-11-17 05:39 gfinch
close_date - 2009-11-17 05:39 gfinch