I got a error when "initialize"

0 views
Skip to first unread message

Tachikoma

unread,
Nov 25, 2009, 4:57:15 AM11/25/09
to Redcar
I "rake build" the redcar 0.2 following the INSTALL-ubuntu.md , and
when I "jruby bin/redcar" , I got an error :
/home/tachikoma/redcar/freebase2/lib/freebase/readers.rb:192:in
`initialize': No such file or directory - No such directory
(Errno::ENOENT)
from /home/tachikoma/redcar/freebase2/lib/freebase/readers.rb:192:in
`foreach'
from /home/tachikoma/redcar/freebase2/lib/freebase/readers.rb:192:in
`load_files_from_paths'
from /home/tachikoma/redcar/freebase2/lib/freebase/readers.rb:189:in
`each'
from /home/tachikoma/redcar/freebase2/lib/freebase/readers.rb:189:in
`load_files_from_paths'
from /home/tachikoma/redcar/freebase2/lib/freebase/readers.rb:183:in
`load_files'
from /home/tachikoma/redcar/freebase2/lib/freebase/readers.rb:170:in
`initialize'
from /home/tachikoma/redcar/freebase2/lib/freebase/configuration.rb:
37:in `new'
from /home/tachikoma/redcar/freebase2/lib/freebase/configuration.rb:
37:in `initialize'
from /home/tachikoma/redcar/freebase2/lib/freebase/core.rb:59:in
`new'
from /home/tachikoma/redcar/freebase2/lib/freebase/core.rb:59:in
`startup'
from /home/tachikoma/redcar/bin/../lib/redcar.rb:70:in `start'
from /home/tachikoma/redcar/bin/redcar:7


Any ideas? Thank you

Daniel Lucraft

unread,
Nov 25, 2009, 5:33:57 AM11/25/09
to redcar...@googlegroups.com
Hi,

redcar 0.2 is no longer supported. We are working on a JRuby version of Redcar now that will solve all our problems. If you have problems running on the HEAD of master, let us know.

Sorry for the inconvenience.

best,
Dan
_______________________________
Daniel Lucraft

twitter.com/danlucraft
danlucraft.com/blog
> --
>
> You received this message because you are subscribed to the Google Groups "Redcar" group.
> To post to this group, send email to redcar...@googlegroups.com.
> To unsubscribe from this group, send email to redcar-edito...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/redcar-editor?hl=en.
>
>

Tachikoma

unread,
Nov 25, 2009, 5:38:03 AM11/25/09
to Redcar
I'm sorry that I mistake the jruby version as redcar 0.2
I got the jruby version and got the error
Can you help me? Thx

Daniel Lucraft

unread,
Nov 25, 2009, 5:55:17 AM11/25/09
to redcar...@googlegroups.com
OK. It's hard to debug without knowing which file it's not finding. Can you edit the readers.rb file so we can tell?

D
_______________________________
Daniel Lucraft

twitter.com/danlucraft
danlucraft.com/blog




Aaron McLeod

unread,
Nov 25, 2009, 10:29:16 PM11/25/09
to redcar...@googlegroups.com
I'm getting the same error on my ubuntu partition:

aaron@aaron-laptop:~/redcar$ jruby bin/redcar
./bin/../lib/../freebase2/lib/freebase/readers.rb:192:in `foreach': No such file or directory - /home/aaron/redcar/../plugins is not a directory (Errno::ENOENT)
    from ./bin/../lib/../freebase2/lib/freebase/readers.rb:192:in `load_files_from_paths'
    from ./bin/../lib/../freebase2/lib/freebase/readers.rb:189:in `each'
    from ./bin/../lib/../freebase2/lib/freebase/readers.rb:189:in `load_files_from_paths'
    from ./bin/../lib/../freebase2/lib/freebase/readers.rb:183:in `load_files'
    from ./bin/../lib/../freebase2/lib/freebase/readers.rb:170:in `initialize'
    from ./bin/../lib/../freebase2/lib/freebase/configuration.rb:37:in `initialize'
    from ./bin/../lib/../freebase2/lib/freebase/core.rb:59:in `startup'
    from ./bin/../lib/redcar.rb:70:in `start'
    from bin/redcar:7

As a guess, it looks like its trying to find plugins as a sibling to the redcar directory. Could be wrong though.
--
Aaron McLeod
http://agmprojects.com

Sam Clopton

unread,
Nov 25, 2009, 11:12:01 PM11/25/09
to redcar...@googlegroups.com
Quote from Daniel answering the same question before: "redcar 0.2 is no longer supported. We are working on a JRuby version of Redcar now that will solve all our problems. If you have problems running on the HEAD of master, let us know."
The version your trying to run is not a jruby implementation, download the head.
-Sam

Daniel Lucraft

unread,
Nov 26, 2009, 12:58:55 AM11/26/09
to redcar...@googlegroups.com
OK I think I know what this might be. Have you both used Redcar before on a much older version? Try deleting your ~/.redcar directory and trying again.

Dan
_______________________________
Daniel Lucraft

twitter.com/danlucraft
danlucraft.com/blog




Aaron McLeod

unread,
Nov 26, 2009, 7:21:02 AM11/26/09
to redcar...@googlegroups.com
On my Linux machine u deleted redcar with rm -rf and then grabbed it
from the repository. I can try deleting that and start fresh again to
be sure

Daniel Lucraft

unread,
Nov 26, 2009, 7:35:44 AM11/26/09
to redcar...@googlegroups.com
.redcar <- note the dot. In your home directory.

D
_______________________________
Daniel Lucraft

twitter.com/danlucraft
danlucraft.com/blog




Tachikoma

unread,
Nov 27, 2009, 4:46:17 AM11/27/09
to Redcar
I have done what you said and it's working ,thank you very much

On Nov 26, 1:58 pm, Daniel Lucraft <danlucr...@me.com> wrote:
> OK I think I know what this might be. Have you both used Redcar before on a much older version? Try deleting your ~/.redcar directory and trying again.
>
> Dan
> _______________________________
> Daniel Lucraft
>
> twitter.com/danlucraft
> danlucraft.com/blog
>
> On 26 Nov 2009, at 03:29, Aaron McLeod wrote:
>
>
>
> > I'm getting the same error on my ubuntu partition:
>
> > aaron@aaron-laptop:~/redcar$ jruby bin/redcar
> > ./bin/../lib/../freebase2/lib/freebase/readers.rb:192:in `foreach': No such file or directory - /home/aaron/redcar/../plugins is not a directory (Errno::ENOENT)
> >     from ./bin/../lib/../freebase2/lib/freebase/readers.rb:192:in `load_files_from_paths'
> >     from ./bin/../lib/../freebase2/lib/freebase/readers.rb:189:in `each'
> >     from ./bin/../lib/../freebase2/lib/freebase/readers.rb:189:in `load_files_from_paths'
> >     from ./bin/../lib/../freebase2/lib/freebase/readers.rb:183:in `load_files'
> >     from ./bin/../lib/../freebase2/lib/freebase/readers.rb:170:in `initialize'
> >     from ./bin/../lib/../freebase2/lib/freebase/configuration.rb:37:in `initialize'
> >     from ./bin/../lib/../freebase2/lib/freebase/core.rb:59:in `startup'
> >     from ./bin/../lib/redcar.rb:70:in `start'
> >     from bin/redcar:7
>
> > As a guess, it looks like its trying to find plugins as a sibling to the redcar directory. Could be wrong though.
>
> > For more options, visit this group athttp://groups.google.com/group/redcar-editor?hl=en.
Reply all
Reply to author
Forward
0 new messages