* libxml2 and python not happy... solution downgrade libxml2
@ 2023-05-09 22:33 Jason Pyeron
2023-05-10 14:05 ` Jon Turney
0 siblings, 1 reply; 5+ messages in thread
From: Jason Pyeron @ 2023-05-09 22:33 UTC (permalink / raw)
To: cygwin
$ virt-manager
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager", line 35, in <module>
from virtinst import util as util
File "/usr/share/virt-manager/virtinst/__init__.py", line 18, in <module>
from virtcli import CLIConfig as _CLIConfig
File "/usr/share/virt-manager/virtcli/__init__.py", line 3, in <module>
from .cliconfig import CLIConfig
File "/usr/share/virt-manager/virtcli/cliconfig.py", line 24, in <module>
import ConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
$ cat -n test.py
1 #!/usr/bin/env python2
2
3 import libxml2
$ ./test.py
Traceback (most recent call last):
File "./test.py", line 3, in <module>
import libxml2
File "/usr/lib/python2.7/site-packages/libxml2.py", line 1, in <module>
import libxml2mod
ImportError: No such process
$ cygcheck -l libxml2 python27-libxml2
/etc/postinstall/libxml2.sh
/usr/bin/cygxml2-2.dll
/usr/bin/xmlcatalog.exe
/usr/bin/xmllint.exe
/usr/share/man/man1/xmlcatalog.1.gz
/usr/share/man/man1/xmllint.1.gz
/usr/lib/python2.7/site-packages/drv_libxml2.py
/usr/lib/python2.7/site-packages/drv_libxml2.pyc
/usr/lib/python2.7/site-packages/drv_libxml2.pyo
/usr/lib/python2.7/site-packages/libxml2.py
/usr/lib/python2.7/site-packages/libxml2.pyc
/usr/lib/python2.7/site-packages/libxml2.pyo
/usr/lib/python2.7/site-packages/libxml2mod.dll
$ cygcheck -c libxml2 python27-libxml2
Cygwin Package Information
Package Version Status
libxml2 2.10.4-2 OK
python27-libxml2 2.9.10-2 OK
#downgrade libxml2...
$ cygcheck -c libxml2 python27-libxml2
Cygwin Package Information
Package Version Status
libxml2 2.9.10-2 OK
python27-libxml2 2.9.10-2 OK
jpyeron@blackfat ~
$ ./test.py
jpyeron@blackfat ~
$ virt-manager
--
Jason Pyeron | Architect
PD Inc | Certified SBA 8(a)
10 w 24th St | Certified SBA HUBZone
Baltimore, MD | CAGE Code: 1WVR6
.mil: jason.j.pyeron.ctr@mail.mil
.com: jpyeron@pdinc.us
tel : 202-741-9397
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libxml2 and python not happy... solution downgrade libxml2
2023-05-09 22:33 libxml2 and python not happy... solution downgrade libxml2 Jason Pyeron
@ 2023-05-10 14:05 ` Jon Turney
2023-05-10 14:20 ` Jason Pyeron
0 siblings, 1 reply; 5+ messages in thread
From: Jon Turney @ 2023-05-10 14:05 UTC (permalink / raw)
To: Jason Pyeron, The Cygwin Mailing List
On 09/05/2023 23:33, Jason Pyeron via Cygwin wrote:
> $ virt-manager
> Traceback (most recent call last):
> File "/usr/share/virt-manager/virt-manager", line 35, in <module>
> from virtinst import util as util
> File "/usr/share/virt-manager/virtinst/__init__.py", line 18, in <module>
> from virtcli import CLIConfig as _CLIConfig
> File "/usr/share/virt-manager/virtcli/__init__.py", line 3, in <module>
> from .cliconfig import CLIConfig
> File "/usr/share/virt-manager/virtcli/cliconfig.py", line 24, in <module>
> import ConfigParser
> ModuleNotFoundError: No module named 'ConfigParser'
>
[...]
>
> #downgrade libxml2...
>
> $ cygcheck -c libxml2 python27-libxml2
> Cygwin Package Information
> Package Version Status
> libxml2 2.9.10-2 OK
> python27-libxml2 2.9.10-2 OK
>
> jpyeron@blackfat ~
> $ ./test.py
>
> jpyeron@blackfat ~
> $ virt-manager
Right. The real problem here is that virt-manager is still using
python2, which long past EOL, and is planned to be removed.
The current plan, per [1] is for virt-manager to become uninstallable
after this, and see if anyone complains.
If virt-manager is important to you, perhaps you could help us bring it
up to date?
[1] https://cygwin.com/pipermail/cygwin-apps/2023-April/042778.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: libxml2 and python not happy... solution downgrade libxml2
2023-05-10 14:05 ` Jon Turney
@ 2023-05-10 14:20 ` Jason Pyeron
2023-05-20 16:30 ` Jon Turney
0 siblings, 1 reply; 5+ messages in thread
From: Jason Pyeron @ 2023-05-10 14:20 UTC (permalink / raw)
To: cygwin; +Cc: support
I guess I will have to adopt the virt-manager package... please put it on my plate :(
--
Jason Pyeron | Architect
PD Inc | Certified SBA 8(a)
10 w 24th St | Certified SBA HUBZone
Baltimore, MD | CAGE Code: 1WVR6
.mil: jason.j.pyeron.ctr@mail.mil
.com: jpyeron@pdinc.us
tel : 202-741-9397
> -----Original Message-----
> From: Jon Turney <jon.turney@dronecode.org.uk>
> Sent: Wednesday, May 10, 2023 10:05 AM
> To: Jason Pyeron <jpyeron@pdinc.us>; The Cygwin Mailing List <cygwin@cygwin.com>
> Subject: Re: libxml2 and python not happy... solution downgrade libxml2
>
> On 09/05/2023 23:33, Jason Pyeron via Cygwin wrote:
> > $ virt-manager
> > Traceback (most recent call last):
> > File "/usr/share/virt-manager/virt-manager", line 35, in <module>
> > from virtinst import util as util
> > File "/usr/share/virt-manager/virtinst/__init__.py", line 18, in <module>
> > from virtcli import CLIConfig as _CLIConfig
> > File "/usr/share/virt-manager/virtcli/__init__.py", line 3, in <module>
> > from .cliconfig import CLIConfig
> > File "/usr/share/virt-manager/virtcli/cliconfig.py", line 24, in <module>
> > import ConfigParser
> > ModuleNotFoundError: No module named 'ConfigParser'
> >
> [...]
> >
> > #downgrade libxml2...
> >
> > $ cygcheck -c libxml2 python27-libxml2
> > Cygwin Package Information
> > Package Version Status
> > libxml2 2.9.10-2 OK
> > python27-libxml2 2.9.10-2 OK
> >
> > jpyeron@blackfat ~
> > $ ./test.py
> >
> > jpyeron@blackfat ~
> > $ virt-manager
>
> Right. The real problem here is that virt-manager is still using
> python2, which long past EOL, and is planned to be removed.
>
> The current plan, per [1] is for virt-manager to become uninstallable
> after this, and see if anyone complains.
>
> If virt-manager is important to you, perhaps you could help us bring it
> up to date?
>
> [1] https://cygwin.com/pipermail/cygwin-apps/2023-April/042778.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: RE: libxml2 and python not happy... solution downgrade libxml2
2023-05-10 14:20 ` Jason Pyeron
@ 2023-05-20 16:30 ` Jon Turney
2024-04-01 17:58 ` Jon Turney
0 siblings, 1 reply; 5+ messages in thread
From: Jon Turney @ 2023-05-20 16:30 UTC (permalink / raw)
To: Jason Pyeron, The Cygwin Mailing List
On 10/05/2023 15:20, Jason Pyeron via Cygwin wrote:
> I guess I will have to adopt the virt-manager package... please put it on my plate :(
Well, that wasn't quite the response I was expecting, but thanks very
much for helping!
I have added 'virt-manager' to your packages.
[...]
>> -----Original Message-----
>> From: Jon Turney <jon.turney@dronecode.org.uk>
>> Sent: Wednesday, May 10, 2023 10:05 AM
>> To: Jason Pyeron <jpyeron@pdinc.us>; The Cygwin Mailing List <cygwin@cygwin.com>
>> Subject: Re: libxml2 and python not happy... solution downgrade libxml2
>>
>> On 09/05/2023 23:33, Jason Pyeron via Cygwin wrote:
>>> $ virt-manager
>>> Traceback (most recent call last):
>>> File "/usr/share/virt-manager/virt-manager", line 35, in <module>
>>> from virtinst import util as util
>>> File "/usr/share/virt-manager/virtinst/__init__.py", line 18, in <module>
>>> from virtcli import CLIConfig as _CLIConfig
>>> File "/usr/share/virt-manager/virtcli/__init__.py", line 3, in <module>
>>> from .cliconfig import CLIConfig
>>> File "/usr/share/virt-manager/virtcli/cliconfig.py", line 24, in <module>
>>> import ConfigParser
>>> ModuleNotFoundError: No module named 'ConfigParser'
>>>
>> [...]
>>>
>>> #downgrade libxml2...
>>>
>>> $ cygcheck -c libxml2 python27-libxml2
>>> Cygwin Package Information
>>> Package Version Status
>>> libxml2 2.9.10-2 OK
>>> python27-libxml2 2.9.10-2 OK
>>>
>>> jpyeron@blackfat ~
>>> $ ./test.py
>>>
>>> jpyeron@blackfat ~
>>> $ virt-manager
>>
>> Right. The real problem here is that virt-manager is still using
>> python2, which long past EOL, and is planned to be removed.
>>
>> The current plan, per [1] is for virt-manager to become uninstallable
>> after this, and see if anyone complains.
>>
>> If virt-manager is important to you, perhaps you could help us bring it
>> up to date?
>>
>> [1] https://cygwin.com/pipermail/cygwin-apps/2023-April/042778.html
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: RE: libxml2 and python not happy... solution downgrade libxml2
2023-05-20 16:30 ` Jon Turney
@ 2024-04-01 17:58 ` Jon Turney
0 siblings, 0 replies; 5+ messages in thread
From: Jon Turney @ 2024-04-01 17:58 UTC (permalink / raw)
Cc: cygwin, Jason Pyeron
On 20/05/2023 17:30, Jon Turney via Cygwin wrote:
> On 10/05/2023 15:20, Jason Pyeron via Cygwin wrote:
>> I guess I will have to adopt the virt-manager package... please put it
>> on my plate :(
>
> Well, that wasn't quite the response I was expecting, but thanks very
> much for helping!
>
> I have added 'virt-manager' to your packages.
So, cleaning up the final python2 bits, I got around back to looking at
this again. I've made minor updates to python-libvirt and virt-manager,
which gets something which runs.
But it just sits there, apparently trying to connect to a local QEMU
hypervisor I don't have, but that's what the previous, python2 version
does as well...
I'm guessing that perhaps the only sensible way to run this on Cygwin is
with the '--connect' option to a remote hypervisior. Or maybe it's
totally broken.
> [...]
>>> -----Original Message-----
>>> From: Jon Turney <jon.turney@dronecode.org.uk>
>>> Sent: Wednesday, May 10, 2023 10:05 AM
>>> To: Jason Pyeron <jpyeron@pdinc.us>; The Cygwin Mailing List
>>> <cygwin@cygwin.com>
>>> Subject: Re: libxml2 and python not happy... solution downgrade libxml2
>>>
>>> On 09/05/2023 23:33, Jason Pyeron via Cygwin wrote:
>>>> $ virt-manager
>>>> Traceback (most recent call last):
>>>> File "/usr/share/virt-manager/virt-manager", line 35, in <module>
>>>> from virtinst import util as util
>>>> File "/usr/share/virt-manager/virtinst/__init__.py", line 18, in
>>>> <module>
>>>> from virtcli import CLIConfig as _CLIConfig
>>>> File "/usr/share/virt-manager/virtcli/__init__.py", line 3, in
>>>> <module>
>>>> from .cliconfig import CLIConfig
>>>> File "/usr/share/virt-manager/virtcli/cliconfig.py", line 24, in
>>>> <module>
>>>> import ConfigParser
>>>> ModuleNotFoundError: No module named 'ConfigParser'
>>>>
>>> [...]
>>>>
>>>> #downgrade libxml2...
>>>>
>>>> $ cygcheck -c libxml2 python27-libxml2
>>>> Cygwin Package Information
>>>> Package Version Status
>>>> libxml2 2.9.10-2 OK
>>>> python27-libxml2 2.9.10-2 OK
>>>>
>>>> jpyeron@blackfat ~
>>>> $ ./test.py
>>>>
>>>> jpyeron@blackfat ~
>>>> $ virt-manager
>>>
>>> Right. The real problem here is that virt-manager is still using
>>> python2, which long past EOL, and is planned to be removed.
>>>
>>> The current plan, per [1] is for virt-manager to become uninstallable
>>> after this, and see if anyone complains.
>>>
>>> If virt-manager is important to you, perhaps you could help us bring it
>>> up to date?
>>>
>>> [1] https://cygwin.com/pipermail/cygwin-apps/2023-April/042778.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-01 17:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-09 22:33 libxml2 and python not happy... solution downgrade libxml2 Jason Pyeron
2023-05-10 14:05 ` Jon Turney
2023-05-10 14:20 ` Jason Pyeron
2023-05-20 16:30 ` Jon Turney
2024-04-01 17:58 ` Jon Turney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).