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

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

    <bug>
          <bug_id>40772</bug_id>
          
          <creation_ts>2021-08-17 22:39:07 +0300</creation_ts>
          <short_desc>gramps 4.2.8</short_desc>
          <delta_ts>2021-12-22 17:21:40 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>gramps</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>37029</dup_id>
          
          <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="sklaria">sklaria</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>cas</cc>
    
    <cc>grenka</cc>
    
    <cc>lav</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>201759</commentid>
    <comment_count>0</comment_count>
    <who name="sklaria">sklaria</who>
    <bug_when>2021-08-17 22:39:07 +0300</bug_when>
    <thetext>Программа запускается, но выбор &quot;Люди&quot; или &quot;Семьи&quot; приводит к ошибке.
Вывод в консоли -
$gramps
.gramps.gen.utils.grampslocale.WARNING: ICU not loaded because No module named &apos;PyICU&apos;. Localization will be impaired. Use your package manager to install PyICU
/usr/lib/python3/site-packages/gramps/gen/plug/_pluginreg.py:1070: SyntaxWarning: &quot;is not&quot; with a literal. Did you mean &quot;!=&quot;?
  if PluginRegister.__instance is not 1:
/usr/lib/python3/site-packages/gramps/gen/plug/_manager.py:85: SyntaxWarning: &quot;is not&quot; with a literal. Did you mean &quot;!=&quot;?
  if BasePluginManager.__instance is not 1:
/usr/lib/python3/site-packages/gramps/gui/pluginmanager.py:74: SyntaxWarning: &quot;is not&quot; with a literal. Did you mean &quot;!=&quot;?
  if GuiPluginManager.__instance is not 1:
/usr/lib/python3/site-packages/gramps/plugins/lib/maps/messagelayer.py:112: SyntaxWarning: &quot;is not&quot; with a literal. Did you mean &quot;!=&quot;?
  self.message += &quot;\n%s&quot; % message if self.message is not &quot;&quot; else message
2021-08-17 20:59:38.110: ERROR: grampsapp.py: line 144: Unhandled exception
Traceback (most recent call last):
  File &quot;/usr/lib/python3/site-packages/gramps/gui/viewmanager.py&quot;, line 1015, in view_changed
    self.__change_page(page_num)
  File &quot;/usr/lib/python3/site-packages/gramps/gui/viewmanager.py&quot;, line 1028, in __change_page
    self.active_page.set_active()
  File &quot;/usr/lib/python3/site-packages/gramps/gui/views/listview.py&quot;, line 292, in set_active
    NavigationView.set_active(self)
  File &quot;/usr/lib/python3/site-packages/gramps/gui/views/navigationview.py&quot;, line 154, in set_active
    PageView.set_active(self)
  File &quot;/usr/lib/python3/site-packages/gramps/gui/views/pageview.py&quot;, line 304, in set_active
    self.build_tree()
  File &quot;/usr/lib/python3/site-packages/gramps/gui/views/listview.py&quot;, line 310, in build_tree
    cput0 = time.clock()
AttributeError: module &apos;time&apos; has no attribute &apos;clock&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201791</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2021-08-18 12:19:44 +0300</bug_when>
    <thetext>gramps 4 устарел, надо собирать gramps 5 ...

From the Python 3.8 doc:

The function time.clock() has been removed, after having been deprecated since Python 3.3: use time.perf_counter() or time.process_time() instead, depending on your requirements, to have well-defined behavior. (Contributed by Matthias Bussonnier in bpo-36895.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206288</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2021-12-22 17:21:40 +0300</bug_when>
    <thetext>Дубль.

*** This bug has been marked as a duplicate of bug 37029 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>