Displaying 20 results from an estimated 5000 matches similar to: "Error when *just* adding utf8 encoding to database.yaml"
2006 May 11
5
Recommendations for Apache 2 with mod_fcgid
Hi,
Have been pulling out my hair for the last few days wondering what I''m
going to deploy my site onto.
I currently have FreeBSD 4.7, Apache 1.3.3, PHP 4 and MySQL 4 running a
year-old PHP site. Dated stuff I know!
The new version of the site will be entirely Ruby on Rails, and I am
wondering what order I should be doing things in terms of upgrades and
installation. I want to be
2006 Jul 24
7
RoR + MySQL + Unicode
hello! I have a problem when I want to display data in Unicode from
database. I read <a
href="http://ruphus.com/blog/2005/06/23/getting-unicode-mysql-and-rails-to-cooperate/">this
tutorial</a> but I still have problem with non-English characters. I
don''t have any other idea what I should do. Did you meet with similat
problem? Have you got any idea? Thanks in
2006 Apr 08
16
International characters
I am new to Ruby on Rails. I have read a lot, and bought several books,
and now I have started to implement a modified "shopping cart",
following the AWDWR-book, with modifications to suit our application
(subscriptions and memberships).
Having done up to chapter 7 I have had no real problems, except one:
Since our customers are Swedish I need the screen names, texts etc to be
in
2009 Aug 07
1
Yaml for jqgrid
Anyone have a more extensive yaml file for jqgrid than the one that''s
shown with the example Jqgrid Demos page?
Also, I''ve been successful in just using the straight jQuery javascript
code, rather than invoking the yaml file to produce it), but sometimes
get an "unitialized class variable @@grid_name" error. I was doing this
because all the code I see on the web to
2012 Jan 24
1
bugzilla + centos 5.7 + yaml errors
Hi all,
Struggling with installing ol Bugzy 4.0.3 onto Centos 5.7.
When I run the checksetup.pl script included with Bugzilla, I get the
message;
/usr/bin/perl install-module.pl Email::MIME
So I run this from the command line and get YAML errors;
Checking for YAML (any) not found
I had installed YAML via;
yum install *YAML*
The package perl-YAML-0.72-1.el5.rf.noarch
2008 Apr 16
2
Question about yaml. Thank you !!
Hi friends:
I tried to convert a model object to yaml(use to_yaml method), and after
that, I would like to convert the yaml(string type) back to the model
object. But when I use YAML::load to do that, it failed, the return
object''s class is Yaml class, not my prior model class.. Please tell me
how can I do to convert yaml to an object as the prior model class, or
how can I access the
2009 Oct 12
2
yaml ?nodes? or nested maps
I want to iterate ?nodes? and ?leafs? for a yaml document:
thufir@ARRAKIS:~/projects/rss$
thufir@ARRAKIS:~/projects/rss$ ruby user.rb
user.rb:6: undefined method `[]'' for nil:NilClass (NoMethodError)
from user.rb:5:in `each_key''
from user.rb:5
thufir@ARRAKIS:~/projects/rss$
thufir@ARRAKIS:~/projects/rss$ ruby user2.rb
user2.rb:5: undefined method `[]'' for
2013 Mar 10
1
hiera yaml namespace nesting
Hi,
I''ve just got hiera deployed into a new puppet environment, and have
defined a class as follows:
modules/role/manifests/ui.pp
=====================
class role::ui (
$public_hostname
) {
notify {''role::ui::notify'':
message => "role::ui configured for ${::data_center}; hostname:
$public_hostname",
}
}
This is then included into
2012 Oct 23
0
[LLVMdev] Status of YAML IO?
On Oct 22, 2012, at 4:40 PM, Sean Silva wrote:
> Hey Nick, what's the status on YAML IO? The other thread seems to have died.\
I'm waiting on Michael Spencer's feedback.
The issues I know of right now are:
1) Should we structure YAML I/O to be a more general I/O utility that could support reading and writing other data formats such as JSON or plists. RIght now, all the code is
2006 Nov 01
0
Re: YAML.load(some_string) doesn't return hash?
Oleg Kh wrote:
> A small problem here. As per documentation on
> http://corelib.rubyonrails.org/classes/YAML.html YAML.load(string)
> should just return a hash. However on my windows machine it returns
> something like this:
>
> #<YAML::Syck::DomainType:0x36d5038
> @domain="yaml.org,2002",
> @type_id="map:HashWithIndifferentAccess",
>
2012 Oct 22
2
[LLVMdev] Status of YAML IO?
Hey Nick, what's the status on YAML IO? The other thread seems to have died.
-- Sean Silva
2008 Oct 21
1
No such file or directory - /var/lib/puppet/yaml/*
Hi,
I reinstalled puppet-server and am now getting these error messages from
clients:
err: /File[/var/lib/puppet/facts]: Failed to generate additional resources
during transaction: No such file or directory - /var/lib/puppet/yaml/node
err: /File[/var/lib/puppet/facts]: Failed to retrieve current state of
resource: No such file or directory - /var/lib/puppet/yaml/node Could not
describe /facts:
2006 Jul 24
0
HTML YAML Builder
Is anyone interested in a YAML Builder for HTML?
Some trivial YAML that could be converted to HTML:
html:
- head:
- title: My title
- body:
- p:
- {!id: someId, !class: class1 class2}
- Hello
- img: {!src: someurl.gif}
- hr:
- ul: [{!id: someId}, {li: hello}, {li: goodbye}]
- ul:
- {!style: "height: 30px"}
- li: [{!id: first}, First]
-
2006 May 02
0
YAML failing to de-serialize
I''m seeing this same problem that Josh was seeing back on March 23rd
(see below)
I''ve got the following YAML snippet stored in a text field:
"--- !ruby/object:FieldValue \nattributes: \n item_id: 60\n title:
Test\n field_id: 15\n created_by_id: 5\n locale: en\n link:
www.cclearn.com\n comment: this is a test\n created_at: 2006-05-02
15:43:14.256792 Z\nnew_record:
2010 Jul 28
1
Problem loading YAML files and using pluralize method in Rails3rc
Hi,
I just upgraded my rails app from rails3.0.0beta4 to rails3.0.0rc and
I''m having problems loading a yaml file. I have a load_config.rb in
the initializers folder which loads a yaml file. The basic loading
code is:
FACEBOOK_CONFIG = YAML.load_file(File.join(Rails.root, ''config'',
''facebooker.yml''))[RAILS_ENV]
This stopped working when I moved to
2013 Mar 11
0
[LLVMdev] YAML IO problems
I'm trying to parse a simple JSON file, and am having problems with using
YAMLIO. FWIW, I see the unit test YAMLIOTest.cpp is disabled with a #if 0.
Anyway, the JSON file yaml.json contains:
{
"bool_test": true,
"directory": ".",
"suffix": "_test",
"int_test": 4
}
The test program when run shows:
YAML:5:15: error: invalid
2013 May 07
1
[LLVMdev] YAML I/O maturity level
I've started using YAML I/O in clang-format configuration parser, and
stumbled upon a bug with handling empty input string. While filing it (
http://llvm.org/bugs/show_bug.cgi?id=15927), I've found another bug which
hasn't been answered to since March (
http://llvm.org/bugs/show_bug.cgi?id=15505).
So, the question is: how ready is YAML I/O ready for using in production
code?
Thanks!
2008 Mar 25
0
New package: yaml 1.0 released to CRAN
Hi all,
I've released a new package to CRAN called 'yaml'. It allows R to
parse YAML documents (http://yaml.org) into R objects, and there are
a few methods to convert R objects into YAML. The package uses the
Syck YAML parser (http://whytheluckystiff.net/syck/), the same parser
that Ruby and other languages use to parse YAML.
For more information, please visit:
2008 Mar 25
0
New package: yaml 1.0 released to CRAN
Hi all,
I've released a new package to CRAN called 'yaml'. It allows R to
parse YAML documents (http://yaml.org) into R objects, and there are
a few methods to convert R objects into YAML. The package uses the
Syck YAML parser (http://whytheluckystiff.net/syck/), the same parser
that Ruby and other languages use to parse YAML.
For more information, please visit:
2008 Feb 22
1
YAML parser for R in Windows
How can I parse a YAML file in R 2.6.0 in Windows? I cannot get the
RYaml package to compile in Windows, I can't find a MinGW compiled .dll
for an existing YAML parser like syck (which would appear to be the best
hope for creating my own R wrapper functions), and I don't know how to
call a Ruby or Python function from R (so that I could parse the file in
Ruby or Python and pass the parsed