swfupload HTTP ERROR HTTP Status: 302 - swfupload

i have a problem with swfupload, it always return HTTP ERROR HTTP Status: 302 when i using FF, but work fine in other browser.
SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Version: 2.5.0 2010-03-05 Beta 3.2
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: http://localhost/administrator/upload
SWF DEBUG: File Types String: *.*
SWF DEBUG: Parsed File Types:
SWF DEBUG: HTTP Success: 0
SWF DEBUG: File Types Description: All Files (*.*)
SWF DEBUG: File Size Limit: 3145728 bytes
SWF DEBUG: File Upload Limit: 100
SWF DEBUG: File Queue Limit: 100
SWF DEBUG: Post Params:
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Stage Resize:64 by 23
SWF DEBUG: Button Image Loaded
SWF DEBUG: Stage Resize:64 by 23
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.*
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: StartUpload(): Upload Type: Normal.
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for standard upload. Starting upload to http://localhost/administrator/upload for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0 Bytes: 0. Total: 80202
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 80202. Total: 80202
**SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 302.**
EXCEPTION: fileName: http://localhost/js/upload/fileprogress.js
EXCEPTION: lineNumber: 51
EXCEPTION: columnNumber: 2
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Thanks in advance.

What you see here is a response from the server. And 302 means redirect. Check why your server is redirecting when uploading in the firefox.
I see you are using URL without trailing slash:
http://localhost/administrator/upload
some servers redirect to proper location by adding slash. Try upload to:
http://localhost/administrator/upload/

Related

Stream audio from raspberry via VLC: access_alsa demux error: cannot restrict channels count: Invalid argument

I want to stream microphone audio from a raspberry pi (3) via VLC. The microphone is a respeaker with 4 channels - maybe this is causing the issues?
The hardware is detected properly:
pi#raspberrypi:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 2: seeed4micvoicec [seeed-4mic-voicecard], device 0: bcm2835-i2s-ac10x-codec0 ac10x-codec0-0 [bcm2835-i2s-ac10x-codec0 ac10x-codec0-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Also creating a test record accessing the hw direcly works fine
pi#raspberrypi:~ $ arecord -D hw:2,0 -d 3 -f S32_LE test.wav -c 4
Recording WAVE 'test.wav' : Signed 32 bit Little Endian, Rate 8000 Hz, Channels 4
Same as with plughw:
pi#raspberrypi:~ $ arecord -D plughw:2,0 -d 3 test.wav -c 4
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Channels 4
Howver, trying to stream via VLC with
cvlc -vvv alsa://plughw:2,0 --sout '#transcode{acodec=mp3,ab=128}:rtp{mux=ts,dst=192.168.0.135,sdp=sap}'
does not work and gives: (short, full console output below)
[736060c0] access_alsa demux error: cannot restrict channels count: Invalid argument
[736060c0] main demux debug: no access_demux modules matched
[73617f90] main stream debug: creating access: alsa://plughw:2,0
[73617f90] main stream debug: looking for access module matching "alsa": 29 candidates
[73617f90] main stream debug: no access modules matched
[73500668] main input error: Your input can't be opened
What is the right command? Just adding channels=2 or something similar did not work.
Is there maybe another good approach to stream "live" audio from a raspberry?
full output:
pi#raspberrypi:~ $ cvlc -vvv alsa://plughw:2,0 --sout '#transcode{acodec=mp3,ab=128,channels=4}:rtp{mux=ts,dst=192.168.0.135,sdp=sap}'
VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)
[0035fb58] main libvlc debug: VLC media player - 3.0.17.4 Vetinari
[0035fb58] main libvlc debug: Copyright © 1996-2022 the VideoLAN team
[0035fb58] main libvlc debug: revision 3.0.13-8-g41878ff4f2
[0035fb58] main libvlc debug: configured with ./configure '--build=arm-linux-gnueabihf' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/arm-linux-gnueabihf' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-debug' '--config-cache' '--disable-update-check' '--enable-fast-install' '--docdir=/usr/share/doc/vlc' '--with-binary-version=3.0.17.4-0+deb10u1' '--enable-a52' '--enable-aa' '--enable-aom' '--enable-aribsub' '--enable-avahi' '--enable-bluray' '--enable-caca' '--enable-chromaprint' '--enable-chromecast' '--enable-dbus' '--enable-dca' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gles2' '--enable-gnutls' '--enable-harfbuzz' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-matroska' '--enable-mod' '--enable-mpc' '--enable-mpg123' '--enable-mtp' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-sdl-image' '--enable-sftp' '--enable-shine' '--enable-shout' '--enable-skins2' '--enable-sndio' '--enable-soxr' '--enable-spatialaudio' '--enable-speex' '--enable-svg' '--enable-svgdec' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vdpau' '--enable-vnc' '--enable-vorbis' '--enable-x264' '--enable-x265' '--enable-zvbi' '--with-kde-solid=/usr/share/solid/actions/' '--disable-d3d11va' '--disable-decklink' '--disable-directx' '--disable-dsm' '--disable-dxva2' '--disable-fdkaac' '--disable-fluidlite' '--disable-freerdp' '--disable-goom' '--disable-gst-decode' '--disable-libtar' '--disable-macosx' '--disable-macosx-avfoundation' '--disable-macosx-qtkit' '--disable-microdns' '--disable-mfx' '--disable-opencv' '--disable-projectm' '--disable-schroedinger' '--disable-sparkle' '--disable-srt' '--disable-telx' '--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-dc1394' '--enable-dv1394' '--enable-libplacebo' '--enable-linsys' '--enable-nfs' '--enable-omxil' '--enable-udev' '--enable-v4l2' '--enable-wayland' '--enable-libva' '--enable-vcd' '--enable-smbclient' '--disable-oss' '--disable-crystalhd' '--disable-mmx' '--disable-sse' '--disable-neon' '--disable-altivec' 'build_alias=arm-linux-gnueabihf' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/vlc-2z7Jum/vlc-3.0.17.4=. -fstack-protector-strong -Wformat -Werror=format-security ' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/vlc-2z7Jum/vlc-3.0.17.4=. -fstack-protector-strong -Wformat -Werror=format-security ' 'OBJCFLAGS=-g -O2 -fdebug-prefix-map=/build/vlc-2z7Jum/vlc-3.0.17.4=. -fstack-protector-strong -Wformat -Werror=format-security'
[0035fb58] main libvlc debug: searching plug-in modules
[0035fb58] main libvlc debug: loading plugins cache file /usr/lib/arm-linux-gnueabihf/vlc/plugins/plugins.dat
[0035fb58] main libvlc debug: recursively browsing `/usr/lib/arm-linux-gnueabihf/vlc/plugins'
[0035fb58] main libvlc debug: plug-ins loaded: 516 modules
[0035fb58] main libvlc debug: opening config file (/home/pi/.config/vlc/vlcrc)
[0035fd78] main logger debug: looking for logger module matching "any": 4 candidates
[0035fd78] main logger debug: using logger module "console"
[0035fb58] main libvlc debug: translation test: code is "C"
[003c7660] main keystore debug: looking for keystore module matching "memory": 4 candidates
[003c7660] main keystore debug: using keystore module "memory"
[0035fb58] main libvlc debug: CPU has capabilities ARM_NEON FPU
[003cb3c8] main input debug: Creating an input for 'Media Library'
[003cb3c8] main input debug: Input is a meta file: disabling unneeded options
[003cb3c8] main input debug: using timeshift granularity of 50 MiB
[003cb3c8] main input debug: using default timeshift path
[003cb3c8] main input debug: `file/directory:///home/pi/.local/share/vlc/ml.xspf' gives access `file' demux `directory' path `/home/pi/.local/share/vlc/ml.xspf'
[003bed90] main input source debug: creating demux: access='file' demux='directory' location='/home/pi/.local/share/vlc/ml.xspf' file='/home/pi/.local/share/vlc/ml.xspf'
[003bee78] main demux debug: looking for access_demux module matching "file": 17 candidates
[003bee78] main demux debug: no access_demux modules matched
[003c3a38] main stream debug: creating access: file:///home/pi/.local/share/vlc/ml.xspf
[003c3a38] main stream debug: (path: /home/pi/.local/share/vlc/ml.xspf)
[003c3a38] main stream debug: looking for access module matching "file": 29 candidates
[003c3a38] main stream debug: using access module "filesystem"
[003d2530] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
[003d2530] cache_read stream debug: Using stream method for AStream*
[003d2530] cache_read stream debug: starting pre-buffering
[003d2530] cache_read stream debug: received first data after 0 ms
[003d2530] cache_read stream debug: pre-buffering done 296 bytes in 0s - 1670 KiB/s
[003d2530] main stream debug: using stream_filter module "cache_read"
[003d2da0] main stream debug: looking for stream_filter module matching "any": 26 candidates
[003d2da0] playlist stream debug: using XSPF playlist reader
[003d2da0] main stream debug: using stream_filter module "playlist"
[003d2da0] main stream debug: stream filter added to 0x3d2530
[003d4fb0] main stream debug: looking for stream_filter module matching "any": 26 candidates
[003d4fb0] main stream debug: no stream_filter modules matched
[003d3430] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates
[003d3430] main stream_directory debug: no stream_directory modules matched
[003bed90] main input source debug: attachment of directory-extractor failed for file:///home/pi/.local/share/vlc/ml.xspf
[003d4fb0] main stream debug: looking for stream_filter module matching "record": 26 candidates
[003d4fb0] main stream debug: using stream_filter module "record"
[003bed90] main input source debug: creating demux: access='file' demux='directory' location='/home/pi/.local/share/vlc/ml.xspf' file='/home/pi/.local/share/vlc/ml.xspf'
[003bee78] main demux debug: looking for demux module matching "directory": 55 candidates
[003bee78] main demux debug: using demux module "directory"
[003d7b38] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[003d7b38] lua demux meta debug: Trying Lua scripts in /home/pi/.local/share/vlc/lua/meta/reader
[003d7b38] lua demux meta debug: Trying Lua scripts in /usr/lib/arm-linux-gnueabihf/vlc/lua/meta/reader
[003d7b38] lua demux meta debug: Trying Lua playlist script /usr/lib/arm-linux-gnueabihf/vlc/lua/meta/reader/filename.luac
[003d7b38] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[003d7b38] main demux meta debug: no meta reader modules matched
[003cb3c8] main input debug: `file/directory:///home/pi/.local/share/vlc/ml.xspf' successfully opened
[003c7710] main xml reader debug: looking for xml reader module matching "any": 1 candidates
[003c7710] main xml reader debug: using xml reader module "xml"
[003cb3c8] main input debug: EOF reached
[003bee78] main demux debug: removing module "directory"
[003d4fb0] main stream debug: removing module "record"
[003d2da0] main stream debug: removing module "playlist"
[003d2530] main stream debug: removing module "cache_read"
[003c3a38] main stream debug: removing module "filesystem"
[003d9918] main playlist debug: creating audio output
[003db950] main audio output debug: looking for audio output module matching "any": 6 candidates
[003db950] vlcpulse audio output debug: using library version 12.2.0
[003db950] vlcpulse audio output debug: (compiled with version 12.2.0, protocol 32)
[003db950] vlcpulse audio output debug: connected locally to unix:/run/user/1000/pulse/native as client #46
[003db950] vlcpulse audio output debug: using protocol 32, server protocol 32
[003db950] pulse audio output debug: adding sink 0: alsa_output.platform-bcm2835_audio.digital-stereo (Built-in Audio Digital Stereo)
[003db950] pulse audio output debug: adding sink 1: alsa_output.platform-bcm2835_audio.analog-stereo (Built-in Audio Analog Stereo)
[003db950] main audio output debug: using audio output module "pulse"
[003d9918] main playlist debug: keeping audio output
[003d7b38] main interface debug: looking for interface module matching "dbus,none": 19 candidates
[003d7b38] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[003d7b38] main interface debug: using interface module "dbus"
[003e7b58] main interface debug: looking for interface module matching "hotkeys,none": 19 candidates
[003e7b58] main interface debug: using interface module "hotkeys"
[003e8230] main interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates
[003e8230] main interface debug: using interface module "xcb_hotkeys"
[003e8c68] main interface debug: looking for interface module matching "dummy": 19 candidates
[003e8c68] dummy interface: using the dummy interface module...
[003e8c68] main interface debug: using interface module "dummy"
[003d9918] main playlist debug: processing request item: null, node: Playlist, skip: 0
[003d9918] main playlist debug: rebuilding array of current - root Playlist
[003d9918] main playlist debug: rebuild done - 1 items, index -1
[003d9918] main playlist debug: starting playback of new item
[003d9918] main playlist debug: resyncing on alsa://plughw:2
[003d9918] main playlist debug: alsa://plughw:2 is at 0
[003d9918] main playlist debug: creating new input thread
[73500668] main input debug: Creating an input for 'alsa://plughw:2'
[003d9918] main playlist debug: requesting art for new input thread
[736008a8] main stream output debug: using sout chain=`transcode{acodec=mp3,ab=128,channels=4}:rtp{mux=ts,dst=192.168.0.135,sdp=sap}'
[736008a8] main stream output debug: stream=`rtp'
[73600c48] main stream out debug: looking for sout stream module matching "rtp": 23 candidates
[62500638] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[62500638] lua meta fetcher debug: Trying Lua scripts in /home/pi/.local/share/vlc/lua/meta/fetcher
[62500638] lua meta fetcher debug: Trying Lua scripts in /usr/lib/arm-linux-gnueabihf/vlc/lua/meta/fetcher
[62500638] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[62500638] main meta fetcher debug: no meta fetcher modules matched
[62500638] main art finder debug: looking for art finder module matching "any": 2 candidates
[73600c48] main stream out debug: set config option: sout-rtp-mux to ts
[73600c48] main stream out debug: set config option: sout-rtp-dst to 192.168.0.135
[73600c48] main stream out debug: set config option: sout-rtp-sdp to sap
[73602010] main mux debug: looking for sout mux module matching "ts": 11 candidates
[62500638] lua art finder debug: Trying Lua scripts in /home/pi/.local/share/vlc/lua/meta/art
[62500638] lua art finder debug: Trying Lua scripts in /usr/lib/arm-linux-gnueabihf/vlc/lua/meta/art
[62500638] lua art finder debug: Trying Lua playlist script /usr/lib/arm-linux-gnueabihf/vlc/lua/meta/art/00_musicbrainz.luac
[62500638] lua art finder debug: skipping script (unmatched scope) /usr/lib/arm-linux-gnueabihf/vlc/lua/meta/art/00_musicbrainz.luac
[62500638] lua art finder debug: Trying Lua playlist script /usr/lib/arm-linux-gnueabihf/vlc/lua/meta/art/01_googleimage.luac
[73602010] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000
[73602010] main mux debug: using sout mux module "mux_ts"
[736008a8] main stream output debug: muxer support adding stream at any time
[736008a8] main stream output debug: muxer prefers to wait for all ES before starting to mux
[73600c48] stream_out_rtp stream out warning: unknown protocol for SDP ((null))
[73600c48] stream_out_rtp stream out debug: maximum RTP packet size: 1400 bytes
[73600c48] main stream out debug: net: connecting to [192.168.0.135]:5004
[62500638] lua art finder debug: skipping script (unmatched scope) /usr/lib/arm-linux-gnueabihf/vlc/lua/meta/art/01_googleimage.luac
[73600c48] main stream out debug: net: connecting to [192.168.0.135]:5005 from [192.168.0.135]:46230
[62500638] lua art finder debug: Trying Lua playlist script /usr/lib/arm-linux-gnueabihf/vlc/lua/meta/art/02_frenchtv.luac
[73600c48] stream_out_rtp stream out debug: sdp=
v=0
o=- 16602235945714572343 16602235945714572343 IN IP4 raspberrypi
s=Unnamed
i=N/A
c=IN IP4 192.168.0.135
t=0 0
a=tool:vlc 3.0.17.4
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=video 5004 RTP/AVP 33
b=RR:0
a=rtpmap:33 MP2T/90000
[73600c48] main stream out debug: using sout stream module "stream_out_rtp"
[736008a8] main stream output debug: stream=`transcode'
[73604710] main stream out debug: looking for sout stream module matching "transcode": 23 candidates
[62500638] lua art finder debug: skipping script (unmatched scope) /usr/lib/arm-linux-gnueabihf/vlc/lua/meta/art/02_frenchtv.luac
[62500638] lua art finder debug: Trying Lua playlist script /usr/lib/arm-linux-gnueabihf/vlc/lua/meta/art/03_lastfm.luac
[73604710] main stream out debug: set config option: sout-transcode-acodec to mp3
[73604710] main stream out debug: set config option: sout-transcode-ab to 128
[73604710] main stream out debug: set config option: sout-transcode-channels to 4
[62500638] lua art finder debug: skipping script (unmatched scope) /usr/lib/arm-linux-gnueabihf/vlc/lua/meta/art/03_lastfm.luac
[73604710] stream_out_transcode stream out debug: Checking codec mapping for mp3 got mp3
[73604710] stream_out_transcode stream out warning: 4 channels invalid for mp2/mp3, forcing to 2
[73604710] stream_out_transcode stream out debug: codec audio=mp3 0Hz 2 channels 128Kb/s
[62500638] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[73604710] main stream out debug: using sout stream module "stream_out_transcode"
[62500638] main art finder debug: no art finder modules matched
[73500668] main input debug: using timeshift granularity of 50 MiB
[73500668] main input debug: using default timeshift path
[73500668] main input debug: `alsa://plughw:2,0' gives access `alsa' demux `any' path `plughw:2,0'
[73605fc0] main input source debug: creating demux: access='alsa' demux='any' location='plughw:2,0' file='(null)'
[736060c0] main demux debug: looking for access_demux module matching "alsa": 17 candidates
[62200638] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[62200638] lua meta fetcher debug: Trying Lua scripts in /home/pi/.local/share/vlc/lua/meta/fetcher
[62200638] lua meta fetcher debug: Trying Lua scripts in /usr/lib/arm-linux-gnueabihf/vlc/lua/meta/fetcher

MP4 file won't stream into omxplayer,any idea why?

I have an MP4 that plays just fine using omxplayer
omxplayer F.mp4
If I use the -i flag, I get the following media information
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'F.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.83.100
Duration: 00:03:24.55, start: 0.000000, bitrate: 270 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 640x480, 136 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
Metadata:
handler_name : SoundHandler
I'm experimenting with simple streaming into omxplayer, without success. e.g.
cat F.mp4 | omxplayer -o hdmi --no-keys pipe:0
omxplayer prints
Video codec omx-h264 width 640 height 480 profile -99 fps 30.000000
Audio codec aac channels 2 samplerate 44100 bitspersample 16
Subtitle count: 0, state: off, index: 1, delay: 0
It seems to have figured out the write demux and codec to use. But then nothing. No vid or sound. Just sits there without even the courtesy of an error message.
If I add -b then the screen blanks, so omxplayer is definitely able to send that change to the hdmi output
This may seem a bit pointless,but I am trying to understand the streaming mechanism with a view to replacing the cat with nc, or some other mechanism to provide streaming. I want hw accelerated video rendering so I figured omxplayer was the way to go.
Tried --genlog and it generated an omplayer.log as shown below, but I can't interpret it. Any ideas?
I'm running a model 1 rpi (2012 with 512K, medium overclock)
uname -a
Linux alice 5.10.103+ #1529 Tue Mar 8 12:19:18 GMT 2022 armv6l GNU/Linux
15:37:42 T:18446744071896302655 DEBUG: DllBcm: Using omx system library
15:37:42 T:18446744071896310619 DEBUG: DllOMX: Using omx system library
15:37:42 T:18446744071896316156 DEBUG: DllAvFormat: Using libavformat system library
15:37:42 T:18446744071896330767 DEBUG: DBus connection succeeded
15:37:42 T:18446744071896331310 DEBUG: DllAvUtilBase: Using libavutil system library
15:37:42 T:18446744071896331482 DEBUG: DllAvCodec: Using libavcodec system library
15:37:42 T:18446744071896331629 DEBUG: DllAvFormat: Using libavformat system library
15:37:43 T:18446744071896641670 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.clock input port 80 output port 81 m_handle 0x190e3a0
15:37:43 T:18446744071896644473 DEBUG: OMXClock::OMXStop
15:37:43 T:18446744071896645461 DEBUG: OMXClock::OMXSetSpeed(0.00) pause_resume:1
15:37:43 T:18446744071896646725 DEBUG: DllAvUtilBase: Using libavutil system library
15:37:43 T:18446744071896647084 DEBUG: DllAvCodec: Using libavcodec system library
15:37:43 T:18446744071896647244 DEBUG: DllAvFormat: Using libavformat system library
15:37:43 T:18446744071896656635 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.video_decode input port 130 output port 131 m_handle 0x190e2b0
15:37:43 T:18446744071896665681 DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.video_decode) - port(130), nBufferCountMin(1), nBufferCountActual(60), nBufferSize(81920), nBufferAlignmen(16)
15:37:43 T:18446744071896718556 DEBUG: COMXVideo::Open - decoder_component(0x0x190e2b0), input_port(0x82), output_port(0x83) deinterlace 1 hdmiclocksync 0
15:37:43 T:18446744071896722676 DEBUG: OMXThread::Create - Thread with id -1390416192 started
15:37:43 T:18446744071896724920 DEBUG: OMXThread::Create - Thread with id -1398808896 started
15:37:43 T:18446744071896725390 DEBUG: DllAvUtilBase: Using libavutil system library
15:37:43 T:18446744071896725579 DEBUG: DllAvCodec: Using libavcodec system library
15:37:43 T:18446744071896725731 DEBUG: DllAvFormat: Using libavformat system library
15:37:43 T:18446744071896726018 DEBUG: DllAvUtilBase: Using libavutil system library
15:37:43 T:18446744071896726180 DEBUG: DllAvCodec: Using libavcodec system library
15:37:43 T:18446744071896726328 DEBUG: DllAvFormat: Using libswresample system library
15:37:43 T:18446744071896731219 DEBUG: DllAvUtilBase: Using libavutil system library
15:37:43 T:18446744071896731512 DEBUG: COMXAudio::SetCodingType OMX_AUDIO_CodingPCM
15:37:43 T:18446744071896731834 INFO: CPCMRemap: I channel map: FL,FR
15:37:43 T:18446744071896732139 INFO: CPCMRemap: O channel map: FL,FR
15:37:43 T:18446744071896732308 DEBUG: CPCMRemap: Downmix normalization is disabled
15:37:43 T:18446744071896732598 DEBUG: CPCMRemap: FL = FL(1.000000*)
15:37:43 T:18446744071896732858 DEBUG: CPCMRemap: FR = FR(1.000000*)
15:37:43 T:18446744071896749032 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_decode input port 120 output port 121 m_handle 0x191eb10
15:37:43 T:18446744071896758587 DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.audio_decode) - port(120), nBufferCountMin(4), nBufferCountActual(16), nBufferSize(65536), nBufferAlignmen(16)
15:37:43 T:18446744071896782313 DEBUG: COMXAudio::Initialize Input bps 32 samplerate 44100 channels 2 buffer size 529200 bytes per second 352800
15:37:43 T:18446744071896785722 DEBUG: pcm->direction : input
15:37:43 T:18446744071896786081 DEBUG: pcm->nPortIndex : 120
15:37:43 T:18446744071896786246 DEBUG: pcm->eNumData : 0
15:37:43 T:18446744071896786400 DEBUG: pcm->eEndian : 1
15:37:43 T:18446744071896786552 DEBUG: pcm->bInterleaved : 1
15:37:43 T:18446744071896786707 DEBUG: pcm->nBitPerSample : 32
15:37:43 T:18446744071896786951 DEBUG: pcm->ePCMMode : 0
15:37:43 T:18446744071896787116 DEBUG: pcm->nChannels : 2
15:37:43 T:18446744071896787273 DEBUG: pcm->nSamplingRate : 44100
15:37:43 T:18446744071896787426 DEBUG: OMX_AUDIO_ChannelLF
15:37:43 T:18446744071896787573 DEBUG: OMX_AUDIO_ChannelRF
15:37:43 T:18446744071896787941 DEBUG: COMXAudio::Initialize device omx:hdmi passthrough 0 hwdecode 0
15:37:43 T:18446744071896790492 DEBUG: OMXThread::Create - Thread with id -1409540416 started
15:37:43 T:18446744071896792366 NOTICE: OMXClock using audio as reference
15:37:43 T:18446744071896795919 DEBUG: OMXClock::OMXReset audio / video : 1 / 1 wait mask 0->3 state : 2->1
15:37:43 T:18446744071896798962 DEBUG: Popped message member: NameAcquired interface: org.freedesktop.DBus type: 4 path: /org/freedesktop/DBus
15:37:43 T:18446744071896799494 WARNING: Unhandled dbus message, member: NameAcquired interface: org.freedesktop.DBus type: 4 path: /org/freedesktop/DBus
15:37:43 T:18446744071896800666 DEBUG: Normal M:0 (A:-4503599627370496 V:-4503599627370496) P:1 A:0.00 V:0.00/T:0.20 (0,0,0,0) A:0% V:0% (0.00,6.34)
15:37:43 T:18446744071896802089 INFO: COMXVideo::SubmitEOS
15:37:43 T:18446744071896804853 INFO: COMXAudio::SubmitEOS
15:37:43 T:18446744071896827226 DEBUG: Popped message member: NameAcquired interface: org.freedesktop.DBus type: 4 path: /org/freedesktop/DBus
15:37:43 T:18446744071896827595 WARNING: Unhandled dbus message, member: NameAcquired interface: org.freedesktop.DBus type: 4 path: /org/freedesktop/DBus
15:37:43 T:18446744071896828571 DEBUG: Normal M:0 (A:-4503599627370496 V:-4503599627370496) P:1 A:0.00 V:0.00/T:0.20 (0,0,0,0) A:0% V:0% (0.00,6.34)
15:37:43 T:18446744071896829028 DEBUG: Resume 0.00,0.00 (0,0,0,0) EOF:1 PKT:(nil)
15:37:43 T:18446744071896829226 DEBUG: OMXClock::OMXSetSpeed(1.00) pause_resume:1
15:37:43 T:18446744071896851193 DEBUG: Normal M:0 (A:-4503599627370496 V:-4503599627370496) P:0 A:0.00 V:0.00/T:0.20 (0,0,0,0) A:0% V:0% (0.00,6.34)

polkit-0.113-r0 do_configure: Function failed: do_configure

building policy kit (polkit : present in meta-openembedded [branch : pyro])using yocto and during build getting following error :
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_configure
| cp: cannot stat '/home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/recipe-sysroot//usr/share/aclocal/introspection.m4': No such file or directory
| WARNING: /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/temp/run.do_configure.4300:1 exit 1 from 'cp /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/recipe-sysroot/usr/share/aclocal/introspection.m4 /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/polkit-0.113/m4'
| ERROR: Function failed: do_configure (log file is located at /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/temp/log.do_configure.4300)
Please let me know, how can fix this issue ?
You see an extra slash (/) before usr ?
...recipe-sysroot//usr/share/aclocal...
This is creating problem, and say No such directory.
Fix this, Check for any prefix path you have set or it might be a typo error.

Executing an exe file in PowerShell in the path variable

I have an exe file fciv.exe in a folder which i have added to my path variable.
I checked it using
$env:Path
But if i just specify the name of the command,
fciv -h
powershell shows the command not found exception.
The same command works in the cmd command prompt.
I have the execution policy set to unrestricted
Is there anything else i should do to make it work in Powershell?
EDIT
The relevant lines from output of
Trace-Command Command* {fciv -h} -PSHost
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.ps1 in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.psm1 in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.psd1 in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.COM in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.EXE in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.BAT in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.CMD in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.VBS in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.VBE in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.JS in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.JSE in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.WSF in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.WSH in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.MSC in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.CPL in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandDiscovery Information: 0 : Looking for fciv in "E:\My Software\FCIV"
DEBUG: CommandSearch Information: 0 : WriteLine Current directory results are invalid
DEBUG: CommandSearch Information: 0 : WriteLine Current patterns exhausted in current directory: "E:\My Software\FCIV"
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.ps1 in E:\My Software\AVG\Av
Note that "E:\My Software\FCIV" is the directory where fciv executable file is located.
EDIT 2
Looking at the command trace and seeing that it's looking for fciv.EXE in the right folder but skipping right thorugh, i thought the Upper Case of the extenseion .EXE was the problem so i tried adding .exe to the PATHEXT variable
Now it looks for fciv.exe in the correct folder but still skips right through it and says it has exhausted current patterns in the current directory.
EDIT 3
I have figured it out, it seems that in my PATH environment variable
"E:\My Software\FCIV"
appeared within double quotes while, no other directory was.
Command Prompt cmd was able to work despite this however powershell is not,
i don't see why but i am glad i at least found out how to solve the problem.
Note: You have updated your question with an answer, but it's nice to have an actual answer posted.
In your debug trace you get lines like the following:
DEBUG: CommandDiscovery Information: 0 : Looking for fciv.ps1 in "E:\My Software\FCIV"
The path is "E:\My Software\FCIV" when it should be E:\My Software\FCIV.
This indicates your path is incorrectly set, and this item is quoted in your path when it does not need to be.
Here is an excerpt of an example trace from then I run iexplore.exe:
DEBUG: CommandDiscovery Information: 0 : Looking for iexplore.exe.* in
C:\Program Files (x86)\Internet Explorer DEBUG: CommandSearch
Information: 0 : WriteLine Next path found: C:\Program Files
(x86)\Internet Explorer\iexplore.exe DEBUG: CommandDiscovery
Information: 0 : Command Found: path (C:\Program Files (x86)\Internet
Explorer\iexplore.exe) is an application with name: iexplore.exe
Note that the paths are not quoted and it found the executable.

puppet can't get the right service status from centos5.3

when i disable puppet service ,centos5.3 system always have change: " Notice: /Stage[main]/Puppet/Service[puppet]/ensure: ensure changed 'running' to 'stopped'
Notice: Finished catalog run in 1.15 seconds"
just say the code :
[root#xen-21206-vm02 ~]# puppet resource service puppet -d
Debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does not exist
Debug: Puppet::Type::Service::ProviderOpenrc: file /sbin/rc-service does not exist
Debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not exist
Debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not exist
Debug: Puppet::Type::Service::ProviderDebian: file /usr/sbin/update-rc.d does not exist
Debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist
Debug: Puppet::Type::Service::ProviderSystemd: file systemctl does not exist
Debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does not exist
Debug: Puppet::Type::Service::ProviderOpenrc: file /sbin/rc-service does not exist
Debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not exist
Debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not exist
Debug: Puppet::Type::Service::ProviderDebian: file /usr/sbin/update-rc.d does not exist
Debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist
Debug: Puppet::Type::Service::ProviderSystemd: file systemctl does not exist
Debug: Executing '/sbin/service puppet status'
Debug: Executing '/sbin/chkconfig puppet'
service { 'puppet':
ensure => 'running',
enable => 'false',
}
[root#xen-21206-vm02 ~]# /sbin/service puppet status
puppet is stopped
[root#xen-21206-vm02 ~]# echo $?
3
this agent get the wrong service status.should
service { 'puppet':
ensure => 'stopped',
enable => 'false',
}
who can help me?
thks