cpenv / tk-cpenv

Shotgun Toolkit Application that adds support for cpenv modules.
Other
20 stars 5 forks source link

Overflow Error on large package #29

Open RicardoMusch opened 3 months ago

RicardoMusch commented 3 months ago

Archive is a Nuke Installation and is 4311799850 bytes (4.11GB). Already had to change the SG field to a text field to be able to store the bytesize.

Traceback (most recent call last):
  File "C:\Users\sysadmin\AppData\Roaming\Shotgun\bundle_cache\sg\nodeslayers\v4864\bundle_cache\git\tk-cpenv.git\v0.5.12\app.py", line 461, in before_app_launch
    self._before_app_launch(
  File "C:\Users\sysadmin\AppData\Roaming\Shotgun\bundle_cache\sg\nodeslayers\v4864\bundle_cache\git\tk-cpenv.git\v0.5.12\app.py", line 529, in _before_app_launch
    modules = self.activate(requires)
  File "C:\Users\sysadmin\AppData\Roaming\Shotgun\bundle_cache\sg\nodeslayers\v4864\bundle_cache\git\tk-cpenv.git\v0.5.12\app.py", line 427, in activate
    return self.cpenv.activate(requirements)
  File "C:\Users\sysadmin\AppData\Roaming\Shotgun\bundle_cache\sg\nodeslayers\v4864\bundle_cache\git\tk-cpenv.git\v0.5.12\python\cpenv\api.py", line 94, in activate
    modules = activator.activate(module_specs)
  File "C:\Users\sysadmin\AppData\Roaming\Shotgun\bundle_cache\sg\nodeslayers\v4864\bundle_cache\git\tk-cpenv.git\v0.5.12\python\cpenv\resolver.py", line 112, in activate
    modules = self.localizer.localize(module_specs)
  File "C:\Users\sysadmin\AppData\Roaming\Shotgun\bundle_cache\sg\nodeslayers\v4864\bundle_cache\git\tk-cpenv.git\v0.5.12\python\cpenv\resolver.py", line 233, in localize
    module = module_spec.repo.download(
  File "C:\Users\sysadmin\AppData\Roaming\Shotgun\bundle_cache\sg\nodeslayers\v4864\bundle_cache\git\tk-cpenv.git\v0.5.12\python\cpenv\repos\shotgun.py", line 178, in download
    with progress_bar as progress_bar:
  File "C:\Program Files\Shotgun\Python3\lib\contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "C:\Users\sysadmin\AppData\Roaming\Shotgun\bundle_cache\sg\nodeslayers\v4864\bundle_cache\git\tk-cpenv.git\v0.5.12\python\cpenv\reporter.py", line 84, in progress_bar
    bar.start()
  File "C:\Users\sysadmin\AppData\Roaming\Shotgun\bundle_cache\sg\nodeslayers\v4864\bundle_cache\git\tk-cpenv.git\v0.5.12\python\cpenv\reporter.py", line 35, in start
    self.reporter.start_progress(self.label, self.max_size, self.data)
  File "C:\Users\sysadmin\AppData\Roaming\Shotgun\bundle_cache\sg\nodeslayers\v4864\bundle_cache\git\tk-cpenv.git\v0.5.12\python\cpenv_ui\reporter.py", line 14, in run
    return fn(self, *args, **kwargs)
  File "C:\Users\sysadmin\AppData\Roaming\Shotgun\bundle_cache\sg\nodeslayers\v4864\bundle_cache\git\tk-cpenv.git\v0.5.12\python\cpenv_ui\reporter.py", line 115, in start_progress
    self.dialog.set_progress(max_size=max_size)
  File "C:\Users\sysadmin\AppData\Roaming\Shotgun\bundle_cache\sg\nodeslayers\v4864\bundle_cache\git\tk-cpenv.git\v0.5.12\python\cpenv_ui\dialogs.py", line 80, in set_progress
    self.progress.setRange(0, max_size)
OverflowError