Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

Issue running the app.py. #2

Open
wpoosanguansit opened this issue Feb 1, 2013 · 0 comments
Open

Issue running the app.py. #2

wpoosanguansit opened this issue Feb 1, 2013 · 0 comments

Comments

@wpoosanguansit
Copy link

Hi,

I just pulled your code and rerun the project. I got it running before a few months back. But now I have got this error:

    yielded = self.gen.send(next)
  File "/home/watt/Downloads/Projects/tiler/server/handlers.py", line 330, in get_featured_past
    .skip(random.randint(0, total_count - 1))
  File "/usr/lib/python2.7/random.py", line 241, in randint
    return self.randrange(a, b+1)
  File "/usr/lib/python2.7/random.py", line 217, in randrange
    raise ValueError, "empty range for randrange() (%d,%d, %d)" % (istart, istop, width)
ValueError: empty range for randrange() (0,0, 0)

Is there any more setup that is needed to be changed or added? Thanks for your help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant