Giter VIP home page Giter VIP logo

Comments (8)

bhollis avatar bhollis commented on July 27, 2024

Could you share the full error message and stack trace? Maybe a repo that exhibits the problem?

from middleman-blog.

noozo avatar noozo commented on July 27, 2024

That's all i get. No stacktrace, no other message on the server command line, just this on the browser:

Internal Server Error

negative argument
WEBrick/1.3.1 (Ruby/1.9.3/2012-04-20) at localhost:4567

from middleman-blog.

noozo avatar noozo commented on July 27, 2024

Seems to me like a slim integration issue. I get a "Option :layout is not supported by Slim::Engine" message when trying to load the page. Trying to use erb now to see if that's the problem..

from middleman-blog.

noozo avatar noozo commented on July 27, 2024

Yep, that's the problem. It doesn't work with slim.

from middleman-blog.

bhollis avatar bhollis commented on July 27, 2024

That error is caused by an old version of slim. Try using a newer version.

from middleman-blog.

noozo avatar noozo commented on July 27, 2024

Still getting these errors with slim 1.3.4 (supposedly the latest version):

Option :layout is not supported by Slim::Engine
Option :locals is not supported by Slim::Engine

from middleman-blog.

noozo avatar noozo commented on July 27, 2024

Though this issue in particular does go away (i.e. i can now see the calendar with slim).

Is there any downside to those warnings above?

from middleman-blog.

tdreyno avatar tdreyno commented on July 27, 2024

Those are just warnings, you can ignore them. We're waiting on a dependency (padrino-helpers) to update to the new Slim API.

from middleman-blog.

Related Issues (20)

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.