-
Notifications
You must be signed in to change notification settings - Fork 344
rbBinaryCFPropertyList.rb:217:in `encode': cannot load such file -- enc/trans/utf_16_32 (LoadError) #480
Comments
Looks like you might be missing some dependencies. Manually install gem to see what errors it throws gem install CFPropertyList -v 2.1.2 |
Hi elvlsimprsntr, How to fixed this issue? am i missing some lib in my fedora? |
that error does not affect the gem. it would help if you posted the entire error log beginning from the command you entered. Are using SiriProxy 0.5.2 and how did you install it? |
Hi elvisimprsntr, below are reinstall ruby logs and content of "/home/lewis/.rvm/log/ruby-2.0.0-p0/gemset.pristine.log" [lewis@Lewis SiriProxy.git]$ rvm reinstall 2.0.0 [lewis@Lewis ~]$ [lewis@Lewis SiriProxy.git]$ rvmsudo siriproxy server -d 172.17.144.21 -u nobody [Info - Server] SiriProxy up and running. zlib(finalizer): the stream was freed prematurely. zlib(finalizer): the stream was freed prematurely. |
@lewislone sorry for not getting back sooner, but did you ever resolve your problem? |
no. i have not resolve it. ------------------ 原始邮件 ------------------ @lewislone sorry for not getting back sooner, but did you ever resolve your problem? — |
Have you considered installing and running everything as root? Elvis On Apr 18, 2013, at 8:51, lewislone notifications@github.com wrote:
|
closed due to inactivity |
Hi elvisimprsntr, I am seeing the exact same issue as described above. I tried installing rvm as root, but it ended up just upgrading the RVM installation in my /home/user/.rvm/ directory (which didn't solve the Load Error issue). I am using siriproxy-0.5.4, and I installed it using the instructions found here: https://github.com/plamoni/SiriProxy. |
What version of ruby are you using? |
ruby-2.0.0-p247 |
Also, it doesn't always crash with the Load Error immediately as I press the mic... it processes different number of speech packets each time before crashing. |
Any idea what may be causing this? |
Sorry for not getting back sooner, I'm working 18 hours days. Can you give is some more details?
|
No worries, thanks so much for looking into it! Here are the details:
[shingorani@centos gems]$ rvmsudo siriproxy server -d 172.18.209.30 -u nobody
to avoid the warning, put it in shell initialization file to make it persistent. In case there is no
to avoid the warning, put it in shell initialization file to make it persistent. from /home/shingorani/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in eval' from /home/shingorani/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in 'zlib(finalizer): the stream was freed prematurely. zlib(finalizer): the stream was freed prematurely. |
Have you tried typing this command before launching SiriProxy? "export rvmsudo_secure_path=1" E
|
Or dropping the -u option? E
|
The "export ..." command doesn't stop it from crashing, but dropping the -u option does. However, when I launch it without the -u option, it warns me that "Running the server as root is dangerous." |
But did it solve the original problem. E
|
Sorry for the delay in responding, but yes, it did solve the original problem. Thank you. |
i meet a problem, can not find utf_16_32, is anybody with the same issue? i build siriproxy in fedora17, and error logs as below:
/home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:217:in
'encode': cannot load such file -- enc/trans/utf_16_32 (LoadError) from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:217:in
charset_convert'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:252:in
read_binary_unicode_string' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:331:in
read_binary_object'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:344:in
read_binary_object_at' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:292:in
block in read_binary_dict'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:290:in
upto' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:290:in
read_binary_dict'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:335:in
read_binary_object' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:344:in
read_binary_object_at'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:292:in
block in read_binary_dict' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:290:in
upto'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:290:in
read_binary_dict' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:335:in
read_binary_object'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:344:in
read_binary_object_at' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:292:in
block in read_binary_dict'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:290:in
upto' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:290:in
read_binary_dict'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:335:in
read_binary_object' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:344:in
read_binary_object_at'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:267:in
block in read_binary_array' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:266:in
upto'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:266:in
read_binary_array' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:333:in
read_binary_object'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:344:in
read_binary_object_at' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:292:in
block in read_binary_dict'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:290:in
upto' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:290:in
read_binary_dict'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:335:in
read_binary_object' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:344:in
read_binary_object_at'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:292:in
block in read_binary_dict' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:290:in
upto'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:290:in
read_binary_dict' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:335:in
read_binary_object'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:344:in
read_binary_object_at' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbBinaryCFPropertyList.rb:48:in
load'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbCFPropertyList.rb:305:in
load_str' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/CFPropertyList-2.1.2/lib/rbCFPropertyList.rb:253:in
initialize'from /home/lewis/SiriProxy.git/lib/siriproxy/connection.rb:142:in
new' from /home/lewis/SiriProxy.git/lib/siriproxy/connection.rb:142:in
parse_object'from /home/lewis/SiriProxy.git/lib/siriproxy/connection.rb:137:in
read_next_object_from_unzipped' from /home/lewis/SiriProxy.git/lib/siriproxy/connection.rb:91:in
process_compressed_data'from /home/lewis/SiriProxy.git/lib/siriproxy/connection.rb:59:in
receive_binary_data' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/em/protocols/linetext2.rb:94:in
receive_data'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in
run_machine' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in
run'from /home/lewis/SiriProxy.git/lib/siriproxy.rb:17:in
initialize' from /home/lewis/SiriProxy.git/lib/siriproxy/command_line.rb:106:in
new'from /home/lewis/SiriProxy.git/lib/siriproxy/command_line.rb:106:in
start_server' from /home/lewis/SiriProxy.git/lib/siriproxy/command_line.rb:90:in
run_server'from /home/lewis/SiriProxy.git/lib/siriproxy/command_line.rb:39:in
initialize' from /home/lewis/SiriProxy.git/bin/siriproxy:6:in
new'from /home/lewis/SiriProxy.git/bin/siriproxy:6:in
<top (required)>' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/bin/siriproxy:23:in
load'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/bin/siriproxy:23:in
<main>' from /home/lewis/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in
eval'from /home/lewis/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `
zlib(finalizer): the stream was freed prematurely.
zlib(finalizer): the stream was freed prematurely.
The text was updated successfully, but these errors were encountered: