TypeError: not all arguments converted during string formatting #2

Closed
opened 2018-09-23 14:26:24 +00:00 by philm · 2 comments
philm commented 2018-09-23 14:26:24 +00:00 (Migrated from gitlab2.manjaro.org)

Please check the following issue:

extra $ manjaro-hello
/usr/bin/manjaro-hello:73: DeprecationWarning: Gtk.Widget.set_margin_left is deprecated
  img.set_margin_left(2)
/tmp/manjaro-hello-preferences.json
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 983, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 829, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 569, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 331, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/usr/bin/manjaro-hello", line 347, in <module>
    hello = Hello()
  File "/usr/bin/manjaro-hello", line 105, in __init__
    conf = HelloConfig(application="manjaro-hello")
  File "/usr/lib/python3.7/site-packages/application_utility/browser/config.py", line 40, in __init__
    self.load()
  File "/usr/lib/python3.7/site-packages/application_utility/browser/hello_config.py", line 43, in load
    logging.debug("_PREF_FILE is", self._PREF_FILE)
Message: '_PREF_FILE is'
Arguments: ('/usr/share/application-utility/preferences.json',)
DEBUG:root:self.file is
INFO:root:json to merge : /usr/share/application-utility/default.json

Used packages:

  • manjaro-application-utility (1.0-5 -> 1.0.1-2)
  • manjaro-hello (0.5.11-4 -> 0.6-1)
Please check the following issue: ``` extra $ manjaro-hello /usr/bin/manjaro-hello:73: DeprecationWarning: Gtk.Widget.set_margin_left is deprecated img.set_margin_left(2) /tmp/manjaro-hello-preferences.json --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 983, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 829, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 569, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 331, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/usr/bin/manjaro-hello", line 347, in <module> hello = Hello() File "/usr/bin/manjaro-hello", line 105, in __init__ conf = HelloConfig(application="manjaro-hello") File "/usr/lib/python3.7/site-packages/application_utility/browser/config.py", line 40, in __init__ self.load() File "/usr/lib/python3.7/site-packages/application_utility/browser/hello_config.py", line 43, in load logging.debug("_PREF_FILE is", self._PREF_FILE) Message: '_PREF_FILE is' Arguments: ('/usr/share/application-utility/preferences.json',) DEBUG:root:self.file is INFO:root:json to merge : /usr/share/application-utility/default.json ``` Used packages: - manjaro-application-utility (1.0-5 -> 1.0.1-2) - manjaro-hello (0.5.11-4 -> 0.6-1)
papajoke commented 2018-09-23 15:47:41 +00:00 (Migrated from gitlab2.manjaro.org)
yes fix is in my PR ... https://gitlab.manjaro.org/fhdk/application-utility/merge_requests/1/diffs?commit_id=9a79bde8d21668ea589851bd7e07fbc10f5efcbe
ghost commented 2019-07-01 10:26:13 +00:00 (Migrated from gitlab2.manjaro.org)

closed

closed
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
applications/application-utility#2
No description provided.