M
Mary Dixon
Okay, people,
I know almost nothing about Ruby, unfortunately. But I do know that I want
my color parser to work for me. This is what I've been doing in the
terminal:
sawtooth:~ marydixon$ ruby /Users/marydixon/Documents/business\
docs/htmlcolors.rb
HTML Color Table Generator
version 0.0.1
by W. Kent Starr (C)2002 SpiderwomanWebDesign.com
-------------------------------------------------
File or directory to process: /Users/marydixon/Desktop/style.css
Name of output file [colortable.html]:
Title of color table [Color Table for /Users/marydixon/Desktop/style.css ]:
Page background color [white]:
Page foreground color [navy]:
Press [ENTER] to begin
/Users/marydixon/Documents/business docs/htmlcolors.rb:213:in `initialize':
No such file or directory - "/Users/marydixon/Desktop/style.css "
(Errno::ENOENT)
from /Users/marydixon/Documents/business docs/htmlcolors.rb:213:in
`new'
from /Users/marydixon/Documents/business docs/htmlcolors.rb:213:in
`scanFile'
from /Users/marydixon/Documents/business docs/htmlcolors.rb:294:in
`process'
from /Users/marydixon/Documents/business docs/htmlcolors.rb:376
sawtooth:~ marydixon$
As you can see, I get a short list of errors although it seems other things
about it work just fine. I'm trying to extract color codes from a HUGE style
sheet so I can easily make changes to it where I want to. But this color
parser is making it difficult and my lack of knowledge about why I get these
errors is out of my realm of expertise.
Eventually, I would like to create a GUI for this to make it happen a lot
slicker and return the work to the community. Any help with any of these
things would be more than appreciated especially in memory of the original
creator.
Thanks...
Mary Dixon
I know almost nothing about Ruby, unfortunately. But I do know that I want
my color parser to work for me. This is what I've been doing in the
terminal:
sawtooth:~ marydixon$ ruby /Users/marydixon/Documents/business\
docs/htmlcolors.rb
HTML Color Table Generator
version 0.0.1
by W. Kent Starr (C)2002 SpiderwomanWebDesign.com
-------------------------------------------------
File or directory to process: /Users/marydixon/Desktop/style.css
Name of output file [colortable.html]:
Title of color table [Color Table for /Users/marydixon/Desktop/style.css ]:
Page background color [white]:
Page foreground color [navy]:
Press [ENTER] to begin
/Users/marydixon/Documents/business docs/htmlcolors.rb:213:in `initialize':
No such file or directory - "/Users/marydixon/Desktop/style.css "
(Errno::ENOENT)
from /Users/marydixon/Documents/business docs/htmlcolors.rb:213:in
`new'
from /Users/marydixon/Documents/business docs/htmlcolors.rb:213:in
`scanFile'
from /Users/marydixon/Documents/business docs/htmlcolors.rb:294:in
`process'
from /Users/marydixon/Documents/business docs/htmlcolors.rb:376
sawtooth:~ marydixon$
As you can see, I get a short list of errors although it seems other things
about it work just fine. I'm trying to extract color codes from a HUGE style
sheet so I can easily make changes to it where I want to. But this color
parser is making it difficult and my lack of knowledge about why I get these
errors is out of my realm of expertise.
Eventually, I would like to create a GUI for this to make it happen a lot
slicker and return the work to the community. Any help with any of these
things would be more than appreciated especially in memory of the original
creator.
Thanks...
Mary Dixon