[redland-dev] [Redland Ruby Binding 0000291]: "/opt/local/lib/ruby/1.8/pathname.rb:420:in `lstat': No such file or directory - /Users/<...>/#" during unit tests

Mantis Bug Tracker mantis-bug-sender at librdf.org
Mon Jan 5 07:55:30 CET 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=291 
====================================================================== 
Reported By:                dulanov
Assigned To:                
====================================================================== 
Project:                    Redland Ruby Binding
Issue ID:                   291
Category:                   
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2009-01-05 06:55
Last Modified:              2009-01-05 06:55
====================================================================== 
Summary:                    "/opt/local/lib/ruby/1.8/pathname.rb:420:in `lstat':
No such file or directory - /Users/<...>/#" during unit tests
Description: 
Several times I received one annoying error: "
/opt/local/lib/ruby/1.8/pathname.rb:420:in `lstat': No such file or
directory - /Users/dmitrij/project/semap/service/lib/# "

After a play with code I found the smallest one that reproduce the error:

require 'test/unit'
require 'rdf/redland'
include Redland
predicate = Node.new('http://example.com/property/01234567')
puts "\n #{predicate.inspect}" # space is important! 8-0

But error disappears without "require 'test/unit":

require 'rdf/redland'
include Redland
predicate = Node.new('http://example.com/property/01234567')
puts "\n #{predicate.inspect}"

And, it's very strange, but the error occur in follow code too:

require 'rdf/redland'
include Redland
predicate = Node.new('http://example.com/property/01234567')
puts "\n #{predicate.inspect}"
#require 'test/unit'
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-05 06:55 dulanov        New Issue                                    
======================================================================



More information about the redland-dev mailing list