jeanphix/Ghost.py

pythonw.exe stop working after exit

lifei1245 opened this issue · 0 comments

on system windows 10

code like this
self.ghost = Ghost(log_level=logging.INFO)
with self.ghost.start() as session:
session.open(url)
session.save_cookies(cookie_name)
self.ghost.exit()

the last info is
2017-06-21T14:09:45.332Z [INFO ] Ghost<35b38a6a-caf6-4692-bc01-1deae75887c1>: Closing session
2017-06-21 14:09:45 [ghost.35b38a6a-caf6-4692-bc01-1deae75887c1] INFO: Closing session

Process finished with exit code -1073741819 (0xC0000005)

how can i resolve this, ty