Package Details: nicotine-plus-git 3.3.4.r81.g12ec07d-1

Git Clone URL: https://aur.archlinux.org/nicotine-plus-git.git (read-only, click to copy)
Package Base: nicotine-plus-git
Description: A graphical client for the SoulSeek peer-to-peer system
Upstream URL: https://nicotine-plus.org
Licenses: GPL-3.0-or-later
Conflicts: nicotine, nicotine+, nicotine-plus
Provides: nicotine, nicotine+, nicotine-plus
Submitter: jorge_barroso
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 58
Popularity: 0.000003
First Submitted: 2013-08-15 17:48 (UTC)
Last Updated: 2024-06-21 01:09 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 6 Next › Last »

xAsh commented on 2024-04-27 18:53 (UTC)

unable to build since a few commits,

================================================================================================================== FAILURES ===================================================================================================================
________________________________________________________________________________________________________ StartupTest.test_gui_startup _________________________________________________________________________________________________________

self = <pynicotine.tests.integration.test_startup.StartupTest testMethod=test_gui_startup>

    def test_gui_startup(self):
        """Verify that regular GUI startup works."""

        command = [sys.executable, "-m", "pynicotine", f"--config={CONFIG_FILE}", f"--user-data={DATA_FOLDER_PATH}",
                   "--ci-mode"]
        broadway_display = ":1000"
        broadway_process = None
        is_success = False

        if sys.platform not in {"darwin", "win32"}:
            # Display server is required, use GDK's Broadway backend if available.
            # If not available, leave it up to the user to run the tests with e.g. xvfb-run.

            # pylint: disable=consider-using-with
            try:
                broadway_process = subprocess.Popen(["gtk4-broadwayd", broadway_display])

            except Exception:
                try:
                    broadway_process = subprocess.Popen(["broadwayd", broadway_display])

                except Exception:
                    pass

        if broadway_process is not None:
            os.environ["GDK_BACKEND"] = "broadway"
            os.environ["BROADWAY_DISPLAY"] = broadway_display

        with subprocess.Popen(command) as process:
            try:
                process.wait(timeout=5)

            except subprocess.TimeoutExpired:
                is_success = True
                process.terminate()

        if broadway_process is not None:
            broadway_process.terminate()
            broadway_process.wait()

>       self.assertTrue(is_success)
E       AssertionError: False is not true

pynicotine/tests/integration/test_startup.py:76: AssertionError
------------------------------------------------------------------------------------------------------------ Captured stdout call -------------------------------------------------------------------------------------------------------------
Listening on /run/user/1000/broadway1001.socket
[04/27/24 20:52:18] Loading Python 3.12.3
[04/27/24 20:52:18] Loading Nicotine+ 3.3.3rc2
[04/27/2024 08:52:18 PM] Loading GTK 3.24.41
------------------------------------------------------------------------------------------------------------ Captured stderr call -------------------------------------------------------------------------------------------------------------

(org.nicotine_plus.Nicotine:3440661): Gtk-WARNING **: 20:52:18.438: cannot open display: :1
=========================================================================================================== short test summary info ===========================================================================================================
FAILED pynicotine/tests/integration/test_startup.py::StartupTest::test_gui_startup - AssertionError: False is not true
======================================================================================================== 1 failed, 61 passed in 16.22s ========================================================================================================
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: nicotine-plus-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
nicotine-plus-git - exit status 4

RipDr19 commented on 2024-01-31 11:00 (UTC)

Launching Nicotine on wayland gives out the following critical error: Nicotine+ Version: 3.3.0rc3 GTK Version: 4.12.5 Python Version: 3.11.6 (linux)

Type: <class 'BufferError'> Value: Existing exports of data: object cannot be re-sized Traceback: File "/usr/lib/python3.11/site-packages/pynicotine/gtkgui/application.py", line 848, in _raise_exception raise exc_value File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() File "/usr/lib/python3.11/site-packages/pynicotine/slskproto.py", line 2685, in run self._process_ready_sockets(current_time) File "/usr/lib/python3.11/site-packages/pynicotine/slskproto.py", line 2456, in _process_ready_sockets self._process_ready_input_socket(sock, current_time) File "/usr/lib/python3.11/site-packages/pynicotine/slskproto.py", line 2411, in _process_ready_input_socket self._process_conn_incoming_messages(conn_obj_established) File "/usr/lib/python3.11/site-packages/pynicotine/slskproto.py", line 2467, in _process_conn_incoming_messages self._process_server_input(conn_obj) File "/usr/lib/python3.11/site-packages/pynicotine/slskproto.py", line 1307, in _process_server_input self._send_message_to_server(ServerDisconnect()) File "/usr/lib/python3.11/site-packages/pynicotine/slskproto.py", line 1518, in _send_message_to_server self._process_outgoing_message(message) File "/usr/lib/python3.11/site-packages/pynicotine/slskproto.py", line 2539, in _process_outgoing_message process_func(msg_obj) File "/usr/lib/python3.11/site-packages/pynicotine/slskproto.py", line 2301, in _process_internal_messages self._server_disconnect() File "/usr/lib/python3.11/site-packages/pynicotine/slskproto.py", line 1479, in _server_disconnect self._close_connection(self._conns, sock) File "/usr/lib/python3.11/site-packages/pynicotine/slskproto.py", line 937, in _close_connection conn_obj.ibuf.clear()

saxa commented on 2023-09-23 10:04 (UTC)

Current build of nicotine-plus-git-3.3.0.dev5.r9733.7283cea53 crashes for me couple seconds after launch. Went back to the nicotine+ package which seems to work.

Gtk:ERROR:../gtk/gtk/deprecated/gtktreeview.c:12838:gtk_tree_view_is_blank_at_pos: code should not be reached
Bail out! Gtk:ERROR:../gtk/gtk/deprecated/gtktreeview.c:12838:gtk_tree_view_is_blank_at_pos: code should not be reached

rwd2 commented on 2023-02-19 10:25 (UTC)

nicotine-plus-git 3.3.0.dev4.r8629.897858496-1 build fails with "AttributeError: 'PathDistribution' object has no attribute 'key'". Full output here: https://pastebin.com/vwUm7kXd

yochananmarqos commented on 2022-11-07 14:36 (UTC)

@duvel71: Fixed.

duvel71 commented on 2022-11-07 07:24 (UTC) (edited on 2022-11-07 14:54 (UTC) by duvel71)

Those two added files break the installation:

==> Retrieving sources...
  -> Updating nicotine-plus git repo...
  -> Found org.nicotine_plus.Nicotine-gtk4.desktop
  -> Found org.nicotine_plus.Nicotine-libadwaita.desktop
==> Validating source files with sha256sums...
    nicotine-plus ... Skipped
    org.nicotine_plus.Nicotine-gtk4.desktop ... FAILED
    org.nicotine_plus.Nicotine-libadwaita.desktop ... FAILED
==> ERROR: One or more files did not pass the validity check!

Edit: This problem is now fixed on a clean build, thanks.

katt commented on 2021-10-18 14:10 (UTC) (edited on 2021-10-18 14:13 (UTC) by katt)

==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: po/nb_NO.po:7: warning: header field 'Project-Id-Version' still has the initial default value
po/tr.po:7: warning: header field 'Project-Id-Version' still has the initial default value
3.2.0.dev1.r5888.5f79d641

Maybe just stick to a normal pkgver?

https://wiki.archlinux.org/title/VCS_package_guidelines#The_pkgver()_function

katt@main ~ » git -C /mnt/jupiter/etc/makepkg/sources/nicotine-plus describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
3.1.1.r516.g5f79d641

yochananmarqos commented on 2021-10-04 21:42 (UTC) (edited on 2021-12-15 06:57 (UTC) by yochananmarqos)

Test the GTK4 version:

NICOTINE_GTK_VERSION=4 nicotine

Test the Gtk 4 version with Libadwaita:

NICOTINE_GTK_VERSION=4 NICOTINE_LIBADWAITA=1 nicotine

Desktop files are now included for both.

yochananmarqos commented on 2021-01-27 18:39 (UTC)

@BachoSeven: I can't reproduce that in a clean chroot. Make sure you're doing a clean build.

BachoSeven commented on 2021-01-27 18:36 (UTC)

@yochananmarqos Shares unit test is failing with:

================================================= FAILURES ==================================================
_____________________________________________ test_shares_scan ______________________________________________

    def test_shares_scan():
        """ Test a full shares scan """

        config = Config("temp_config", DB_DIR)
        config.sections["transfers"]["shared"] = [("Shares", SHARES_DIR)]

        shares = Shares(None, config, queue.Queue(0))
        shares.rescan_shares()

        # Verify that modification time was saved for shares folder
>       assert SHARES_DIR in list(config.sections["transfers"]["sharedmtimes"])
E       AssertionError: assert '/home/fra/.cache/paru/clone/nicotine-plus-git/src/nicotine-plus/test/unit/shares/sharedfiles' in []
E        +  where [] = list(<shelve.Shelf object at 0x7f953f355ee0>)

test/unit/shares/test_shares.py:49: AssertionError
------------------------------------------- Captured stdout call --------------------------------------------
[2021-01-27 19:35:53] Can't create directory '', reported error: [Errno 2] No such file or directory: ''
_______________________________________ test_hidden_file_folder_scan ________________________________________

    def test_hidden_file_folder_scan():
        """ Test that hidden files and folders are excluded """

        config = Config("temp_config", DB_DIR)
        config.sections["transfers"]["shared"] = [("Shares", SHARES_DIR)]

        shares = Shares(None, config, queue.Queue(0))
>       shares.rescan_shares()

test/unit/shares/test_shares.py:88:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pynicotine/shares.py:283: in rescan_shares
    self._rescan_shares("normal", rebuild)
pynicotine/shares.py:322: in _rescan_shares
    self.rescan_dirs(
pynicotine/shares.py:401: in rescan_dirs
    self.get_files_index(sharestype, newsharedfiles)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pynicotine.shares.Shares object at 0x7f953f37c640>, sharestype = 'normal', sharedfiles = {}

    def get_files_index(self, sharestype, sharedfiles):
        """ Update Search index with new files """

        """ We dump data directly into the file index shelf to save memory """
        if sharestype == "normal":
            section = target = "fileindex"
        else:
            section = "bfileindex"
            target = "buddyfileindex"

>       self.config.sections["transfers"][section].close()
E       AttributeError: 'dict' object has no attribute 'close'

pynicotine/shares.py:720: AttributeError