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

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

    <bug>
          <bug_id>5465</bug_id>
          
          <creation_ts>2004-11-08 10:46:32 +0300</creation_ts>
          <short_desc>Bad: Перестал работать tkabber</short_desc>
          <delta_ts>2005-07-06 11:49:56 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>tkabber</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</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="Maxim Tyurin">mrkooll</reporter>
          <assigned_to name="Sergey Kalinin (BanZaj)">banzaj</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>19686</commentid>
    <comment_count>0</comment_count>
    <who name="Maxim Tyurin">mrkooll</who>
    <bug_when>2004-11-08 10:46:32 +0300</bug_when>
    <thetext>Перестал работать tkabber.
При запуске, после авторизации на сервере, выводит окошко 
Ошибка: wrong # args: should be &quot;&quot;
более детальное описание:
wrong # args: should be &quot;&quot;
wrong # args: should be &quot;&quot;
    while executing
&quot;random 1000000000&quot;
    (procedure &quot;jid_to_tag&quot; line 8)
    invoked from within
&quot;jid_to_tag $jid&quot;
    (procedure &quot;winid&quot; line 4)
    invoked from within
&quot;winid [chatid $connid $jid]&quot;
    (procedure &quot;chat::change_presence&quot; line 51)
    invoked from within
&quot;chat::change_presence $connid $from $show&quot;
    (&quot;default&quot; arm line 36)
    invoked from within
&quot;switch -- $type {
	error -
	unavailable {
            if {[cequal $type unavailable]} {
	        presence_process_x $connid $from $type $x
	    }

	  ...&quot;
    (procedure &quot;client:presence&quot; line 9)
    invoked from within
&quot;client:presence 1 wkaban@jabber.pibhe.com/Work {} {{x {xmlns jabber:x:delay
from wkaban@jabber.pibhe.com/Work stamp 20041107T02:06:47} {} {} {} {}} {x...&quot;
    (&quot;uplevel&quot; body line 1)
    invoked from within
&quot;uplevel #0  [list client:presence $connid $from $type $x] $param&quot;
    (&quot;presence&quot; arm line 62)
    invoked from within
&quot;switch -- $tag {
	iq {
	    set useid   0
	    set id &quot;&quot;
	    set type [wrapper:getattr $vars type]

	    if {[wrapper:isattr $vars id] == 1} {
		set ...&quot;
    (procedure &quot;::jlib::parse1&quot; line 25)
    invoked from within
&quot;::jlib::parse1 1 {presence {from wkaban@jabber.pibhe.com/Work to
mrkooll@jabber.pibhe.com} {{status {} {} Online Online {}} {priority {} {} 1 1
{}} {x...&quot;
    (&quot;after&quot; script)

Если проскипать эти диалоги - то tkabber запускается, но родстер пустой.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19742</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey Kalinin (BanZaj)">banzaj</who>
    <bug_when>2004-11-11 03:10:55 +0300</bug_when>
    <thetext>Хмм   у меня не воспроизводиться (впрочем не только у меня)  ...
после чего он перестал работать?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20086</commentid>
    <comment_count>2</comment_count>
    <who name="Maxim Tyurin">mrkooll</who>
    <bug_when>2004-11-29 13:30:13 +0300</bug_when>
    <thetext>Перестал работать после обновления tcl (вроде).
Повторяется от нового пользователя.

Сервер jabberd версии 1.4.2

Клиент tkabber-0.9.7-alt2
tcl-8.4.7-alt2

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20091</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey Kalinin (BanZaj)">banzaj</who>
    <bug_when>2004-11-30 04:57:44 +0300</bug_when>
    <thetext>вот тут есть два рецепта http://tkabber.jabber.ru/node/197

у меня проверить негде - тикл из поставки мастера 2.4 tcl-8.4.7-alt1

если получиться, пишите буду править пакет</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20092</commentid>
    <comment_count>4</comment_count>
    <who name="Maxim Tyurin">mrkooll</who>
    <bug_when>2004-11-30 10:56:45 +0300</bug_when>
    <thetext>Значит сделал почти как в этом совете.

Т.к. у меня нет Help-&gt;Show Tcl console в tkabber поставил я tkcon и подключился
к процессу tkabber.

После чего ввел команды. Получил тот-же облом:
Main console display active (Tcl8.4.7 / Tk8.4.7)
(mrkooll) 1 % package require Tclx
8.4
(mrkooll) 2 % random 1000000000
wrong # args: should be &quot;&quot;
(mrkooll) 3 % </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20145</commentid>
    <comment_count>5</comment_count>
    <who name="Maxim Tyurin">mrkooll</who>
    <bug_when>2004-12-02 15:51:50 +0300</bug_when>
    <thetext>Значит так:
полная переустановка помогла.

Сносил tcl под корень (с выносом /usr/share/tcl и /usr/lib/tcl)

Потом переставил и он завелся. Видимо глюк был в обновлении tcl.

Т.е. делал так:
apt&gt; remove tcl
apt&gt; remove tcl-gpgme
apt&gt; remove tcl-img
apt&gt; remove tcl-sound
apt&gt; commit
# rm -r /usr/share/tcl
# rm -r /usr/lib/tcl
apt&gt; install tkabber
apt&gt; install tcl-tkXwin
apt&gt; install tcl-gpgme
....

Вроде все заработало.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20573</commentid>
    <comment_count>6</comment_count>
    <who name="Sergey Vlasov">vsu</who>
    <bug_when>2004-12-18 22:05:26 +0300</bug_when>
    <thetext>Заработало, вероятно, из-за удаления пакета tcl-memchan. Наблюдается конфликт
между tcl-memchan и tclx - оба пакета создают процедуру с именем random. Причём
ни один из этих пакетов не обязателен для работы tkabber.

На самом деле для проявления ошибки достаточно наличия в системе только пакета
tcl-memchan - при отсутствии tclx tkabber определяет свою версию процедуры
random, которая потом портится новым memchan.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20574</commentid>
    <comment_count>7</comment_count>
      <attachid>674</attachid>
    <who name="Sergey Vlasov">vsu</who>
    <bug_when>2004-12-18 22:08:17 +0300</bug_when>
    <thetext>Created attachment 674
workaround for conflict between tclx and memchan

Можно обойти проблему вот таким кривым способом - сразу при запуске попытаться
загрузить пакеты, чтобы Memchan загрузился раньше, и его random был перекрыт
определением или из Tclx, или из эмуляции в Tclx.tcl.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26860</commentid>
    <comment_count>8</comment_count>
    <who name="Sergey Kalinin (BanZaj)">banzaj</who>
    <bug_when>2005-07-06 04:11:35 +0400</bug_when>
    <thetext>Не удалось воспроизвести</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26872</commentid>
    <comment_count>9</comment_count>
    <who name="Maxim Tyurin">mrkooll</who>
    <bug_when>2005-07-06 11:49:56 +0400</bug_when>
    <thetext>Да уже работает.

Как после полной переустановки тикля заработал так и работает до сих пор :)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>674</attachid>
            <date>2004-12-18 22:08:17 +0300</date>
            <delta_ts>2004-12-18 22:08:17 +0300</delta_ts>
            <desc>workaround for conflict between tclx and memchan</desc>
            <filename>tkabber.patch</filename>
            <type>text/plain</type>
            <size>415</size>
            <attacher name="Sergey Vlasov">vsu</attacher>
            
              <data encoding="base64">LS0tIHRrYWJiZXIudGNsLnJwbW9yaWcJMjAwNC0wNy0yOSAwMjo0OToxMCArMDQwMAorKysgdGth
YmJlci50Y2wJMjAwNC0xMi0xOCAyMTo1ODowOCArMDMwMApAQCAtNCw2ICs0LDExIEBACiAKICMg
JElkOiB0a2FiYmVyLnRjbCx2IDEuMjE5IDIwMDQvMDcvMTAgMjA6MDU6MDQgYWxla3NleSBFeHAg
JAogCisjIE1lbWNoYW4gYW5kIFRjbHggcGFja2FnZXMgYm90aCB0cnkgdG8gZGVmaW5lICJyYW5k
b20iLgorIyBNYWtlIHN1cmUgdGhhdCBUY2x4IGxvYWRzIGFmdGVyIE1lbWNoYW4gdG8gZ2V0ICJy
YW5kb20iIGZyb20gVGNseC4KK2NhdGNoIHtwYWNrYWdlIHJlcXVpcmUgTWVtY2hhbn0KK2NhdGNo
IHtwYWNrYWdlIHJlcXVpcmUgVGNseH0KKwogc2V0IGludGVyZmFjZSB0awogbmFtZXNwYWNlIGV2
YWwgaWZhY2V0ayB7fQogCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>