similar to: "invalid byte sequence in US-ASCII" on i18n form

Displaying 20 results from an estimated 4000 matches similar to: ""invalid byte sequence in US-ASCII" on i18n form"

2010 Sep 21
3
Options for .rspec, or a verbose mode?
Hello everybody, in my app, (using rspec 2.0.0.beta22) I have my .rspec file with "--colour" in it., I want to know if are there any other options for this file? And I wanna know if is there a verbose mode of running my specs, listing their ''describes'' and/or ''its''? Thanks!
2010 Nov 03
3
Rake task for focused examples
Hi, Is it possible to make a rake task to run examples with a certain filter on? In this case I want to run rake spec:focused and run only the examples with :focus => true. - Toni
2013 Feb 18
8
Error with service: "invalid byte sequence in US-ASCII"
I just built a new puppet master, and whenever I run puppet on it, it throws an error while processing a service resource: # puppet agent -t > Info: Retrieving plugin > Info: Caching catalog for i-45dc2b1d > Info: Applying configuration version ''g > 9ea47ad19bc706a754c00f00a024309948d3ea03'' > Error: /Stage[main]/Ipa::Client::Basic/Service[sssd]: Could not
2009 Aug 17
1
Problem with setter override on ActiveRecord
(This message was originally written on StackOverflow -- the formatting is much prettier there -- http://stackoverflow.com/questions/1283046/problem-with-setter-override-on-activerecord) This is not exactly a question, it''s rather a report on how I solved an issue with write_attribute when the attribute is an object, on Rails'' Active Record. I hope this can be useful to others
2010 Apr 29
2
send_data => invalid byte sequence in US-ASCII
I''m trying to display a generated .png plot via send_data(), but it results in a server error "invalid byte sequence in US-ASCII" error. I''m pretty sure this means that I need to specify the encoding somewhere, but I haven''t been able to figure out where or how to do so. Some particulars: I''m running gnuplot through a pipe to generate a plot in .png
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not having i18n installed. Either bundler should be installing i18n along with activesupport or docs need to be updated. quick repro: https://github.com/softwaregravy/repro_active_support_i18n bundle exec irb require ''active_support/all'' detailed steps and error: 1) add to Gemfile require
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not having i18n installed. Either bundler should be installing i18n along with activesupport or docs need to be updated. quick repro: https://github.com/softwaregravy/repro_active_support_i18n bundle exec irb require ''active_support/all'' detailed steps and error: 1) add to Gemfile require
2008 Dec 14
0
Newbee met problems when do some i18n on rails
1. I have download the zh-CN.yml file from http://github.com/svenfuchs/rails-i18n/tree/master/rails locale 2. I have put this zh-CN.yml in to my locales folder. 3. I have modified the enviorment.rb like follow: config.i18n.load_path << Dir[File.join(RAILS_ROOT, ''my'', ''locales'', ''*. {rb,yml}'')] config.i18n.default_locale =
2010 Aug 01
3
The {{key}} interpolation syntax in I18n messages is deprecated...
All, Has anyone seen this - I am getting the following deprecation warning when running my functional tests under rails 2.3.8 (just moved an app from 2.3.4 up to 2.3.8 in prep to move to Rails 3 --- if you think this problem is solved in Rails 3 then let me know): The {{key}} interpolation syntax in I18n messages is deprecated. Please use %{key} instead. I have isolated the problem to the
2002 Mar 14
10
Samba and Windows XP
Hello, As we will migrate to Win XP Client, is there a site, document, etc ... where I can find information about tests and results of Win XP behaviour with SAMBA ? Thanks Orazio
2010 Aug 21
2
Rails 3: I18n.locale not set to I18n.default_locale in production
I have an application that uses I18n, but in the first deployment, I don''t want to enable different languages per user/request because there are very few users who all speak german). Therefore I have config.i18n.default_locale = :de in config/ application.rb. I have no code whatsoever to set/change I18n.locale in my app. In development environment, it works as expected: the
2010 Apr 26
11
Rails I18n
I was just wondering about locales and .yml files. Is it better to store the multilanguage strings in .yml files than in databases? And if yes, why? I was also wondering how rails are loading this files (for example, I have 4 languages in my web app, each has her own .yml file, will my rails app loads all the files in ram and then it will call each variable inside my web app? Or something else?)
2009 Dec 29
1
undefined method `alias_method_chain' for I18n::Backend::Simple:Class
Hi, We are running RE: ruby 1.8.7 (2009-06-12 patchlevel 174) [sparc-solaris2.10], MBARI 0x8770, Ruby Enterprise Edition 2009.10 I tried a simple web app with a controller rendering a text and is working in my PC but on the server I get: Error message: undefined method `alias_method_chain'' for I18n::Backend::Simple:Class Exception class: NoMethodError Application root:
2011 Nov 22
7
rake aborted with ruby on rails
when i run * rake db:create* * * WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require ''rdoc/task'' (in RDoc 2.4.2+)'' instead. at /home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/rake-0.9.2.2/lib/rake/rdoctask.rb DEPRECATION WARNING: Rake tasks in
2010 Jun 25
5
Error installing gems for Rails 3.0.0.beta4 on MacOSx
I tried to install Rails 3 Beta in my snow.leopard machine using the command below: (w/ sudo if it requires) gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n unfortunately after 12 gems installed i got an error regarding builder-2.1.2 12 gems installed Installing ri documentation for tzinfo-0.3.22... Installing ri documentation for
2006 May 05
0
Updating Squirrelmail-i18n dependency
Because of a folder display problem caused by certain character encodings used in some email headers we had previously updated to squirrelmail-1.4.6-1 and installed squirrelmail-i18n-1.4.6-1 to cope. Yum is now trying to update our installation with the latest offical Centos release but there does not seem to be a corresponding squirrelmail-i18n rpm available in any of the repositories which is
2009 Jun 24
3
I18N: allocator undefined for Proc
Hello all, I''m trying to translate my application using the I18N feature and it was working fine until I added a couple of new entries to the en.yml files. Now in every action in my application I always get the following error: TypeError in Account#login Showing app/views/account/login.rhtml where line #2 raised: allocator undefined for Proc Extracted source (around line #2): 1: 2:
2009 Jan 17
2
active_scaffold + i18n
Hello all, I have a project where I''m using active_scaffold and would also like to use i18n over it. While the i18n works fine if I just ignore the active_scaffold, I couldn''t get it running with it. I searched through its docs and googled quite a bit. Can I use i18n with active_scaffold? thanks cheers -- gallois aka Felipe Gallois blog: www.gallois.com.br/blog fanglib
2010 Oct 01
1
I18n.with_options bloc executed TWICE
Hi, to avoid putting the whole locale scope on every I18n.t call I''m trying to use a scope, as stated in the doc (http://guides.rubyonrails.org/active_support_core_extensions.html#with_options) I tried with <%= I18n.with_options :locale => :en, :scope => ''portal.visitor_menu'' do |i18n|%> Try <%= i18n.t :fav_songs %> <% end %> But it produce
2010 Jul 23
0
alias_method_chain with i18n
Hello, I was investigating solutions for i18n with will_paginate and I found a possible solution at http://lawrencesong.net/2009/01/enable-i18n-in-will_paginate-plugin/ The author adds to application_helper.rb the following code: ############################################# include WillPaginate::ViewHelpers def will_paginate_with_i18n(collection, options = {})