Hello everyone,

If I have the packed binary in the current directory, I get this:

Linux RH [15:43] root /tmp # cp /usr/local/bin/cssh .
Linux RH [15:43] root /tmp # cssh
Traceback (most recent call last):
  File "<string>", line 27, in ?
  File "/var/www/html/pyinstaller-py2.4/iu.py", line 439, in importHook
    mod = _self_doimport(nm, ctx, fqname)
  File "/var/www/html/pyinstaller-py2.4/iu.py", line 524, in doimport
    exec co in mod.__dict__
  File "cssh/build/pyi.linux2/cssh/outPYZ1.pyz/paramiko", line 69, in ?
  File "/var/www/html/pyinstaller-py2.4/iu.py", line 439, in importHook
    mod = _self_doimport(nm, ctx, fqname)
  File "/var/www/html/pyinstaller-py2.4/iu.py", line 524, in doimport
    exec co in mod.__dict__
File "cssh/build/pyi.linux2/cssh/outPYZ1.pyz/paramiko.transport", line 32, in ?
  File "/var/www/html/pyinstaller-py2.4/iu.py", line 480, in importHook
    mod = self.doimport(nm, ctx, ctx+'.'+nm)
  File "/var/www/html/pyinstaller-py2.4/iu.py", line 524, in doimport
    exec co in mod.__dict__
File "cssh/build/pyi.linux2/cssh/outPYZ1.pyz/paramiko.util", line 32, in ?
  File "/var/www/html/pyinstaller-py2.4/iu.py", line 439, in importHook
    mod = _self_doimport(nm, ctx, fqname)
  File "/var/www/html/pyinstaller-py2.4/iu.py", line 524, in doimport
    exec co in mod.__dict__
File "cssh/build/pyi.linux2/cssh/outPYZ1.pyz/paramiko.common", line 98, in ?
  File "/var/www/html/pyinstaller-py2.4/iu.py", line 439, in importHook
    mod = _self_doimport(nm, ctx, fqname)
  File "/var/www/html/pyinstaller-py2.4/iu.py", line 524, in doimport
    exec co in mod.__dict__
  File "cssh/build/pyi.linux2/cssh/outPYZ1.pyz/paramiko.rng", line 23, in ?
  File "/var/www/html/pyinstaller-py2.4/iu.py", line 439, in importHook
    mod = _self_doimport(nm, ctx, fqname)
  File "/var/www/html/pyinstaller-py2.4/iu.py", line 498, in doimport
    mod = importfunc(nm)
  File "/var/www/html/pyinstaller-py2.4/iu.py", line 300, in getmod
    mod = owner.getmod(nm)
  File "/var/www/html/pyinstaller-py2.4/iu.py", line 123, in getmod
    co = compile(open(py[0], 'r').read()+'\n', py[0], 'exec')
TypeError: unsubscriptable object


But if I delete it from current directory, it works fine:




Linux RH [15:43] root /tmp # rm -f cssh
Linux RH [15:43] root /tmp # cssh

You have to specify exactly one of the following:
 - command to run remotely, using -c command / --cmd command, or
 - script to run remotely, using -s scriptfile / --script scriptfile, or
 - file/directory to copy, using -y file_or_dir / --copy file_or_dir

You have to specify at least one of the following:
 - list of IPs/hostnames at the end of the command line (after all options)
- list of IPs/hostnames stored in file specified after -f or --file option (like: -f hostnames.txt) - ipset (set of IPs/Hostnames) defined in the resource file, incl. default ipset You can specify all sources. In that case IP/hostname lists will be concatenated.

Help is available under option -h / --help.

--
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to