Github messages for voidlinux
 help / color / mirror / Atom feed
From: Uriel12 <Uriel12@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] installation syntax errors for gnome-passwordsafe
Date: Thu, 09 Apr 2020 12:17:51 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20789@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 12941 bytes --]

New issue by Uriel12 on void-packages repository

https://github.com/void-linux/void-packages/issues/20789

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  *Void 5.4.29_1 x86_64 AuthenticAMD uptodate rrrmFFFF*
* package:  
  *gnome-passwordsafe version: 3.99.2*

I did not see in the template file for gnome-passwordsafe any deviation from the upstream source.
So maybe the error messages should be filed with the upstream project.

The syntax errors mostly should be fine if my limited understanding of python3 is correct.
But maybe someone else could take a look.

### Expected behavior
Flawless install behavior.
### Actual behavior
```
Byte-compiling python3.8 code for module passwordsafe...
usr/lib/python3.8/site-packages/passwordsafe/entry_page.py:78: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif scrolled_page.name_property_row is not "":
usr/lib/python3.8/site-packages/passwordsafe/entry_page.py:102: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif scrolled_page.username_property_row is not "":
usr/lib/python3.8/site-packages/passwordsafe/entry_page.py:145: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif scrolled_page.password_property_row is not "":
usr/lib/python3.8/site-packages/passwordsafe/entry_page.py:170: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif scrolled_page.url_property_row is not "":
usr/lib/python3.8/site-packages/passwordsafe/entry_page.py:197: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif scrolled_page.notes_property_row is not "":
usr/lib/python3.8/site-packages/passwordsafe/entry_row.py:61: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.database_manager.has_entry_name(self.entry_uuid) is True and self.label is not "":
usr/lib/python3.8/site-packages/passwordsafe/entry_row.py:68: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if (self.database_manager.has_entry_username(self.entry_uuid) is True and subtitle is not ""):
usr/lib/python3.8/site-packages/passwordsafe/group_row.py:34: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.label is not None and self.label is not "":
usr/lib/python3.8/site-packages/passwordsafe/main_window.py:185: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(self.get_application().file_list) is not 0:
usr/lib/python3.8/site-packages/passwordsafe/main_window.py:188: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif passwordsafe.config_manager.get_first_start_screen() is True and filepath is not "" and filepath is not None and os.path.exists(filepath) is True:
usr/lib/python3.8/site-packages/passwordsafe/main_window.py:204: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(passwordsafe.config_manager.get_last_opened_list()) is not 0:
usr/lib/python3.8/site-packages/passwordsafe/main_window.py:470: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.container.get_n_pages() is 0:
usr/lib/python3.8/site-packages/passwordsafe/notes_dialog.py:120: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if entry.get_text() is not "":
usr/lib/python3.8/site-packages/passwordsafe/responsive_ui.py:25: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(self.unlocked_database.pathbar.viewport.get_children()) is not 0:
usr/lib/python3.8/site-packages/passwordsafe/responsive_ui.py:29: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(self.unlocked_database.action_bar_box.get_children()) is 0:
usr/lib/python3.8/site-packages/passwordsafe/responsive_ui.py:39: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(self.unlocked_database.action_bar_box.get_children()) is not 0:
usr/lib/python3.8/site-packages/passwordsafe/responsive_ui.py:42: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(self.unlocked_database.pathbar.viewport.get_children()) is 0:
usr/lib/python3.8/site-packages/passwordsafe/responsive_ui.py:49: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(self.unlocked_database.builder.get_object("title_box").get_children()) is not 0:
usr/lib/python3.8/site-packages/passwordsafe/responsive_ui.py:63: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(self.unlocked_database.builder.get_object("title_box").get_children()) is 0:
usr/lib/python3.8/site-packages/passwordsafe/search.py:100: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(self.search_list_box.get_children()) is 0:
usr/lib/python3.8/site-packages/passwordsafe/search.py:128: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if widget.get_text() is not "":
usr/lib/python3.8/site-packages/passwordsafe/search.py:192: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(self.search_list_box.get_children()) is 0:
usr/lib/python3.8/site-packages/passwordsafe/search.py:256: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if widget.get_text() is not "":
usr/lib/python3.8/site-packages/passwordsafe/search.py:263: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.search_list_box.get_children()[0].type is "GroupRow":
usr/lib/python3.8/site-packages/passwordsafe/search.py:270: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if selected_row.type is "GroupRow":
usr/lib/python3.8/site-packages/passwordsafe/selection_ui.py:266: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if selection_type is "all":
usr/lib/python3.8/site-packages/passwordsafe/settings_dialog.py:60: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(passwordsafe.config_manager.get_last_opened_list()) is 0:
usr/lib/python3.8/site-packages/passwordsafe/settings_dialog.py:111: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.window.container is not NotImplemented and self.window.container.get_n_pages() is 0 or self.window.container is NotImplemented:
usr/lib/python3.8/site-packages/passwordsafe/unlock_database.py:484: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if composite_unlock_entry.get_text() is not "" and self.composite_keyfile_path is not NotImplemented:
usr/lib/python3.8/site-packages/passwordsafe/unlocked_database.py:435: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(list_box.get_children()) is 0:
usr/lib/python3.8/site-packages/passwordsafe/unlocked_database.py:852: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if clear_clipboard_time is not 0:
usr/lib/python3.8/site-packages/passwordsafe/unlocked_database.py:862: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if timeout is not 0:
usr/lib/python3.8/site-packages/passwordsafe/entry_page.py:78: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif scrolled_page.name_property_row is not "":
usr/lib/python3.8/site-packages/passwordsafe/entry_page.py:102: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif scrolled_page.username_property_row is not "":
usr/lib/python3.8/site-packages/passwordsafe/entry_page.py:145: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif scrolled_page.password_property_row is not "":
usr/lib/python3.8/site-packages/passwordsafe/entry_page.py:170: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif scrolled_page.url_property_row is not "":
usr/lib/python3.8/site-packages/passwordsafe/entry_page.py:197: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif scrolled_page.notes_property_row is not "":
usr/lib/python3.8/site-packages/passwordsafe/entry_row.py:61: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.database_manager.has_entry_name(self.entry_uuid) is True and self.label is not "":
usr/lib/python3.8/site-packages/passwordsafe/entry_row.py:68: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if (self.database_manager.has_entry_username(self.entry_uuid) is True and subtitle is not ""):
usr/lib/python3.8/site-packages/passwordsafe/group_row.py:34: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.label is not None and self.label is not "":
usr/lib/python3.8/site-packages/passwordsafe/main_window.py:185: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(self.get_application().file_list) is not 0:
usr/lib/python3.8/site-packages/passwordsafe/main_window.py:188: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif passwordsafe.config_manager.get_first_start_screen() is True and filepath is not "" and filepath is not None and os.path.exists(filepath) is True:
usr/lib/python3.8/site-packages/passwordsafe/main_window.py:204: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(passwordsafe.config_manager.get_last_opened_list()) is not 0:
usr/lib/python3.8/site-packages/passwordsafe/main_window.py:470: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.container.get_n_pages() is 0:
usr/lib/python3.8/site-packages/passwordsafe/notes_dialog.py:120: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if entry.get_text() is not "":
usr/lib/python3.8/site-packages/passwordsafe/responsive_ui.py:25: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(self.unlocked_database.pathbar.viewport.get_children()) is not 0:
usr/lib/python3.8/site-packages/passwordsafe/responsive_ui.py:29: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(self.unlocked_database.action_bar_box.get_children()) is 0:
usr/lib/python3.8/site-packages/passwordsafe/responsive_ui.py:39: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(self.unlocked_database.action_bar_box.get_children()) is not 0:
usr/lib/python3.8/site-packages/passwordsafe/responsive_ui.py:42: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(self.unlocked_database.pathbar.viewport.get_children()) is 0:
usr/lib/python3.8/site-packages/passwordsafe/responsive_ui.py:49: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(self.unlocked_database.builder.get_object("title_box").get_children()) is not 0:
usr/lib/python3.8/site-packages/passwordsafe/responsive_ui.py:63: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(self.unlocked_database.builder.get_object("title_box").get_children()) is 0:
usr/lib/python3.8/site-packages/passwordsafe/search.py:100: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(self.search_list_box.get_children()) is 0:
usr/lib/python3.8/site-packages/passwordsafe/search.py:128: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if widget.get_text() is not "":
usr/lib/python3.8/site-packages/passwordsafe/search.py:192: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(self.search_list_box.get_children()) is 0:
usr/lib/python3.8/site-packages/passwordsafe/search.py:256: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if widget.get_text() is not "":
usr/lib/python3.8/site-packages/passwordsafe/search.py:263: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.search_list_box.get_children()[0].type is "GroupRow":
usr/lib/python3.8/site-packages/passwordsafe/search.py:270: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if selected_row.type is "GroupRow":
usr/lib/python3.8/site-packages/passwordsafe/selection_ui.py:266: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if selection_type is "all":
usr/lib/python3.8/site-packages/passwordsafe/settings_dialog.py:60: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(passwordsafe.config_manager.get_last_opened_list()) is 0:
usr/lib/python3.8/site-packages/passwordsafe/settings_dialog.py:111: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.window.container is not NotImplemented and self.window.container.get_n_pages() is 0 or self.window.container is NotImplemented:
usr/lib/python3.8/site-packages/passwordsafe/unlock_database.py:484: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if composite_unlock_entry.get_text() is not "" and self.composite_keyfile_path is not NotImplemented:
usr/lib/python3.8/site-packages/passwordsafe/unlocked_database.py:435: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(list_box.get_children()) is 0:
usr/lib/python3.8/site-packages/passwordsafe/unlocked_database.py:852: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if clear_clipboard_time is not 0:
usr/lib/python3.8/site-packages/passwordsafe/unlocked_database.py:862: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if timeout is not 0:
```
### Steps to reproduce the behavior



             reply	other threads:[~2020-04-09 10:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-09 10:17 Uriel12 [this message]
2020-04-14  7:30 ` Chocimier
2020-04-14  7:30 ` [ISSUE] [CLOSED] " Chocimier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20789@inbox.vuxu.org \
    --to=uriel12@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).