Skip Menu |

This queue is for tickets about the WWW-Myspace CPAN distribution.

Report information
The Basics
Id: 18559
Status: resolved
Worked: 15 min
Priority: 0/
Queue: WWW-Myspace

People
Owner: GRANTG [...] cpan.org
Requestors: james [...] rehbitual.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: keep getting yml error for message_group
here is my code minus the login info i keep getting this error: YAML Error: Invalid element in map Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT Line: 6 Document: 1 at /usr/lib/perl5/site_perl/5.8/YAML.pm line 60 whats up with this? im pretty sure there are no tabs in it!!? sorry if im missing something. -james subject: Hey Check Out Or Next Show!!! cache_file: cruzansmessage message: | Hey Come Check Out Our Next Show This Saturday. <img src=http://img206.imageshack.us/img206/8307/cruzansapr87xa.jpg> cant wait to meet some of you guys!! group: 100860724 delay_time: 0
Subject: Re: [rt.cpan.org #18559] keep getting yml error for message_group
Date: Wed, 5 Apr 2006 23:37:05 -0700
To: bug-WWW-Myspace [...] rt.cpan.org
From: Grant Grueninger <grantg [...] spamarrest.com>
Hi James, You need to add two spaces before each line in the message, and have a line with three dashes starting the file: --- subject: Hey Check Out Or Next Show!!! cache_file: cruzansmessage message: | Hey Come Check Out Our Next Show This Saturday. <img src=http://img206.imageshack.us/img206/8307/cruzansapr87xa.jpg> cant wait to meet some of you guys!! group: 100860724 delay_time: 0 You can also use a simple script to create your config file: #!/usr/bin/perl -w use YAML; print Dump( { subject => 'Hey Check Out Or Next Show!!!', cache_file => 'cruzansmessage', message => "Hey Come Check Out Our Next Show This Saturday.\n\n" . # <- Period, not comma "<img src=http://img206.imageshack.us/img206/8307/ cruzansapr87xa.jpg>\n\n" . "cant wait to meet some of you guys!!\n", group => 100860724, delay_time => 0 } ); Save this script as, say "makeconfig", then type: makeconfig > cruzansmessage and it'll make your file for you. On Apr 5, 2006, at 9:35 PM, Guest via RT wrote: [...] Show quoted text
> > i keep getting this error: > > YAML Error: Invalid element in map > Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT > Line: 6 > Document: 1 > at /usr/lib/perl5/site_perl/5.8/YAML.pm line 60
[...] -- Grant Grueninger Commercial Systems Corporation http://www.cscorp.com/ 818-760-1649
From: james [...] rehabitual.com
hey thanks for your help i am learning how to use cygwin and perl just because of your awesome script!!! sorry for the noob questions but thanks your solution worked? quick question does my sent mail box show the messages im sending through this script? cause im running the program and none of the sent messages are showing up in my outbox? thanks grant
From: james [...] rehabitual.com
nevermind i just needed to wait longer!!! its there!! the add to friends button it sends also seems to just go to my profile not to and ad to friends link
From: james [...] rehabitual.com
On Thu Apr 06 10:02:43 2006, guest wrote: Show quoted text
> nevermind i just needed to wait longer!!! its there!! > the add to friends button it sends also seems to just go to my profile > not to and ad to friends link > >
yet i again i am answering my own question =] it takes you to the profile if you are yourself but it is an addfriends link for anyone else no more trouble now i swear