Giter Site home page Giter Site logo

list index out of range about myphotoshare HOT 10 CLOSED

kosli avatar kosli commented on September 17, 2024
list index out of range

from myphotoshare.

Comments (10)

kosli avatar kosli commented on September 17, 2024

have there been any changes that would need me to delete the cache and re-generate everything? :-(

from myphotoshare.

paolobenve avatar paolobenve commented on September 17, 2024

no, no need to regenerate anything, only a little bug with albums with few images. Fixed in master.

Check if it's solved

from myphotoshare.

paolobenve avatar paolobenve commented on September 17, 2024

no, wait, the problem should arise from something different.

Try putting a

print len(random_thumbnails)

immediately before the line

for i in range(max_thumbnail_number - len(random_thumbnails)):

I suspect that value is zero...

from myphotoshare.

kosli avatar kosli commented on September 17, 2024

pull didn't help, and yes, the value is zero as you expected.

from myphotoshare.

paolobenve avatar paolobenve commented on September 17, 2024

ok, put:

print good_media_number

immediately before line 511

while True:

and tell me the value

from myphotoshare.

paolobenve avatar paolobenve commented on September 17, 2024

also: what value did you set for option max_album_share_thumbnails_number option?

what is max_thumbnail_number at line 511 ?

from myphotoshare.

kosli avatar kosli commented on September 17, 2024

good_media_number 0
max_thumbnail_number 4
len(random_thumbnails) 0

grep max_album_share_thumbnails_number photofloat.conf
max_album_share_thumbnails_number = 16

from myphotoshare.

paolobenve avatar paolobenve commented on September 17, 2024

how could we communicate more easily? whatsapp? telegram? would you send me your contact? right after we delete the comment

from myphotoshare.

paolobenve avatar paolobenve commented on September 17, 2024

If I'm right, by_date_album.num_media_in_sub_tree is zero at 155. Is it zero at 153 too?

from myphotoshare.

kosli avatar kosli commented on September 17, 2024

i've dropped you an email. thanks.

from myphotoshare.

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.