Bugs: Browse | Submit New | Admin

[#23506] undefined method `/'

Date:
2009-01-09 18:20
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
undefined method `/'

Detailed description
In attempting to process the accessibility of this site - http://www.ccg-gcc.gc.ca

I got the following error:

Opening http://www.ccg-gcc.gc.ca/folios/00025/images/Bar_Harbor_028.JPG
Skipping data for http://www.ccg-gcc.gc.ca/folios/00025/images/Bar_Harbor_028.JPG
/Library/Ruby/Gems/1.8/gems/raakt-0.5.2/lib/raakt.rb:539:in `is_frameset': undefined method `/' for nil:NilClass
(NoMethodError)
	from /Library/Ruby/Gems/1.8/gems/raakt-0.5.2/lib/raakt.rb:403:in `check_frames'
	from /Library/Ruby/Gems/1.8/gems/raakt-0.5.2/lib/raakt.rb:113:in `send'
	from /Library/Ruby/Gems/1.8/gems/raakt-0.5.2/lib/raakt.rb:113:in `all'
	from /Library/Ruby/Gems/1.8/gems/raakt-0.5.2/lib/raakt.rb:111:in `each'
	from /Library/Ruby/Gems/1.8/gems/raakt-0.5.2/lib/raakt.rb:111:in `all'
	from ./accessible.rb:19
	from /Library/Ruby/Gems/1.8/gems/simplecrawler-0.1.6/lib/simplecrawler.rb:173:in `crawl'
	from ./accessible.rb:13

Initially it had stopped for other file types, so I extended this for the command script:

sc.skip_patterns = ["\\.wmv$", "\\.mov$", "\\.gif$", "\\.png$", "\\.jpg$",
"\\.doc$", "\\.pdf$", "\\.xls$", "\\.pdf$", "\\.zip$", "\\.wmv$",
"\\.mov$", "\\.gif$", "\\.png$", "\\.jpg$", "\\.doc$", "\\.pdf$",
"\\.xls$", "\\.pdf$", "\\.zip$"]

Thoughts would be appreciated

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item