[issue36660] TypeError

2019-04-18 Thread maak
New submission from maak : TypeError: coercing to Unicode: need string or buffer, bool found -- components: Unicode messages: 340504 nosy: ezio.melotti, maakvol, vstinner priority: normal severity: normal status: open title: TypeError type: behavior versions: Python 2.7

[issue36657] AttributeError

2019-04-18 Thread maak
maak added the comment: FLAGS.train_dir has a boolean value which is checking true or false and i also have same issue import os >>> os.path.join(True, 'best_checkpoint') Traceback (most recent call last): File "", line 1, in File "/usr/local/C

[issue36657] AttributeError

2019-04-18 Thread maak
maak added the comment: File "/home/maak/PycharmProjects/Fyp/venv/local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough)) File "main.py", line 132, in main bestmodel_dir = os.path.

[issue36657] AttributeError

2019-04-18 Thread maak
New submission from maak : elif path == '' or path.endswith('/'): AttributeError: 'bool' object has no attribute 'endswith' -- assignee: docs@python components: Documentation messages: 340490 nosy: docs@python, maakvol priority: no