My favorites | Sign in
Project Home Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 1: Кроссплатформенность?
1 person starred this issue and may be notified of changes. Back to list
 
Project Member Reported by vzaritov...@gmail.com, Oct 30, 2007
Теряется кроссплатформенность из-за отлова POSIX сигналов :\
Я покопал Time::HiRes - оно нам не поможет :))
Имхо для винды надо делать на Win32::Event и Win32::IPC
Только остаеться одна проблема - мне тестить негде...винды дома и на работе
нету :)))))
Oct 30, 2007
Project Member #4 timofei1...@gmail.com
А так ли нам нужна поддержка винды, как кажеться? (=
Jan 13, 2009
#5 Victor.G...@gmail.com
Тестировал гейт на FreeBSD.
Столкнулся со следующими ошибками:
1) Вот что выдает при запуске:
Код
GeSHi (bash):
"my" variable $conf masks earlier declaration in same scope at ./icq2irc.pl
        line 23 (#1)
    (W misc) A "my" or "our" variable has been redeclared in the current
    scope or statement, effectively eliminating all access to the previous
    instance.  This is almost always a typographical error.  Note that the
    earlier variable will still exist until the end of the scope or until
    all closure referents to it are destroyed.
Created by GeSHI 1.0.7.20
Что можно с этим сделать? Если нужно могу файлы прислать, которые нужны.

2) Когда пишешь в конфиге канал с русскими буквами - то при старте возникает ошибка: 

Код
GeSHi (bash):
Uncaught exception from user code:
        config.xml:9: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xEE 0xF0 0xF1 0xEA
 at /usr/local/lib/perl5/site_perl/5.8.8/mach/XML/LibXML/SAX.pm line 83
        XML::LibXML::SAX::_parse('XML::LibXML::SAX=HASH(0x86a1e1c)') called at /usr/
local/lib/perl5/site_perl/5.8.8/mach/XML/LibXML/SAX.pm line 53
        XML::LibXML::SAX::_parse_systemid('XML::LibXML::SAX=HASH(0x86a1e1c)', 
'config.xml') called at /usr/local/lib/perl5/site_perl/5.8.8/XML/SAX/Base.pm line 
2602
        XML::SAX::Base::parse('XML::LibXML::SAX=HASH(0x86a1e1c)', 'HASH(0x8682100)') 
called at /usr/local/lib/perl5/site_perl/5.8.8/XML/SAX/Base.pm line 2643
        XML::SAX::Base::parse_uri('XML::LibXML::SAX=HASH(0x86a1e1c)', 'config.xml') 
called at /usr/local/lib/perl5/site_perl/5.8.8/XML/Simple.pm line 362
        XML::Simple::build_tree('XML::Simple=HASH(0x866ca98)', 'config.xml', 
'undef') called at /usr/local/lib/perl5/site_perl/5.8.8/XML/Simple.pm line 308
        XML::Simple::build_simple_tree('XML::Simple=HASH(0x866ca98)', 'config.xml', 
'undef') called at /usr/local/lib/perl5/site_perl/5.8.8/XML/Simple.pm line 227
        XML::Simple::parse_file('XML::Simple=HASH(0x866ca98)', 'config.xml') called 
at /usr/local/lib/perl5/site_perl/5.8.8/XML/Simple.pm line 195
        XML::Simple::XMLin('config.xml') called at ./icq2irc.pl line 23
Created by GeSHI 1.0.7.20
Думаю дело с кодировкой.. Хотя конфиг правлю в кодировке cp1251. Может нужно в UTF-8?

3) Когда гейт запущен и зашел в ирк и асю, захожу чезез icq на мост !start
Ввожу !who
В ответ тишина..
В это же время в консоль вылетает следующее:

Код
GeSHi (bash):
Use of uninitialized value in scalar chop at ./icq2irc.pl line 601, <IRCSOCK>
        line 100 (#2)
Use of uninitialized value in string at ./icq2irc.pl line 247, <IRCSOCK> line
        100 (#2)
Use of uninitialized value in numeric le (<=) at
        /usr/local/lib/perl5/site_perl/5.8.8/Net/OSCAR/Callbacks/1/rate_change.pm 
line 17, <IRCSOCK> line 100 (#2)
Created by GeSHI 1.0.7.20
Вот пока что все с чем столкнулся.. Помогите подправить что где надо.. Заранее 
благодарен

Powered by Google Project Hosting