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

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

    <bug>
          <bug_id>15835</bug_id>
          
          <creation_ts>2008-05-29 19:33:43 +0400</creation_ts>
          <short_desc>Не получается запустить arepo</short_desc>
          <delta_ts>2008-12-27 11:51:35 +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>arepo</component>
          <version>unstable</version>
          <rep_platform>all</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>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70955</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2008-05-29 19:33:43 +0400</bug_when>
    <thetext>[lav@builder64 Sisyphus]$ cat arepo.conf
origin = ./
flavor = classic
source = i586
target = x86_64
shadow = ./x86_32-our

[lav@builder64 Sisyphus]$ arepo -v arepo.conf
Traceback (most recent call last):
  File &quot;/usr/bin/arepo&quot;, line 600, in &lt;module&gt;
    main()
  File &quot;/usr/bin/arepo&quot;, line 560, in main
    read_config(args[0])
  File &quot;/usr/bin/arepo&quot;, line 50, in read_config
    vars[key] = config[key]
TypeError: string indices must be integers</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70963</commentid>
    <comment_count>1</comment_count>
    <who name="avm">avm</who>
    <bug_when>2008-05-29 23:30:20 +0400</bug_when>
    <thetext>Дело в том, что конфиг -- это документ YAML, и там должны быть двоеточия, а не
знаки равенства. Попробую выдавать какое-нибудь разумное сообщение об ошибке.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70985</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2008-05-30 10:06:06 +0400</bug_when>
    <thetext>Дело в том, что тогда надо исправить пример в начале файла
/usr/bin/arepo, который вводит в заблуждение:

# For example, with the following configuration:
# * origin = /Sisyphus
# * flavor = classic
# * source = i586
# * target = x86_64 and
# * shadow = ~/i586-biarch-repo
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73234</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2008-06-27 08:21:38 +0400</bug_when>
    <thetext>Работающий пример:

origin : /var/ftp/pub/ALTLinux/Sisyphus/test/
flavor : classic
source : i586
target : x86_64
shadow : /var/ftp/pub/ALTLinux/Sisyphus/test/x86_32-our

packages: &gt;
    libaudio
    glibc-core
    glibc-nss
    glibc-devel
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83496</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2008-12-27 11:51:35 +0300</bug_when>
    <thetext>Запустили, но программа фантастически не соответствует описанию и ожиданиям ;)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>