remcoboerma / jbrout

Automatically exported from code.google.com/p/jbrout
0 stars 0 forks source link

instantWeb broken: Type Error : range() integer end argument expected, got float. #223

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select more than ten images.
2. Choose Operations -> Web share.
3. Navigate to localhost:8080 using any modern internet browser.

What is the expected output? What do you see instead?

You will not see a gallery, but instead the following Python error:
Type Error : range() integer end argument expected, got float.

What version of the product are you using? On what operating system?

I checked with latest svn (366) on Linux with Python 2.7.3

Please provide any additional information below.

The quick and dirty way to fix this issue is to change  
range(nbp) to range(int(nbp)) in line 356 of instantWeb.py.

Original issue reported on code.google.com by markus.k...@gmail.com on 20 Jun 2014 at 9:43