The preferences allow choosing emerge-webrsync instead of emerge --sync for the portage sync method. Some emerge arguments in the preferences ( --nospinner) are passed on to the emerge-webrsync command which are not supported by it. Subsequently it fails.
To reproduce:
1) Settings -> configure porthole
2) Global -> Sync method = emerge-webrsync
3) Emerge -> Emerge options -> select nospinner
4) apply configuration
5) Click WebRsync
000001 *** emerge-webrsync --verbose --nospinner ***
000002 Usage: /usr/bin/emerge-webrsync [options]
000003
000004 Options:
000005 --revert=yyyymmdd Revert to snapshot
000006 -k, --keep Keep snapshots in DISTDIR (don't delete)
000007 -q, --quiet Only output errors
000008 -v, --verbose Enable verbose output
000009 -x, --debug Enable debug output
000010 -h, --help This help screen (duh!)
000011
000012 Error: Invalid option '--nospinner'
000013 *** process completed ***
The attached patch might fix this.
Sorry if this project is dead ... it could be useful.
well, it is not quite dead, just sadly neglected :( I keep getting too many other things to do so don't get enough time to get my brain back into working on porthole again.
Thanks, I'll get that applied