Ghost.py icon indicating copy to clipboard operation
Ghost.py copied to clipboard

PyPI version outdated. Same version as repo, but older code

Open thetylerhayes opened this issue 11 years ago • 3 comments

PyPI currently lists Ghost.py versoin 0.1b2 as the most recent, which is also what setup.py in this repo currently lists as the current version number.

But I just ran pip install Ghost.py and it's definitely not the latest or even near the latest code.

Case in point, in shell I ran:

from ghost import Ghost
ghost = Ghost()

And the response was Exception: Xvfb is required to a ghost run oustside an X instance. Notice specifically the extra s in oustside. That error message was updated 6 months ago: https://github.com/jeanphix/Ghost.py/commit/1dfe637540f638071cce864d2a832bbab98e3bcb.

So it seems ike the current PyPI version is at least 6 months old.

PS: To anyone else who runs into this before it's fixed you can address this by simply cloning the repo (in a path like /path/to/python/lib/python2.7/site-packages/), running python setup.py build, and then python setup.py install. Make sure you've run pip uninstall Ghost.py first if you've already tried installing via pip.

thetylerhayes avatar Sep 08 '13 20:09 thetylerhayes

this worked for me as well.

ghost avatar Dec 12 '13 01:12 ghost

I have occurred the same error when if ssh the server and 'ghost.Ghost()', but if i do it on ubuntu desktop, the error is disappear. Is there some way to use it on ssh (below no windows)?

swl5571147a avatar Sep 01 '14 10:09 swl5571147a

I had same issue on Ubuntu with ssh. The issue was actuall Xvfb was not installed. I installed that through apt-get install xvfb and issue disappeared.

gagandeep avatar Dec 02 '14 06:12 gagandeep