Giter Club home page Giter Club logo

dowl's People

Contributors

ldodds avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dowl's Issues

Unable to install on Ubuntu 12.10

Pasted from console.
I'm not a ruby developer ... Is this a pre-requisite ?

% sudo gem install dowl
[sudo] password for jmv:
Fetching: metaclass-0.0.1.gem (100%)
Fetching: mocha-0.13.3.gem (100%)
Fetching: ffi-1.4.0.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing dowl:
ERROR: Failed to build gem native extension.

    /usr/bin/ruby1.9.1 extconf.rb

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot load such file -- mkmf (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
from extconf.rb:4:in `

'

Gem files will remain installed in /var/lib/gems/1.9.1/gems/ffi-1.4.0 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/ffi-1.4.0/ext/ffi_c/gem_make.out
Ialso tried the other way :

% sudo apt-get install rake
...
Paramétrage de rake (0.9.2.2-4) ...
% sudo rake install
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

(See full trace by running task with --trace)

undefined method `downcase' for nil:NilClass

/var/lib/gems/1.8/gems/dowl-0.2/bin/../lib/dowl/util.rb:42:in <=>': undefined methoddowncase' for nil:NilClass (NoMethodError)
from /var/lib/gems/1.8/gems/dowl-0.2/bin/../lib/dowl/schema.rb:84:in list_classes' from /var/lib/gems/1.8/gems/dowl-0.2/bin/../lib/dowl/schema.rb:84:insort'
from /var/lib/gems/1.8/gems/dowl-0.2/bin/../lib/dowl/schema.rb:84:in list_classes' from (erb):38:inrun'
from /var/lib/gems/1.8/gems/dowl-0.2/bin/../lib/dowl/generator.rb:19:in run' from /var/lib/gems/1.8/gems/dowl-0.2/bin/dowl:17 from /usr/local/bin/dowl:19:inload'
from /usr/local/bin/dowl:19

Can't apply context unless initialized with `data` supporting contexts

Description: Can't apply context unless initialized with data supporting contexts
Version: a6551ec11d7ecff760bc22584e8dac7fe2904c68

Steps that will reproduce the problem?

  1. sudo gem install -V dowl
  2. dowl path/to/file.ttl

What is the expected result?
New HTML file.

What happens instead?

/Library/Ruby/Gems/2.0.0/gems/rdf-1.1.4.3/lib/rdf/model/graph.rb:126:in `initialize': Can't apply context unless initialized with `data` supporting contexts (ArgumentError)
    from /Library/Ruby/Gems/2.0.0/gems/dowl-0.7/lib/dowl/schema.rb:22:in `new'
    from /Library/Ruby/Gems/2.0.0/gems/dowl-0.7/lib/dowl/schema.rb:22:in `create_from_file'
    from /Library/Ruby/Gems/2.0.0/gems/dowl-0.7/bin/dowl:10:in `<top (required)>'
    from /usr/bin/dowl:23:in `load'
    from /usr/bin/dowl:23:in `<main>'

Possible workaround:
?

Any additional information:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.