Error opening terminal sipp

SIPP: ОШИБКА ОТКРЫТИЯ ТЕРМИНАЛА: CYGWIN Я пытался установить sipp [в Windows], чтобы протестировать двухточечное SIP-приложение, которое я пишу. Я установил sipp 3.2 в соответствии с приведенными инструкциями. здесь. Я также установил Cygwin. Я не могу запустить sipp даже из той же папки, в которой я установил, и он завершается ошибкой cygwin. Кстати, запуск только […]

Содержание

  1. SIPP: ОШИБКА ОТКРЫТИЯ ТЕРМИНАЛА: CYGWIN
  2. 4 ответы
  3. SIPP: ERROR OPENING TERMINAL: CYGWIN
  4. 4 Answers 4
  5. SIPP: ОШИБКА ОТКРЫТИЯ ТЕРМИНАЛА: CYGWIN
  6. SIPP: ОШИБКА ОТКРЫТИЯ ТЕРМИНАЛА: CYGWIN
  7. 4 ответа
  8. ssh.exe Error opening terminal #18
  9. Comments

SIPP: ОШИБКА ОТКРЫТИЯ ТЕРМИНАЛА: CYGWIN

Я пытался установить sipp [в Windows], чтобы протестировать двухточечное SIP-приложение, которое я пишу. Я установил sipp 3.2 в соответствии с приведенными инструкциями. здесь. Я также установил Cygwin. Я не могу запустить sipp даже из той же папки, в которой я установил, и он завершается ошибкой cygwin. Кстати, запуск только sipp предоставляет справочную документацию, но запуск любого из предоставленных сценариев не работает. есть идеи?

задан 20 сен ’12, 06:09

В чем ошибка? В прошлом я запускал sipp в Windows, хотя не могу вспомнить, через какие обручи мне приходилось прыгать, если они были. — sipsorcery

При запуске в командной строке папки установки sipp и при запуске внутри cygwin возникает одна и та же ошибка «Ошибка открытия терминала: cygwin» — jeera

Когда я устанавливал sipp, я отказался от установки cygwin и использовал исполняемый файл установки win32 из sourceforge.net/projects/sipp/files/sipp/3.2. — sipsorcery

3.2 Перекомпилированная установка Windows, это та, которую я скачал и установил, я не компилировал ее в cygwin. Я помню, что было проще, когда я делал это пару лет назад, отсюда и вопрос, изменилось ли что-нибудь. — jeera

4 ответы

Чтобы запустить полученный исполняемый файл sipp из командной оболочки Windows, вы должны установить
Переменная среды SIPPINSTDIR в расположение исполняемого файла. Без него вы получите «Ошибка открытия терминала: cygwin». ошибка. Например, SET SIPPINSTDIR=c:UsersmeDownloadssipp.svn.

ответ дан 02 дек ’12, 21:12

Попробуйте удалить (переименовать) cygwin1.dll, поставляемый с sipp. Вместо этого используйте cygwin1.dll, поставляемый с cygwin. Это помогло мне.

ответ дан 10 окт ’12, 10:10

Похоже, SIPP не знает, как работать с TERM типа cygwin. Попробуйте изменить ТЕРМИН на то, что распознает SIPP, или попробуйте установить termcap пакет из Utils (через Cygwin’s Setup.exe).

У меня такая же проблема с sipp версии 3.2 для Windows XP и Windows 7. Поэтому я попробовал версию 3.1, и она отлично работала без cygwin.

Вы можете установить путь системной переменной окружения для sipp в MyComputer->Properties->Advanced Settings->Environment Variables. Добавьте указанный ниже путь к «пути» переменной среды.

;C:Program FilesSipp_3.1 ==> Для Windows XP ;C:Program Files (x86)Sipp_3.1 Для Windows 7

Откройте оконную оболочку и выполните команду «sipp -sn uas».

Примечание. Установите последнюю версию wireshark, чтобы получить библиотеку winpcap, которая, как я считаю, необходима для sipp.

Источник

SIPP: ERROR OPENING TERMINAL: CYGWIN

I have been trying to install sipp [on windows] to test a point-to-point SIP application that I am writing. I installed sipp 3.2 as per instructions given here. I also installed cygwin. I am unable to run sipp even from from the same folder where I installed and it terminates with the cygwin error. Incidentally running just sipp provides the help documentation, but running any of the provided scenarios fails. Any thoughts?

4 Answers 4

To run the resulting sipp executable from the Windows cmd shell, you have to set the the
SIPPINSTDIR environment variable to the location of the executable. Without it, you’ll get the «Error opening terminal: cygwin.» error. For example, SET SIPPINSTDIR=c:UsersmeDownloadssipp.svn.

Try to delete (rename) cygwin1.dll provided with sipp. Use cygwin1.dll provided with cygwin instead. This helped me.

Sounds like SIPP doesn’t know how to deal with a TERM of type cygwin. Try changing the TERM to something SIPP recognizes or try installing the termcap package from Utils (via Cygwin’s Setup.exe).

I have the same problem with sipp version 3.2 for windows XP and windows 7. So i tried version 3.1 and it worked like a charm without cygwin.

You can set the environment system variable ‘path’ for sipp in MyComputer->Properties->Advanced Settings->Environment Varaibles. Append the path below to the Environment Varaible «path»

;C:Program FilesSipp_3.1 ==> For Windows XP ;C:Program Files (x86)Sipp_3.1 For Windows 7

Open the Window Shell and run the command ‘sipp -sn uas’

Note: Install the wireshark latest version to get the winpcap library which i believe is required for sipp.

Источник

SIPP: ОШИБКА ОТКРЫТИЯ ТЕРМИНАЛА: CYGWIN

Я пытался установить sipp [в Windows], чтобы протестировать двухточечное SIP-приложение, которое я пишу. Я установил sipp 3.2 в соответствии с инструкциями, приведенными здесь . Я также установил Cygwin. Я не могу запустить sipp даже из той же папки, в которой я установил, и он завершается ошибкой cygwin. Кстати, запуск только sipp предоставляет справочную документацию, но запуск любого из предоставленных сценариев не работает. Есть предположения?

Чтобы запустить полученный исполняемый файл sipp из командной оболочки Windows, вы должны установить
переменную среды SIPPINSTDIR в местоположение исполняемого файла. Без него вы получите «Ошибка открытия терминала: cygwin». ошибка. Например, SET SIPPINSTDIR=c:UsersmeDownloadssipp.svn.

Попробуйте удалить (переименовать) cygwin1.dll, поставляемый с sipp. Вместо этого используйте cygwin1.dll, поставляемый с cygwin. Это помогло мне.

Похоже, SIPP не знает, как работать с TERM типа cygwin. Попробуйте изменить TERM на то, что распознает SIPP, или попробуйте установить termcap пакет из Utils (через Cygwin’s Setup.exe).

У меня такая же проблема с sipp версии 3.2 для Windows XP и Windows 7. Поэтому я попробовал версию 3.1, и она отлично работала без cygwin.

Вы можете установить путь системной переменной окружения для sipp в MyComputer->Properties->Advanced Settings->Environment Variables. Добавьте указанный ниже путь к «пути» переменной среды.

;C:Program FilesSipp_3.1 ==> Для Windows XP ;C:Program Files (x86)Sipp_3.1 Для Windows 7

Откройте оконную оболочку и выполните команду «sipp -sn uas».

Примечание. Установите последнюю версию wireshark, чтобы получить библиотеку winpcap, которая, как я считаю, необходима для sipp.

Источник

SIPP: ОШИБКА ОТКРЫТИЯ ТЕРМИНАЛА: CYGWIN

Я пытался установить sipp [в Windows], чтобы протестировать написанное мной приложение SIP точка-точка. Я установил sipp 3.2 в соответствии с инструкциями, приведенными здесь. Я также установил cygwin. Я не могу запустить sipp даже из той же папки, где я установил, и это завершается ошибкой cygwin. Кстати, запуск просто sipp предоставляет справочную документацию, но запуск любого из предоставленных сценариев не выполняется. Какие-нибудь мысли?

4 ответа

Чтобы запустить полученный исполняемый файл sipp из оболочки Windows cmd, вы должны установить
Переменная среды SIPPINSTDIR в расположение исполняемого файла. Без него вы получите сообщение «Ошибка при открытии терминала: cygwin». ошибка. Например, SET SIPPINSTDIR = c: Users me Downloads sipp.svn.

Попробуйте удалить (переименовать) cygwin1.dll, поставляемый с sipp. Вместо этого используйте cygwin1.dll, поставляемый с cygwin. Это мне помогло.

Похоже, что SIPP не знает, как обращаться с TERM типа cygwin. Попробуйте изменить TERM на то, что распознает SIPP, или попробуйте установить пакет termcap из Utils (через Cygwin Setup.exe).

У меня такая же проблема с sipp версии 3.2 для Windows XP и Windows 7. Я попробовал версию 3.1, и она отлично работала без cygwin.

Вы можете установить системную переменную окружения path для sipp в MyComputer-> Properties-> Advanced Settings-> Environment Varaibles. Добавьте путь ниже к переменной среды «path»

; C: Program Files Sipp_3.1 ==> Для Windows XP; C: Program Files (x86) Sipp_3.1 Для Windows 7

Откройте оболочку Windows и выполните команду sipp -sn uas.

Примечание. Установите последнюю версию wirehark, чтобы получить библиотеку winpcap, которая, как мне кажется, необходима для sipp.

Источник

ssh.exe Error opening terminal #18

Connection to a linux remote host works fine, but I can open any graphical programm. Neither from cmd.exe nor powershell

The text was updated successfully, but these errors were encountered:

SSH will not automatically handle display traffic. You would need to have a Window manager on your client that can receive graphic input. If you have this, you could tunnel the display traffic through the SSH connection.

@MrAgent I think the issue that @JBlond pointed out is that command line «graphical» applications are not opening. htop and nano are command line applications that don’t require a window manager.

ok pseudo graphical. However the apps work with putty.

I was able to open htop after doing an «export TERM=xterm»

When tho it is not practical it works with the export.

With respect, it really doesn’t. Try htop, it’s a mess. You’re missing the clear commands send after, the prompt shows up over it, etc etc. Compare it to any other SSH terminal like bitvise and you’ll see that your ssh terminal isn’t in an acceptable state. You shouldn’t close this issue, and you definitely shouldn’t require this export as a weak workaround.

Indeed the encoding isn’t correct. I saw it when I changed to color.

Some background for this problem since there seems to be confusion here:

Full-screen text applications like htop are usually called curses-based applications, because they typically use a library like curses or ncurses to provide text-based drawing routines.

The TERM environment variable names a terminal type, which allows text applications to speak the correct control protocol for the terminal they’re being displayed on (by loading the corresponding terminal definition from a terminfo or termcap database). The most common are probably: xterm / xterm-color / xterm-256color , vt100 , and linux .

The SSH server normally passes the variable TERM from the client to the remote shell, since on Unix, TERM is always set to the correct terminal type (or local applications wouldn’t work properly). A terminal definition with the same name must exist on both the local and remote system for this to work, though.

I don’t know what terminal definitions the PowerShell window is compatible with, but it appears to set TERM to a terminal type unavailable on remote Unix systems, or doesn’t set it at all. (Someone should check this with echo $TERM after logging in).

My $TERM was set to «dumb». I would have thought that that would cause ‘ls’ to not send color codes, but that was apparently not correct.

@trisk Thanks for the clarification! I always wondered what to call them.

I ran into this with nano. It works when using ssh in PowerShell but not from cmd. When launching nano in running ssh in cmd you get the Error opening terminal message.

Can you try these scenarios on the newer release?

Looks like tab completion is working as expected in cmd now. Vi works in cmd now. I’ll try nano again tomorrow when I’m on a device that has it.

nano works now even with cmd.exe
htop has some encoding problem but it works.

With git bash I get an error when I tried to connect.

I tried on Windows PowerShell I’m not sure what happens, cause the programm doesn’t start.

Reactive if you still see any relevant issues

Источник

  • Summary

  • Files

  • Reviews

  • Support

  • Mailing Lists

  • Tickets ▾

    • Patches
    • Bugs
    • Feature Requests
  • News

  • Code

  • Git ▾

    • Docs source
    • SIPp source
    • SIPp 4

Menu

From: Ashley Unitt <ashle…@ne…> — 2007-05-21 14:01:38

Hi,

 

I've downloaded the binary version of SIPp from Sourceforge and installed it
on a Windows 2003 Server machine (SP1).

 

When running SIPp through the SIPp shell I get the error "Error opening
terminal: cygwin.". Can someone give some pointers as to what's going wrong
as I can't find much on Google or in the mailing list archives (it works
fine on another XP machine here).

 

Thanks

 

Ashley

Free Phone: 0800 280 2888 Tel: +44 (0)1256 892020 Fax: +44 (0)1256 892200 

Registered Office: NewVoiceMedia Ltd, Laverstoke Grange, Laverstoke,
Whitchurch, Hants, RG28 7PF

NewVoiceMedia Registered in England No: 4086658

 

From: Babak Shafian <babak…@ho…> — 2011-04-14 09:45:40





Hi All,

I've just downloaded the SIPp executable sipp-win32-3.2-setup.exe anf wanted to start it on Windows 7 but after running "sipp -sn uas" I get the message "Error opening terminal: cygwin." Do I have to install cygwin just to run SIPp on Windows??


Thanks in advance!
Babak
 		 	   		  

From: Webber, Tim <tw…@ob…> — 2011-04-14 15:38:23

I got the same error message on XP 64bit.  I tried installing cygwin but it didn't work.

From: Babak Shafian [mailto:babak...@ho...]
Sent: April 14, 2011 2:46 AM
To: sipp-...@li...
Subject: [Sipp-users] Error opening terminal: cygwin.




I've just downloaded the SIPp executable sipp-win32-3.2-setup.exe anf wanted to start it on Windows 7 but after running "sipp -sn uas" I get the message "Error opening terminal: cygwin." Do I have to install cygwin just to run SIPp on Windows??


Thanks in advance!
Babak

From: Ashley Unitt <ashle…@ne…> — 2007-05-22 09:38:44

I've tried installing cygwin on the machine and that's got it working :)

Ashley

________________________________________
From: sipp-...@li...
[mailto:sipp-...@li...] On Behalf Of Ashley Unitt
Sent: 21 May 2007 15:02
To: Sipp-...@li...
Subject: [Sipp-users] Error opening terminal: cygwin.

Hi,

I've downloaded the binary version of SIPp from Sourceforge and installed it
on a Windows 2003 Server machine (SP1).

When running SIPp through the SIPp shell I get the error "Error opening
terminal: cygwin.". Can someone give some pointers as to what's going wrong
as I can't find much on Google or in the mailing list archives (it works
fine on another XP machine here).

Thanks

Ashley
Free Phone: 0800 280 2888 Tel: +44 (0)1256 892020 Fax: +44 (0)1256 892200 
Registered Office: NewVoiceMedia Ltd, Laverstoke Grange, Laverstoke,
Whitchurch, Hants, RG28 7PF
NewVoiceMedia Registered in England No: 4086658




From: Olivier Jacques <ojacq…@gm…> — 2007-05-22 10:56:34

There was one file missing in the installation package of windows. The new
2.0.1 installation package should fix it.
Can be downloaded from:
http://sourceforge.net/project/showfiles.php?group_id=104305&package_id=119322&release_id=508776

Olivier.

On 5/22/07, Ashley Unitt <ashle...@ne...> wrote:
>
> I've tried installing cygwin on the machine and that's got it working :)
>
> Ashley
>
> ________________________________________
> From: sipp-...@li...
> [mailto:sipp-...@li...] On Behalf Of Ashley
> Unitt
> Sent: 21 May 2007 15:02
> To: Sipp-...@li...
> Subject: [Sipp-users] Error opening terminal: cygwin.
>
> Hi,
>
> I've downloaded the binary version of SIPp from Sourceforge and installed
> it
> on a Windows 2003 Server machine (SP1).
>
> When running SIPp through the SIPp shell I get the error "Error opening
> terminal: cygwin.". Can someone give some pointers as to what's going
> wrong
> as I can't find much on Google or in the mailing list archives (it works
> fine on another XP machine here).
>
> Thanks
>
> Ashley
> Free Phone: 0800 280 2888 Tel: +44 (0)1256 892020 Fax: +44 (0)1256 892200
> Registered Office: NewVoiceMedia Ltd, Laverstoke Grange, Laverstoke,
> Whitchurch, Hants, RG28 7PF
> NewVoiceMedia Registered in England No: 4086658
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Sipp-users mailing list
> Sipp-...@li...
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>



-- 
HP OpenCall Software
http://www.hp.com/go/opencall/

Я пытался установить sipp [в Windows], чтобы протестировать двухточечное SIP-приложение, которое я пишу. Я установил sipp 3.2 в соответствии с приведенными инструкциями. здесь. Я также установил Cygwin. Я не могу запустить sipp даже из той же папки, в которой я установил, и он завершается ошибкой cygwin. Кстати, запуск только sipp предоставляет справочную документацию, но запуск любого из предоставленных сценариев не работает. есть идеи?

Run sipp with embedded server (uas) scenario:
 ./sipp -sn uas
On the same host, run sipp with embedded client (uac) scenario
 ./sipp -sn uac 127.0.0.1


C:Program FilesSipp_3.2>sipp -sn uas
Error opening terminal: cygwin.

C:Program FilesSipp_3.2>sipp -sn uac
Error opening terminal: cygwin.

4 ответы

Чтобы запустить полученный исполняемый файл sipp из командной оболочки Windows, вы должны установить
Переменная среды SIPPINSTDIR в расположение исполняемого файла. Без него вы получите «Ошибка открытия терминала: cygwin». ошибка. Например, SET SIPPINSTDIR=c:UsersmeDownloadssipp.svn.

ответ дан 02 дек ’12, 21:12

Попробуйте удалить (переименовать) cygwin1.dll, поставляемый с sipp. Вместо этого используйте cygwin1.dll, поставляемый с cygwin. Это помогло мне.

ответ дан 10 окт ’12, 10:10

Похоже, SIPP не знает, как работать с TERM типа cygwin. Попробуйте изменить ТЕРМИН на то, что распознает SIPP, или попробуйте установить termcap пакет из Utils (через Cygwin’s Setup.exe).

Создан 20 сен.

У меня такая же проблема с sipp версии 3.2 для Windows XP и Windows 7. Поэтому я попробовал версию 3.1, и она отлично работала без cygwin.

Вы можете установить путь системной переменной окружения для sipp в MyComputer->Properties->Advanced Settings->Environment Variables. Добавьте указанный ниже путь к «пути» переменной среды.

;C:Program FilesSipp_3.1 ==> Для Windows XP ;C:Program Files (x86)Sipp_3.1 Для Windows 7

Откройте оконную оболочку и выполните команду «sipp -sn uas».

Примечание. Установите последнюю версию wireshark, чтобы получить библиотеку winpcap, которая, как я считаю, необходима для sipp.

ответ дан 24 окт ’14, 13:10

Не тот ответ, который вы ищете? Просмотрите другие вопросы с метками

cygwin
sip

or задайте свой вопрос.

Я пытаюсь подключиться по SSH к серверу с Python, и мне это удалось. Я могу успешно выполнять команды в Python, за одним исключением, основной командой, которая находится в центре внимания моей программы. Это команда SIPp, которая будет выполняться только на сервере SSH и в определенной папке.

Когда я запускаю команду в своем терминале, она работает отлично; однако, когда я подключаюсь к SSH-серверу через PExpect или Paramiko (оба работают нормально), я пытаюсь отправить свою команду, но получаю

Error Opening Terminal: Unknown

До сих пор я читал документы, пробовал использовать ОС, подпроцесс и несколько различных способов подключения к Paramiko и Pxssh. Несколько человек, с которыми я работаю, тоже не смогли этого понять.

Команда SIPp, которую я пытаюсь отправить и прочитать вывод:

sipp -r 5 -m 20  -trace_msg -inf users.csv -sf register.xml -d 10000 -i [IP addresses]
# some of the command was left out for simplicity's sake
# there is no issue with the command

Подключение к SSH через Pxssh (PExpect):

from pexpect import pxssh
from getpass import getpass

try:
    s = pxssh.pxssh()
    hostname = input('hostname: ')
    username = input('username: ')
    password = getpass("password :", None)
    s.login(hostname, username, password)
    s.sendline('cd [location of the folder]')
    s.prompt() 
    print(s.before) 
    s.sendline('sipp -r 5 -m 20  -trace_msg -inf users.csv -sf register.xml -d 10000 -i [IP addresses]') #this is the only line that doesn't work / output anything. 
    s.prompt()
    print(s.before)
    s.sendline('ls')
    s.prompt()
    print(s.before)
    s.logout()
except pxssh.ExceptionPxssh as e:
    print("Something went wrong. Try again with the correct Host Name, Username, and Password")
    print(e)


Подключение к SSH через Paramiko:

from paramiko import client
from getpass import getpass

class ssh:

    client = None

    def __init__(self, address, username, password):
        self.client = client.SSHClient()
        self.client.set_missing_host_key_policy(client.AutoAddPolicy())
        self.client.connect(address, username=username, password=password, look_for_keys=False)

    def sendCommand(self, command):
        if self.client:
            stdin, stdout, stderr = self.client.exec_command(command)
            output = stdout.readlines()
            print(output, stderr.readlines())
            while not stdout.channel.exit_status_ready():
                if stdout.channel.recv_ready():
                    alldata = stdout.channel.recv(1024)
                    prevdata = b"1"
                    while prevdata:
                        prevdata = stdout.channel.recv(1024)
                        alldata += prevdata

                    print(str(alldata, "utf8"))
                    self.client.close()
        else:
            print("Connection not opened.")

connection = ssh([ssh info])


connection.sendCommand("cd [location] ; sipp -r 5 -m 20  -trace_msg -inf users.csv -sf register.xml -d 10000 -i [IP addresses]")

Оба дают мне эту ошибку: Ошибка открытия терминала: неизвестно.

Я предполагаю, что он не порождает настоящий терминал, но я не могу понять, что делать в этот момент. Любая помощь будет искренне признательна

Понравилась статья? Поделить с друзьями:
  • Error opening spice console spiceclientgtk missing debian
  • Error opening specified endpoint udp 161
  • Error opening socket 10013
  • Error opening serial port com3 port busy
  • Error opening serial port already used by serial console 6