Bug 2412178

Summary: [abrt] conda: install(): logging.py:66:filter:TypeError: 'str' object cannot be interpreted as an integer
Product: [Fedora] Fedora Reporter: fabianagcris
Component: condaAssignee: Zbigniew Jędrzejewski-Szmek <zbyszek>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: fabianagcris, orion, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/aaf9a0ea3f74cc455386512ca7846398889d369
Whiteboard: abrt_hash:c9c81118f9c1933f341f40c42fc941796279217a;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-11-25 02:54:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: os_info
none
File: environ
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: cpuinfo none

Description fabianagcris 2025-11-04 04:59:36 UTC
Version-Release number of selected component:
conda-24.11.3-3.fc43

Additional info:
reporter:       libreport-2.17.15
kernel:         6.17.6-300.fc43.x86_64
cmdline:        /usr/bin/python3 -sP /usr/bin/conda install jupyter nbconvert
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-dev.warp.Warp-44731.scope
uid:            1000
reason:         logging.py:66:filter:TypeError: 'str' object cannot be interpreted as an integer
executable:     /usr/bin/conda
type:           Python3
package:        conda-24.11.3-3.fc43
runlevel:       /bin/sh: line 1: runlevel: command not found
exception_type: conda.exceptions.NoBaseEnvironmentError
crash_function: install
interpreter:    python3-3.14.0-1.fc43.x86_64

Truncated backtrace:
logging.py:66:filter:TypeError: 'str' object cannot be interpreted as an integer

Traceback (most recent call last):
  File "/usr/lib/python3.14/site-packages/conda/exception_handler.py", line 18, in __call__
    return func(*args, **kwargs)
  File "/usr/lib/python3.14/site-packages/conda/cli/main.py", line 61, in main_subshell
    exit_code = do_call(args, parser)
  File "/usr/lib/python3.14/site-packages/conda/cli/conda_argparse.py", line 205, in do_call
    result = getattr(module, func_name)(args, parser)
  File "/usr/lib/python3.14/site-packages/conda/notices/core.py", line 132, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3.14/site-packages/conda/cli/main_install.py", line 152, in execute
    return install(args, parser, "install")
  File "/usr/lib/python3.14/site-packages/conda/cli/install.py", line 249, in install
    raise NoBaseEnvironmentError()
conda.exceptions.NoBaseEnvironmentError: This conda installation has no default base environment. Use
'conda create' to create new environments and 'conda activate' to
activate environments.


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/conda", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3.14/site-packages/conda/cli/main.py", line 105, in main
    return conda_exception_handler(main, *args, **kwargs)
  File "/usr/lib/python3.14/site-packages/conda/exception_handler.py", line 386, in conda_exception_handler
    return_value = exception_handler(func, *args, **kwargs)
  File "/usr/lib/python3.14/site-packages/conda/exception_handler.py", line 21, in __call__
    return self.handle_exception(exc_val, exc_tb)
           ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/conda/exception_handler.py", line 62, in handle_exception
    return self.handle_application_exception(exc_val, exc_tb)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/conda/exception_handler.py", line 78, in handle_application_exception
    self._print_conda_exception(exc_val, exc_tb)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/conda/exception_handler.py", line 84, in _print_conda_exception
    print_conda_exception(exc_val, exc_tb)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/conda/exceptions.py", line 1270, in print_conda_exception
    stderrlog.error("\n%r\n", exc_val)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.14/logging/__init__.py", line 1665, in _log
    self.handle(record)
    ~~~~~~~~~~~^^^^^^^^
  File "/usr/lib64/python3.14/logging/__init__.py", line 1676, in handle
    maybe_record = self.filter(record)
  File "/usr/lib64/python3.14/logging/__init__.py", line 867, in filter
    result = f.filter(record)
  File "/usr/lib/python3.14/site-packages/conda/gateways/logging.py", line 66, in filter
    record.msg = self.TOKEN_REPLACE(record.msg)
                 ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
TypeError: 'str' object cannot be interpreted as an integer

Local variables in innermost frame:
self: <conda.gateways.logging.TokenURLFilter object at 0x7f6dd33e0550>
record: <LogRecord: conda.stderr, 40, /usr/lib/python3.14/site-packages/conda/exceptions.py, 1270, "
NoBaseEnvironmentError: This conda installation has no default base environment. Use
'conda create' to create new environments and 'conda activate' to
activate environments.

">

Comment 1 fabianagcris 2025-11-04 04:59:39 UTC
Created attachment 2112501 [details]
File: os_info

Comment 2 fabianagcris 2025-11-04 04:59:40 UTC
Created attachment 2112502 [details]
File: environ

Comment 3 fabianagcris 2025-11-04 04:59:41 UTC
Created attachment 2112503 [details]
File: mountinfo

Comment 4 fabianagcris 2025-11-04 04:59:43 UTC
Created attachment 2112504 [details]
File: open_fds

Comment 5 fabianagcris 2025-11-04 04:59:44 UTC
Created attachment 2112505 [details]
File: namespaces

Comment 6 fabianagcris 2025-11-04 04:59:45 UTC
Created attachment 2112506 [details]
File: backtrace

Comment 7 fabianagcris 2025-11-04 04:59:46 UTC
Created attachment 2112507 [details]
File: cpuinfo

Comment 8 Orion Poplawski 2025-11-25 02:54:06 UTC

*** This bug has been marked as a duplicate of bug 2356170 ***