So I installed devilspie to launch a few windows into workspace 4.
I am running Gnome and have this in a file
(is (application_name) "xterm")
(set_workspace 4)
Now when I launch xterm it maximizes but doesn't goto another workspace. So I launched in debug mode and it shows this.

joe@lappy:~/.devilspie> devilspie -d ~/.devilspie/xterm.ds
Devil's Pie 0.18 starting...
Loading /home/joe/.devilspie/xterm.ds

** (devilspie:8621): WARNING **: Workspace number 4 does not exist

(devilspie:8621): Wnck-CRITICAL **: wnck_window_move_to_workspace: assertion `WNCK_IS_WORKSPACE (space)' failed
Changing workspace to 4
Any ideas?