Open krs-world opened 3 years ago
The above server errors usually comes when you start with an empty cache, if that helps. Another strange thing I saw was that the final books found dont match t he book ids of the errors.
These are all the data server errors:
500 Server Error: INTERNAL SERVER ERROR for url: http://bridges-data-server-gutenberg.bridgesuncc.org/book?id=102 504 Server Error: Gateway Time-out for url: http://bridges-data-server-gutenberg.bridgesuncc.org/book?id=1112 504 Server Error: Gateway Time-out for url: http://bridges-data-server-gutenberg.bridgesuncc.org/book?id=13214 504 Server Error: Gateway Time-out for url: http://bridges-data-server-gutenberg.bridgesuncc.org/book?id=17951 RUNTIME TIME: 978.7776627540588
It did run to completion..
Basically
is
: the equivalent of Object == MaybeAnotherObject
in Java, meaning it compares the values of the pointers rather than value equality==
: the equivalent of obj.equals(other)
, meaning it will defer the result to the magic method __eq__
on the object, typically doing a value based comparison rather than reference
Seeing these warnings in Symbol.py:
python3 book_analysis.py /Users/kalpathi/gr/bridges/client/python/bridges/symbol.py:258: SyntaxWarning: "is" with a literal. Did you mean "=="? if len(args) is 1: /Users/kalpathi/gr/bridges/client/python/bridges/symbol.py:262: SyntaxWarning: "is" with a literal. Did you mean "=="? elif len(args) is 2: /Users/kalpathi/gr/bridges/client/python/bridges/symbol.py:267: SyntaxWarning: "is" with a literal. Did you mean "=="? elif len(args) is 4: /Users/kalpathi/gr/bridges/client/python/bridges/symbol.py:281: SyntaxWarning: "is" with a literal. Did you mean "=="? if len(args) is 1: /Users/kalpathi/gr/bridges/client/python/bridges/symbol.py:295: SyntaxWarning: "is" with a literal. Did you mean "=="? elif len(args) is 3: 500 Server Error: INTERNAL SERVER ERROR for url: http://bridges-data-server-gutenberg.bridgesuncc.org/book?id=102