Shiven, It appears the script was flawed:
names = cmd.get_names(sel1) should be: names = cmd.get_names(selection=sel1) I've updated it on the Wiki. Cheers, Warren > -----Original Message----- > From: Shiven Shandilya [mailto:shiven.shandi...@gmail.com] > Sent: Monday, May 11, 2009 4:47 PM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] Error: unknown type > > Hello List, > > Any ideas on why this script keeps failing in the newer PyMOL builds... > > http://pymolwiki.org/index.php/Zero_residues > > I keep getting the error message: > > > Error: unknown type: '1hpv' > > > where 1hpv is an actual pdb file/object.... > > I am running pymol 1.2b5 rev. 3706 (compiled from svn) on Ubuntu 8.10 > > > Anyone else face a similar issue, or is it just me.... > > > Thanks! > > --Shiven > > ------------------------------------------------------------------------ -- > ---- > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users > > > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ PyMOL-users mailing list PyMOL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pymol-users