Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.3.0.dev1 after rescan complete, No GUI just crashes python 3.10.2 errors? #1915

Closed
francisuk1989 opened this issue Feb 22, 2022 · 0 comments · Fixed by #1916
Closed

3.3.0.dev1 after rescan complete, No GUI just crashes python 3.10.2 errors? #1915

francisuk1989 opened this issue Feb 22, 2022 · 0 comments · Fixed by #1916
Labels
Milestone

Comments

@francisuk1989
Copy link

francisuk1989 commented Feb 22, 2022

Running the following:

pounded@arch16c nicotine-plus]$ NICOTINE_GTK_VERSION=4 ./nicotine
[2022-02-22 23:48:28] Loading GTK 3.24.31
[2022-02-22 23:48:28] Loading Python 3.10.2 (main, Jan 15 2022, 19:56:27) [GCC 11.1.0]
[2022-02-22 23:48:28] Loading Nicotine+ 3.3.0.dev1
[2022-02-22 23:48:28] Rescanning shares…
[2022-02-22 23:48:28] 210 folders found before rescan, rebuilding…
[2022-02-22 23:48:29] Rescan complete: 210 folders found

and then i get the errors ....

Type: <class 'OverflowError'>
Value: 12559937990 not in range 0 to 4294967295
Traceback:   File "/home/kde/nicotine-plus/pynicotine/gtkgui/frame.py", line 1982, in do_activate
    NicotineFrame(
  File "/home/kde/nicotine-plus/pynicotine/gtkgui/frame.py", line 200, in __init__
    connect_ready = network_processor.start(self, self.network_callback)
  File "/home/kde/nicotine-plus/pynicotine/pynicotine.py", line 247, in start
    self.transfers.init_transfers()
  File "/home/kde/nicotine-plus/pynicotine/transfers.py", line 132, in init_transfers
    self.downloadsview.init_transfers(self.downloads)
  File "/home/kde/nicotine-plus/pynicotine/gtkgui/transferlist.py", line 211, in init_transfers
    self.update(forceupdate=True)
  File "/home/kde/nicotine-plus/pynicotine/gtkgui/transferlist.py", line 310, in update
    self.update_parent_rows(transfer)
  File "/home/kde/nicotine-plus/pynicotine/gtkgui/transferlist.py", line 334, in update_parent_rows
    self.update_parent_row(user_iter, username)
  File "/home/kde/nicotine-plus/pynicotine/gtkgui/transferlist.py", line 447, in update_parent_row
    self.transfersmodel.set_value(initer, 11, GObject.Value(GObject.TYPE_UINT, position))
  File "/usr/lib/python3.10/site-packages/gi/overrides/GObject.py", line 208, in __init__
    self.set_value(py_value)
  File "/usr/lib/python3.10/site-packages/gi/overrides/GObject.py", line 257, in set_value
    _gi._gvalue_set(self, py_value)

Nicotine+ Version: 3.3.0.dev1
GTK Version: 4.6.0 and GTK Version: 3.24.31
Python Version: 3.10.2 (main, Jan 15 2022, 19:56:27) [GCC 11.1.0]
Operating System/Distribution: Manjaro KDE - Arch based x64

@francisuk1989 francisuk1989 changed the title 3.3.0.dev1 - Python 3.10.2 errors 3.3.0.dev1 after rescan complete, No GUI just crashes python 3.10.2 errors? Feb 23, 2022
slook added a commit to slook/nicotine-plus that referenced this issue Feb 23, 2022
mathiascode pushed a commit that referenced this issue Feb 23, 2022
* transferlist.py: Fix OverflowError TYPE_UINT64

Fixes #1915

(11) current_byte_offset

* transferlist.py: position -> current_bytes
mathiascode pushed a commit that referenced this issue Feb 23, 2022
* transferlist.py: Fix OverflowError TYPE_UINT64

Fixes #1915

(11) current_byte_offset

* transferlist.py: position -> current_bytes
@mathiascode mathiascode added this to the 3.3.0 milestone Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants