python - AttributeError: 'NoneType' object has no attribute 'read' YAML reader -


after using py2exe create executable python 2.7 application, following messages on running exe file:

file "mywebpagescraper.py", line 2, in <module>   file "utils.pyc", line 4, in <module>   file "dateparser\__init__.pyc", line 4, in <module>   file "dateparser\date.pyc", line 11, in <module>   file "dateparser\date_parser.pyc", line 16, in <module>   file "dateparser\conf.pyc", line 61, in <module>   file "dateparser\conf.pyc", line 31, in __init__   file "dateparser\conf.pyc", line 45, in _get_settings_from_yaml   file "yaml\__init__.pyc", line 69, in load   file "yaml\loader.pyc", line 34, in __init__   file "yaml\reader.pyc", line 85, in __init__   file "yaml\reader.pyc", line 124, in determine_encoding   file "yaml\reader.pyc", line 178, in update_raw attributeerror: 'nonetype' object has no attribute 'read' 

i don't seem know attribute error coming from, application crawl web page using lxml library. don't exception when run application within ide, works smoothly.

how go solving challenge?


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

json - Gson().fromJson(jsonResult, Myobject.class) return values in 0's -