GithubHelp home page GithubHelp logo

earth2's People

Stargazers

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

Watchers

 avatar  avatar  avatar

earth2's Issues

rake tests fail with NoMethodError

Hello,

I've just given this a punt with ruby v1.8.7, rails v1.2.2 and rake v0.8.7. It's getting stopped on one of the last tests.

Is this error something you've seen (see below)? Am I perhaps using the wrong version of something?

Thanks!

Paul

  1. Error:
    test_routing(BrowserControllerTest):
    NoMethodError: undefined method []' for <Enumerable::Enumerator:0x7fabc0212500> /var/lib/gems/1.8/gems/activesupport 1.4.1/lib/active_support/core_ext/string/access.rb:43:infirst'
    /var/lib/gems/1.8/gems/actionpack 1.13.2/lib/action_controller/assertions/routing_assertions.rb:86:in recognized_request_for' /var/lib/gems/1.8/gems/actionpack 1.13.2/lib/action_controller/assertions/routing_assertions.rb:33:inassert_recognizes'
    /var/lib/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/assertions.rb:60:in clean_backtrace' /var/lib/gems/1.8/gems/actionpack 1.13.2/lib/action_controller/assertions/routing_assertions.rb:31:inassert_recognizes'
    /var/lib/gems/1.8/gems/actionpack 1.13.2/lib/action_controller/assertions/routing_assertions.rb:74:in assert_routing' ./test/functional/browser_controller_test.rb:114:intest_routing'

earthd daemon dies with PGError: ERROR: integer out of range

Hello,

I've been trying to use earthd to catalogue a relatively small set of files but it prompty fails:

D, [2011-02-16T12:00:02.511008 #27883] DEBUG -- : checking for update on file something.png
F, [2011-02-16T12:00:02.538589 #27883] FATAL -- : Exiting: Daemon died
F, [2011-02-16T12:00:02.538856 #27883] FATAL -- : PGError: ERROR: integer out of range
: UPDATE directories SET bytes = bytes + 8385441, blocks = blocks + 17304, count = count + 292 WHERE (id in (2079,2078,2077,2074,2072,2071,2070,10)) (ActiveRecord::StatementInvalid)

A bit of googling turned up these known problems with Postgres which this might be related to:
http://sql-info.de/postgresql/postgres-gotchas.html

I've poked around a bit in db/migrate looking for that particular query but can't seem to find it. I'll keep plugging away at it and testing around the edges but otherwise I'm rather stuck.

Have you experienced this as well or are you able to get earthd to do what it says on the tin?

Paul

some INT columns in 'files' table need to be BIGINT

I've just a similar problem as before where a column that's been set up as INT needed to be BIGINT.

Table: files
Columns: bytes, blocks

This seems to have fixed things so far. I'll keep pushing and testing just the same.

/p

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.