Your message dated Mon, 26 Feb 2024 18:33:08 +0000
with message-id <[email protected]>
and subject line Bug#1064180: Removed package(s) from unstable
has caused the Debian Bug report #997797,
regarding virtaal: Unable to open files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
997797: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997797
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: virtaal
Version: 0.7.1+git20191021+ds1-2
Severity: important

Dear Maintainer,

after an upgrade from Debian 10 Buster to Debian 11 Bullseye Virtaal has 
become unusable.

Using the menu point "/File/Open" does not yield the file selection window.

Clicking on the link to previously used files yields an error message on 
the desktop and via console:

ERROR:root:MainController.open_file(filename="/home/hiereth/l10n/shadow/shadow_1:4.8.1-1_de.po",
 uri="")
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/virtaal/controllers/maincontroller.py", 
line 210, in open_file
    self.store_controller.open_file(filename, uri, forget_dir=forget_dir)
  File "/usr/lib/python3/dist-packages/virtaal/controllers/storecontroller.py", 
line 227, in open_file
    self.store = StoreModel(filename, self)
  File "/usr/lib/python3/dist-packages/virtaal/models/storemodel.py", line 62, 
in __init__
    self.load_file(fileobj)
  File "/usr/lib/python3/dist-packages/virtaal/models/storemodel.py", line 149, 
in load_file
    self.update_stats(filename=filename)
  File "/usr/lib/python3/dist-packages/virtaal/models/storemodel.py", line 172, 
in update_stats
    from translate.storage import statsdb
ImportError: cannot import name 'statsdb' from 'translate.storage' 
(/usr/lib/python3/dist-packages/translate/storage/__init__.py)
 
The programme starts with these error messages,  

hiereth@lune:~$ virtaal 

ERROR:root:Failed to load plugin "tm"
Could not find plug-in "tm"
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/virtaal/controllers/plugincontroller.py",
 line 115, in enable_plugin
    plugin_class = self._get_plugin_class(name)
  File "/usr/lib/python3/dist-packages/virtaal/controllers/plugincontroller.py",
 line 188, in _get_plugin_class
    raise Exception('Could not find plug-in "%s"' % (name))
Exception: Could not find plug-in "tm"

ERROR:root:Failed to load plugin "spellchecker"
No module named 'gtkspell'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/virtaal/controllers/plugincontroller.py",
 line 117, in enable_plugin
    self.plugins[name] = plugin_class(name, self.controller)
  File "/usr/lib/python3/dist-packages/virtaal/plugins/spellchecker.py", line 70
, in __init__
    import gtkspell
ModuleNotFoundError: No module named 'gtkspell'

ERROR:root:Failed to load plugin "opentran"
Could not find plug-in "opentran"
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/virtaal/controllers/plugincontroller.py",
 line 115, in enable_plugin
    plugin_class = self._get_plugin_class(name)
  File "/usr/lib/python3/dist-packages/virtaal/controllers/plugincontroller.py",
 line 188, in _get_plugin_class
    raise Exception('Could not find plug-in "%s"' % (name))
Exception: Could not find plug-in "opentran"

TypeError: string argument expected, got 'bytes'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/virtaal/views/mainview.py", line 769, in 
_on_file_open
    self.open_file()
  File "/usr/lib/python3/dist-packages/virtaal/views/mainview.py", line 540, in 
open_file
    filename_and_uri = self.show_open_dialog()
  File "/usr/lib/python3/dist-packages/virtaal/views/mainview.py", line 604, in 
show_open_dialog
    last_path = (pan_app.settings.general["lastdir"] or 
"").decode(sys.getdefaultencoding())

AttributeError: 'str' object has no attribute 'decode'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/virtaal/views/welcomescreenview.py", 
line 126, in _on_button_clicked
    self.controller.open_file()
  File 
"/usr/lib/python3/dist-packages/virtaal/controllers/welcomescreencontroller.py",
 line 70, in open_file
    self.main_controller.open_file(filename)
  File "/usr/lib/python3/dist-packages/virtaal/controllers/maincontroller.py", 
line 188, in open_file
    return self.view.open_file()
  File "/usr/lib/python3/dist-packages/virtaal/views/mainview.py", line 540, in 
open_file
    filename_and_uri = self.show_open_dialog()
  File "/usr/lib/python3/dist-packages/virtaal/views/mainview.py", line 604, in 
show_open_dialog
    last_path = (pan_app.settings.general["lastdir"] or 
"").decode(sys.getdefaultencoding())
AttributeError: 'str' object has no attribute 'decode'

It seems the problem has already been reported to the developers of Virtaal:

  7.6.2021:
  I'm getting the same error on debian bullseye.
  (auf https://github.com/translate/virtaal/issues/3323

Best regards
Markus



-- System Information:
Debian Release: 11.1
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 5.10.0-9-686-pae (SMP w/1 CPU thread)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages virtaal depends on:
ii  gir1.2-gtk-3.0            3.24.24-4
ii  libjs-sphinxdoc           3.4.3-2
ii  python3                   3.9.2-3
ii  python3-diff-match-patch  20200713-1
ii  python3-gi                3.38.0-2
ii  python3-lxml              4.6.3+dfsg-0.1
ii  python3-pycurl            7.43.0.6-5
ii  python3-six               1.16.0-2
ii  python3-translate         3.3.2-1

Versions of packages virtaal recommends:
ii  libreoffice-common   1:7.0.4-4+deb11u1
ii  python3-cheroot      8.5.2+ds1-1
ii  python3-enchant      3.2.0-1
ii  python3-levenshtein  0.12.2-1
ii  python3-libproxy     0.4.17-1
ii  python3-psycopg2     2.8.6-2

virtaal suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 0.7.1+git20191021+ds1-2+rm

Dear submitter,

as the package virtaal has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1064180

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---
_______________________________________________
Debian-l10n-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-l10n-devel

Reply via email to