<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>53973</bug_id>
          
          <creation_ts>2025-04-24 11:59:38 +0300</creation_ts>
          <short_desc>Ошибка импорта модуля motor</short_desc>
          <delta_ts>2026-01-14 14:43:39 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Branch p11</product>
          <component>python3-module-motor</component>
          <version>unspecified</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Grigory Ustinov">grenka</assigned_to>
          <cc>novopoltsevdv</cc>
          
          <qa_contact name="qa-p11@altlinux.org">qa-p11</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>263478</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2025-04-24 11:59:38 +0300</bug_when>
    <thetext>- Версия пакета:
python3-module-motor-3.4.0-alt1

- Шаги воспроизведения:
# apt-get install -y python3-module-motor
$ python3 -c &quot;import motor&quot;

- Получаемый результат:
Traceback (most recent call last):
  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/usr/lib/python3/site-packages/motor/__init__.py&quot;, line 28, in &lt;module&gt;
    from .motor_tornado import *  # noqa: F403
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/site-packages/motor/motor_tornado.py&quot;, line 50, in &lt;module&gt;
    MotorCollection = create_motor_class(core.AgnosticCollection)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/site-packages/motor/motor_tornado.py&quot;, line 38, in create_motor_class
    return create_class_with_framework(cls, tornado_framework, &quot;motor.motor_tornado&quot;)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/site-packages/motor/metaprogramming.py&quot;, line 293, in create_class_with_framework
    new_class_attr = attr.create_attribute(new_class, name)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/site-packages/motor/metaprogramming.py&quot;, line 154, in create_attribute
    method = getattr(cls.__delegate_class__, name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object &apos;Collection&apos; has no attribute &apos;create_search_index&apos;

В сизифе на версии 3.7.0-alt1 не воспроизводится.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280220</commentid>
    <comment_count>1</comment_count>
    <who name="Новопольцев Дмитрий">novopoltsevdv</who>
    <bug_when>2026-01-14 14:43:39 +0300</bug_when>
    <thetext>Исправлено, на версии python3-module-motor-3.7.0-alt1.noarch

Alt Server 11.0 x64</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>