On Sat, Mar 18, 2006 at 09:21:12PM -0800, Stefano Mazzocchi wrote: > So, here I am, trying to get Gump3 off the ground again.
Kewl. > I've installed all the requisites on my machine (macosx 10.4.5, python > 2.4.2, mysql 4.1.10) and followed the instructions on the README.txt and > on the wiki and I get that far. > > I have no idea why the rsync help shows up. I suspect that the sync code (I would suspect the file is gump/util/sync.py or something) detects that you have a version of rsync, and then tries to use it, but that the rsync you have does not support the same command line as the rsync I have, or that there is some bug somewhere that cause a crappy kind of command line to be generated. > Help? IIRC (I don't have a checkout handy atm), sync.py uses gump.util.executor, which can be configured to do logging of all the commands. This is probably easiest to enable by setting the debug variable in config.py by hand or something like that, or looking for the log.debug() statements and changing them to print statements or whatever. And there's always the debugger (do you have Wing IDE installed yet? Its wonderful...) I'm sorry for messing things up. I had a code sprint in December for which I figured I'd commit at least some of the stuff, but I must've run out of steam before getting everything cleaned up. I still have a bunch of uncommitted patches somewhere on a CD I think. I would love to find some time to hack on this right now, but I think I won't have any till about april 6. cheers! LSD > -- > Stefano. > > [EMAIL PROTECTED] ~/Code/src/gump/gump3 $ ./gump test > rsync version 2.6.2 protocol version 28 > Copyright (C) 1996-2004 by Andrew Tridgell and others > <http://rsync.samba.org/> > Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, > IPv6, 32-bit system inums, 64-bit internal inums > > rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you > are welcome to redistribute it under certain conditions. See the GNU > General Public Licence for details. > > rsync is a file transfer program capable of efficient remote update > via a fast differencing algorithm. > > Usage: rsync [OPTION]... SRC [SRC]... [EMAIL PROTECTED]:DEST > or rsync [OPTION]... [EMAIL PROTECTED]:SRC DEST > or rsync [OPTION]... SRC [SRC]... DEST > or rsync [OPTION]... [EMAIL PROTECTED]::SRC [DEST] > or rsync [OPTION]... SRC [SRC]... [EMAIL PROTECTED]::DEST > or rsync [OPTION]... rsync://[EMAIL PROTECTED]:PORT]/SRC [DEST] > or rsync [OPTION]... SRC [SRC]... rsync://[EMAIL PROTECTED]:PORT]/DEST > SRC on single-colon remote HOST will be expanded by remote shell > SRC on server remote HOST may contain shell wildcards or multiple > sources separated by space as long as they have same top-level > > Options > -v, --verbose increase verbosity > -q, --quiet decrease verbosity > -c, --checksum always checksum > -a, --archive archive mode, equivalent to -rlptgoD > -r, --recursive recurse into directories > -R, --relative use relative path names > --no-relative turn off --relative > --no-implied-dirs don't send implied dirs with -R > -b, --backup make backups (see --suffix & --backup-dir) > --backup-dir make backups into this directory > --suffix=SUFFIX backup suffix (default ~ w/o --backup-dir) > -u, --update update only (don't overwrite newer files) > -l, --links copy symlinks as symlinks > -L, --copy-links copy the referent of all symlinks > --copy-unsafe-links copy the referent of "unsafe" symlinks > --safe-links ignore "unsafe" symlinks > -H, --hard-links preserve hard links > -p, --perms preserve permissions > -o, --owner preserve owner (root only) > -g, --group preserve group > -D, --devices preserve devices (root only) > -t, --times preserve times > -S, --sparse handle sparse files efficiently > -n, --dry-run show what would have been transferred > -W, --whole-file copy whole files, no incremental checks > --no-whole-file turn off --whole-file > -x, --one-file-system don't cross filesystem boundaries > -B, --block-size=SIZE checksum blocking size (default 700) > -e, --rsh=COMMAND specify the remote shell > --rsync-path=PATH specify path to rsync on the remote machine > --existing only update files that already exist > --ignore-existing ignore files that already exist on receiving side > --delete delete files that don't exist on the sending side > --delete-excluded also delete excluded files on the receiving side > --delete-after receiver deletes after transferring, not before > --ignore-errors delete even if there are I/O errors > --max-delete=NUM don't delete more than NUM files > --partial keep partially transferred files > --force force deletion of directories even if not empty > --numeric-ids don't map uid/gid values by user/group name > --timeout=TIME set I/O timeout in seconds > -I, --ignore-times turn off mod time & file size quick check > --size-only ignore mod time for quick check (use size) > --modify-window=NUM compare mod times with reduced accuracy > -T --temp-dir=DIR create temporary files in directory DIR > --compare-dest=DIR also compare destination files relative to DIR > --link-dest=DIR create hardlinks to DIR for unchanged files > -P equivalent to --partial --progress > -z, --compress compress file data > -C, --cvs-exclude auto ignore files in the same way CVS does > --exclude=PATTERN exclude files matching PATTERN > --exclude-from=FILE exclude patterns listed in FILE > --include=PATTERN don't exclude files matching PATTERN > --include-from=FILE don't exclude patterns listed in FILE > --files-from=FILE read FILE for list of source-file names > -0 --from0 all *-from file lists are delimited by nulls > --version print version number > --daemon run as an rsync daemon > --no-detach do not detach from the parent > --address=ADDRESS bind to the specified address > --config=FILE specify alternate rsyncd.conf file > --port=PORT specify alternate rsyncd port number > --blocking-io use blocking I/O for the remote shell > --no-blocking-io turn off --blocking-io > --stats give some file transfer stats > --progress show progress during transfer > --log-format=FORMAT log file transfers using specified format > --password-file=FILE get password from FILE > --bwlimit=KBPS limit I/O bandwidth, KBytes per second > --write-batch=PREFIX write batch fileset starting with PREFIX > --read-batch=PREFIX read batch fileset starting with PREFIX > -h, --help show this help screen > -4 prefer IPv4 > -6 prefer IPv6 > > > Please see the rsync(1) and rsyncd.conf(5) man pages for full documentation > See http://rsync.samba.org/ for updates, bug reports, and answers > rsync error: syntax or usage error (code 1) at main.c(991) > test_get_config (testConfig.ConfigTestCase) ... FAIL > test_get_db (testConfig.ConfigTestCase) ... ok > test_get_dom_implementation (testConfig.ConfigTestCase) ... ok > test_get_engine_loader (testConfig.ConfigTestCase) ... ok > test_get_engine_normalizer (testConfig.ConfigTestCase) ... ok > test_get_engine_objectifier (testConfig.ConfigTestCase) ... ok > test_get_engine_verifier (testConfig.ConfigTestCase) ... ok > test_get_engine_walker (testConfig.ConfigTestCase) ... ok > test_get_error_handler (testConfig.ConfigTestCase) ... ok > test_get_logger (testConfig.ConfigTestCase) ... ok > test_get_plugin (testConfig.ConfigTestCase) ... ok > test_get_plugins (testConfig.ConfigTestCase) ... ok > test_get_vfs (testConfig.ConfigTestCase) ... ok > test_run_config_hooks (testConfig.ConfigTestCase) ... ok > test_shutdown_logging (testConfig.ConfigTestCase) ... ok > test_constructor (testEngine.EngineTestCase) ... ok > test_run (testEngine.EngineTestCase) ... ok > test_something (testEngineAlgorithm.EngineAlgorithmTestCase) ... ok > test_loader_get_workspace_tree_simple (testEngineLoader.EngineLoaderTestCase) > ... ERROR > test_loader_init (testEngineLoader.EngineLoaderTestCase) ... ok > test_do_drop (testEngineModeller.ModellerTestCase) ... ok > test_engine_error (testEngineModeller.ModellerTestCase) ... ok > test_find_ancestor_by_tag (testEngineModeller.ModellerTestCase) ... ok > test_find_document_containing_node (testEngineModeller.ModellerTestCase) ... > ok > test_find_element_text (testEngineModeller.ModellerTestCase) ... ok > test_find_module_containing_node (testEngineModeller.ModellerTestCase) ... ok > test_find_project_containing_node (testEngineModeller.ModellerTestCase) ... ok > test_find_repository_containing_node (testEngineModeller.ModellerTestCase) > ... ok > test_import_node (testEngineModeller.ModellerTestCase) ... ok > test_something (testEngineNormalizer.EngineNormalizerTestCase) ... ok > test_MissingDependencyError (testEngineObjectifier.EngineObjectifierTestCase) > ... ok > test_Objectifier__init__ (testEngineObjectifier.EngineObjectifierTestCase) > ... ok > test_Objectifier_get_workspace > (testEngineObjectifier.EngineObjectifierTestCase) ... ok > test__add_dependency (testEngineObjectifier.EngineObjectifierTestCase) ... ok > test_something (testEnginePersistence.EnginePersistenceTestCase) ... ok > test_AbstractErrorHandler (testEngineVerifier.EngineVerifierTestCase) ... ok > test_CyclicDependencyError (testEngineVerifier.EngineVerifierTestCase) ... ok > test_LoggingErrorHandler (testEngineVerifier.EngineVerifierTestCase) ... ok > test_VerificationError (testEngineVerifier.EngineVerifierTestCase) ... ok > test_Verifier__init__ (testEngineVerifier.EngineVerifierTestCase) ... ok > test_Verifier_verify (testEngineVerifier.EngineVerifierTestCase) ... ok > test_print_cyclic_trace (testEngineVerifier.EngineVerifierTestCase) ... ok > test_clear_indegreees (testEngineWalker.WalkerTestCase) ... ok > test_constructor (testEngineWalker.WalkerTestCase) ... ok > test_get_initial_stack (testEngineWalker.WalkerTestCase) ... ok > test_set_indegrees (testEngineWalker.WalkerTestCase) ... ok > test_topsort_projects (testEngineWalker.WalkerTestCase) ... ok > test_check_version (testMain.MainTestCase) ... ok > test_logger (testMain.MainTestCase) ... ok > test_print_help (testMain.MainTestCase) ... ok > test_ant (testModel.ModelTestCase) ... ok > test_classdir (testModel.ModelTestCase) ... ok > test_command (testModel.ModelTestCase) ... ok > test_cvs_module (testModel.ModelTestCase) ... ok > test_cvs_repository (testModel.ModelTestCase) ... ok > test_dependencies (testModel.ModelTestCase) ... ok > test_dependency_info (testModel.ModelTestCase) ... ok > test_error (testModel.ModelTestCase) ... ok > test_exception_info (testModel.ModelTestCase) ... ok > test_jar (testModel.ModelTestCase) ... ok > test_mkdir (testModel.ModelTestCase) ... ok > test_model_object (testModel.ModelTestCase) ... ok > test_module (testModel.ModelTestCase) ... ok > test_module_is_added_to_workspace_by_repository (testModel.ModelTestCase) ... > ok > test_output (testModel.ModelTestCase) ... ok > test_project (testModel.ModelTestCase) ... ok > test_project_is_added_to_workspace_by_module (testModel.ModelTestCase) ... ok > test_repository (testModel.ModelTestCase) ... ok > test_rmdir (testModel.ModelTestCase) ... ok > test_script (testModel.ModelTestCase) ... ok > test_svn_module (testModel.ModelTestCase) ... ok > test_svn_repository (testModel.ModelTestCase) ... ok > test_workspace (testModel.ModelTestCase) ... ok > test_something (testModelUtil.ModelUtilTestCase) ... ok > test_do_script (testPluginBuilder.BuilderTestCase) ... ERROR > test_do_mkdir (testPluginDirBuilder.DirBuilderTestCase) ... FAIL > test_do_rmdir (testPluginDirBuilder.DirBuilderTestCase) ... FAIL > test_something (testPlugins.PluginsTestCase) ... ok > test_storeHost (testPluginsDynagumper.DynagumperTestCase) ... ok > test_visit_module (testPluginsDynagumper.DynagumperTestCase) ... ok > test_visit_project (testPluginsDynagumper.DynagumperTestCase) ... ok > test_visit_workspace (testPluginsDynagumper.DynagumperTestCase) ... ok > test_something (testPluginsInstrumentation.PluginsInstrumentationTestCase) > ... ok > test_something (testPluginsIntrospection.PluginsIntrospectionTestCase) ... ok > test_something (testPluginsIrc.PluginsIrcTestCase) ... ok > test_something (testPluginsJavaBuilder.PluginsJavaBuilderTestCase) ... ok > test_something (testPluginsLogreporter.PluginsLogreporterTestCase) ... ok > test_something (testPluginsUpdater.PluginsUpdaterTestCase) ... ok > test_something (testUtil.UtilTestCase) ... ok > test_command_logging (testUtilExecutor.ZZZExecutorUtilTestCase) ... ok > test_zzz_run_simple_command_then_clean_up_processes > (testUtilExecutor.ZZZExecutorUtilTestCase) ... ok > test_error (testUtilIo.IOUtilTestCase) ... ok > test_open_file_or_stream (testUtilIo.IOUtilTestCase) ... ok > test_vfs (testUtilIo.IOUtilTestCase) ... ok > test_database (testUtilMysql.MysqlUtilTestCase) ... ok > test_something (testUtilSysinfo.UtilSysinfoTestCase) ... ok > > ====================================================================== > ERROR: test_loader_get_workspace_tree_simple > (testEngineLoader.EngineLoaderTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/sw/lib/python2.4/site-packages/pmock.py", line 507, in > _auto_verified_test > self._real_test_method() > File > "/Users/stefano/Code/src/gump/gump3/pygump/python/gump/test/testEngineLoader.py", > line 63, in test_loader_get_workspace_tree_simple > (wsdom, dropped_nodes) = > loader.get_workspace_tree(StringIO.StringIO(self.sampleworkspacestring)) > File > "/Users/stefano/Code/src/gump/gump3/pygump/python/gump/engine/loader.py", > line 190, in get_workspace_tree > _resolve_hrefs_in_children(ws, dropped_nodes, [], self.get_as_stream, > self.handle_error, self.vfs.filesystem_root) > AttributeError: MockVFS instance has no attribute 'filesystem_root' > > ====================================================================== > ERROR: test_do_script (testPluginBuilder.BuilderTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/sw/lib/python2.4/site-packages/pmock.py", line 507, in > _auto_verified_test > self._real_test_method() > File > "/Users/stefano/Code/src/gump/gump3/pygump/python/gump/test/testPluginBuilder.py", > line 78, in test_do_script > plugin._do_script(cmd.project, cmd) > File > "/Users/stefano/Code/src/gump/gump3/pygump/python/gump/plugins/builder.py", > line 167, in _do_script > raise Error, "No script '%s' found!" % oldscriptfile > Error: No script '/tmp/tmpfI8Pzu/w/builds/r/m/dobuild' found! > > ====================================================================== > FAIL: test_get_config (testConfig.ConfigTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/sw/lib/python2.4/site-packages/pmock.py", line 507, in > _auto_verified_test > self._real_test_method() > File > "/Users/stefano/Code/src/gump/gump3/pygump/python/gump/test/testConfig.py", > line 162, in test_get_config > self.failUnless(c.paths_metadata.find("metadata") > 0) > AssertionError > > ====================================================================== > FAIL: test_do_mkdir (testPluginDirBuilder.DirBuilderTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/Users/stefano/Code/src/gump/gump3/pygump/python/gump/test/testPluginDirBuilder.py", > line 106, in test_do_mkdir > self.assert_(isdir(join(ppath,cmd.directory))) > AssertionError > > ====================================================================== > FAIL: test_do_rmdir (testPluginDirBuilder.DirBuilderTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/Users/stefano/Code/src/gump/gump3/pygump/python/gump/test/testPluginDirBuilder.py", > line 59, in test_do_rmdir > self.assertFalse(isdir(join(ppath,cmd.directory))) > AssertionError > > ---------------------------------------------------------------------- > Ran 96 tests in 2.248s > > FAILED (failures=3, errors=2) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
