Display, EasyProcess
Larry Martell
larry.martell at gmail.com
Thu May 21 17:17:00 EDT 2020
On Thu, May 21, 2020 at 3:44 AM Peter Otten <__peter__ at web.de> wrote:
>
> 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.
Thanks. That did the trick!
More information about the Python-list
mailing list