Hi Mike,
Thanks! Oh dear, so that's not the cause of the problem, as I
feared.
Could you try running the attached script? It will check if there are
any installed Debian packages which have an invalid version number;
that was the cause of this problem in #1032995.
Best wishes,
Julian
On Mon, Jul 03, 2023 at 08:03:00AM -0400, mhaag85893 wrote:
> Hi, Julian
>
> syncthing-gtk is installed. From Synaptic, it is version
> 0.9.4.4+ds+git20221205+12a9702d29ab-2
>
> Thanks, Mike
>
> On 7/3/23 04:12, Julian Gilbey wrote:
> > Dear Mike,
> >
> > On Sun, Jul 02, 2023 at 04:55:02PM -0400, Mike Haag wrote:
> > > Package: spyder
> > > Version: 5.4.2+ds-5
> > > Severity: normal
> > > X-Debbugs-Cc: [email protected]
> > >
> > > Dear Maintainer,
> > >
> > > Ran $spyder --reset but, still get the missing dependency message.
> > Do you have syncthing-gtk installed? If so, what version is it?
> >
> > Best wishes,
> >
> > Julian
#!/usr/bin/python3
import glob
import os
import stat
import pkg_resources
def check_version(fn: str) -> None:
with open(fn, "r", encoding="UTF-8") as f:
for line in f:
if line.startswith("Version:"):
version_str = line.removeprefix("Version:")
try:
version = pkg_resources.parse_version(version_str)
# print(f"Info file {fn} succeeded")
except Exception:
print(f"Info file {fn} has invalid version {version_str}")
break
for dist_info in glob.iglob("/usr/lib/python3/dist-packages/*.dist-info"):
check_version(os.path.join(dist_info, "METADATA"))
for egg_info in glob.iglob("/usr/lib/python3/dist-packages/*.egg-info"):
mode = os.stat(egg_info).st_mode
if stat.S_ISDIR(mode):
check_version(os.path.join(egg_info, "PKG-INFO"))
else:
check_version(egg_info)
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers