osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Display, EasyProcess


Larry Martell wrote:

> I have some code that uses the pyvirtualdisplay package and it works fine.
> 
> pyvirtualdisplay,Display calls EasyProcess like this:
> 
>        @classmethod
>        def check_installed(cls):
>            EasyProcess([PROGRAM, '-help'], url=URL,
>                        ubuntu_package=PACKAGE).check_installed()
> 
> I made a branch and made some changes. In the branch, when I
> instantiate Display and it gets to this point it fails with:
> 
> TypeError: __init__() got an unexpected keyword argument 'url'

I took a look at the source, and the code causing the error was removed back 
in december:

https://github.com/ponty/PyVirtualDisplay/commit/37613e36cf311bf855ac0af7850ffc85ac0635c6#diff-cdb8c67ac0a9554cd28f4f4bfc06fcf4

I suggest that you update your version of the pyvirtualdisplay package.