Vizible’s Blog

Python – XBMC script error

Posted in Logs by wearetherock on August 10, 2009

Code
=====================================
”’
self.settings[‘server’] = ‘192.168.1.110’
pattern = ‘\[.+?\] 0.0-10.0 sec (.+?) MBytes (.+?) (.+)/sec’
program = [‘C:\\KXBMC\\conference\\iperf.exe’,’-c’, self.settings[‘server’] ]
proc = subp.Popen(program, stdin=subp.PIPE, stdout=subp.PIPE, shell = True)
”’

Message
=====================================

File “special:\\xbmc\system\python\python32.zlib\subprocess.py, line 549, in __init__
File “special:\\xbmc\system\python\python32.zlib\subprocess.py, line 639, in get_handles
File “special:\\xbmc\system\python\python32.zlib\subprocess.py, line 650, in _make_inheritable
TypeError: an integer is required

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: