I get the following error in 'brutefir.log' and LMS gives a 'can't open file' error.
[code]
======== brutefirwrapper rev 12 starting at 1408785425 2014-08-23 09:17:05
Traceback (most recent call last):
File "/opt/logitechmediaserver/Plugins/BrutefirDrc/Bin/brutefirwrapper", line 579, in <module>
main()
File "/opt/logitechmediaserver/Plugins/BrutefirDrc/Bin/brutefirwrapper", line 93, in main
header = sys.stdin.read(44)
File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xdc in position 4: ordinal not in range(128)
[/code]
I can't find out the cause of the error - any help appreciated.
TIA
Bob
I did as you suggested and it has changed the error. Files appear to play but there is no sound and brutefir.log now shows the following on each track.
Any suggestions...
======== brutefirwrapper rev 12 starting at 1408808980 2014-08-23 15:49:40
Resampling brutefir filter from 48000 to 44100
BruteFIR v1.0m (November 2013) (c) Anders Torger
Traceback (most recent call last):
File "/opt/logitechmediaserver/Plugins/BrutefirDrc/Bin/brutefirwrapper", line 466, in read_tail
Internal resolution is 32 bit floating point.
age = time.time()-os.stat(tail_filename).st_mtime
OSError: [Errno 2] No such file or directory: '/tmp/.BrutefirDrc-996/tail-00_04_20_1e_d9_47.pcm'
Output follows (0.044s)
Creating 4 FFTW plans of size 32768...finished.
Loading coefficient set...finished.
Failed to open module "eq" in "/usr/lib/brutefir/eq.bflogic": /usr/lib/brutefir/eq.bflogic: undefined symbol: __aeabi_idiv.
Output complete (0.089s)
The following is from 'sample_filter_no_eq.txt' ...
======== brutefirwrapper rev 12 starting at 1408885628 2014-08-24 13:07:08
Resampling brutefir filter from 48000 to 44100
Patching brutefir input format from S24_LE to S16_LE
Patching brutefir output format from S24_LE to S16_LE
BruteFIR v1.0m (November 2013) (c) Anders Torger
Traceback (most recent call last):
File "/opt/logitechmediaserver/Plugins/BrutefirDrc/Bin/brutefirwrapper", line 466, in read_tail
age = time.time()-os.stat(tail_filename).st_mtime
OSError: [Errno 2] No such file or directory: '/tmp/.BrutefirDrc-996/tail-00_04_20_1e_d9_47.pcm'
Output follows (1.022s)
Internal resolution is 32 bit floating point.
Creating 4 FFTW plans of size 32768...finished.
Loading 3 coefficient sets...Memory allocation failure (0 bytes), terminating program.
Output complete (1.072s)
The following is from 'sample_filter_and_eq' ...
======== brutefirwrapper rev 12 starting at 1408885309 2014-08-24 13:01:49
Resampling brutefir filter from 48000 to 44100
Patching brutefir input format from S24_LE to S16_LE
Patching brutefir output format from S24_LE to S16_LE
BruteFIR v1.0m (November 2013) (c) Anders Torger
Traceback (most recent call last):
File "/opt/logitechmediaserver/Plugins/BrutefirDrc/Bin/brutefirwrapper", line 466, in read_tail
age = time.time()-os.stat(tail_filename).st_mtime
OSError: [Errno 2] No such file or directory: '/tmp/.BrutefirDrc-996/tail-00_04_20_1e_d9_47.pcm'
Output follows (1.824s)
Internal resolution is 32 bit floating point.
Creating 4 FFTW plans of size 32768...finished.
Loading 3 coefficient sets...Memory allocation failure (0 bytes), terminating program.
Output complete (1.872s)
In all cases I've set player preferences to PCM but have tried FLAC as well with same results.
On Wandboard the path fo LMS is '/opt/logitechmediaserver' so I've had to edit all references to 'squeezeboxsererver' paths in;
'/opt/logitechmediaserver/Plugins/BrutefirDrc/Bin/brutefirwrapper' (First line set to #!/usr/bin/python2)
'/opt/logitechmediaserver/Plugins/BrutefirDrc/Plugin.pm'
'/opt/logitechmediaserver/BrutefirDrc/Filters/..all filters.. (where I keep filters!)
Maybe I've missed some of the path edits but I've search through everything several times over. Have tried setting all files to chmod 777, owner to logitechms and group to logitechms (default LMS owner and group).
brutefir convolver is in /usr/bin set as root:root
brutefir convolver modules are in /usr/lib/brutefir set as root:root
.BrutefirDrc-996 in /tmp set as logitechms:logitechms (logitechms is user 996)
.BrutefirDrc-0 doesn't exist
Some owners, groups and chmods reset themselves to their defaults if I attempt to change them.
Hope this helps to find the problem
Bob
Don't know where to go from here. Processor architecture is ARM and Arch Linux Is the OS.
Bob
Thanks
Bob
Many thanks
Bob