From trac at ftputil.sschwarzer.net Fri Oct 30 21:47:11 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Fri, 30 Oct 2009 20:47:11 -0000 Subject: [ftputil] #41: setup.py's --home option does not get evaluated (was: setup.py's --user option does not get evaluated) In-Reply-To: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> References: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> Message-ID: <061.fc446555f3420dfda6f6f9734a14d7f8@ftputil.sschwarzer.net> #41: setup.py's --home option does not get evaluated --------------------------+------------------------------------------------- Reporter: ftputiluser | Owner: schwa Type: defect | Status: assigned Priority: minor | Milestone: Component: Library | Version: 2.4.2 Resolution: | Keywords: installation script, setup.py, --home --------------------------+------------------------------------------------- Changes (by schwa): * keywords: installation script, setup.py, --user, --home => installation script, setup.py, --home Old description: > Installing with the option --user (which should put the library into the > local users home) get's ignored. There's something wrong with the > distutil-usage, sorry I can't provide a patch at the moment. New description: Installing with the option --home (which should put the library into the local user's home) get's ignored. There's something wrong with the distutils usage, sorry I can't provide a patch at the moment. -- Comment: Changed summary and description to use `--home` instead of `--user`. -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Fri Oct 30 21:45:14 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Fri, 30 Oct 2009 20:45:14 -0000 Subject: [ftputil] #41: setup.py's --user option does not get evaluated In-Reply-To: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> References: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> Message-ID: <061.e7c1bcb63f49677a9eb1509584c06217@ftputil.sschwarzer.net> #41: setup.py's --user option does not get evaluated --------------------------+------------------------------------------------- Reporter: ftputiluser | Owner: schwa Type: defect | Status: assigned Priority: minor | Milestone: Component: Library | Version: 2.4.2 Resolution: | Keywords: installation script, setup.py, --user, --home --------------------------+------------------------------------------------- Changes (by schwa): * keywords: installation script, setup.py, --user => installation script, setup.py, --user, --home Comment: Most probably the `--home` option is meant here. -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Fri Oct 30 21:57:02 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Fri, 30 Oct 2009 20:57:02 -0000 Subject: [ftputil] #41: setup.py's --home option does not get evaluated In-Reply-To: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> References: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> Message-ID: <061.187072adfc3936f48e9679b24eb33aa1@ftputil.sschwarzer.net> #41: setup.py's --home option does not get evaluated --------------------------+------------------------------------------------- Reporter: ftputiluser | Owner: schwa Type: defect | Status: assigned Priority: minor | Milestone: Component: Library | Version: 2.4.2 Resolution: | Keywords: installation script, setup.py, --home --------------------------+------------------------------------------------- Comment(by schwa): I guess changeset [892] should fix the problem. The `setup.py` attached to this ticket is identical to that committed. Please either substitute your `setup.py` with the attached one or update your working copy, and give me feedback whether that solves the problem for you. -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Fri Oct 30 22:02:06 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Fri, 30 Oct 2009 21:02:06 -0000 Subject: [ftputil] #41: setup.py's --home option does not get evaluated In-Reply-To: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> References: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> Message-ID: <061.c7767249e846e86bb12c9f97f8507d55@ftputil.sschwarzer.net> #41: setup.py's --home option does not get evaluated --------------------------+------------------------------------------------- Reporter: ftputiluser | Owner: schwa Type: defect | Status: assigned Priority: minor | Milestone: 2.4.2 Component: Library | Version: 2.4.2 Resolution: | Keywords: installation script, setup.py, --home --------------------------+------------------------------------------------- Changes (by schwa): * milestone: => 2.4.2 -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Sat Oct 31 01:02:23 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Sat, 31 Oct 2009 00:02:23 -0000 Subject: [ftputil] #41: setup.py's --home option does not get evaluated In-Reply-To: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> References: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> Message-ID: <061.a80527751c5b552e8534e19306f03fcf@ftputil.sschwarzer.net> #41: setup.py's --home option does not get evaluated --------------------------+------------------------------------------------- Reporter: ftputiluser | Owner: schwa Type: defect | Status: assigned Priority: minor | Milestone: 2.4.2 Component: Library | Version: 2.4.2 Resolution: | Keywords: installation script, setup.py, --home --------------------------+------------------------------------------------- Comment(by ftputiluser): Works fine ... partially. Some documentation does not get installed. norrell:ftputil a7p$ python ./setup.py install --user running install running build running build_py creating build creating build/lib creating build/lib/ftputil copying __init__.py -> build/lib/ftputil copying _mock_ftplib.py -> build/lib/ftputil copying _test_base.py -> build/lib/ftputil copying _test_ftp_error.py -> build/lib/ftputil copying _test_ftp_file.py -> build/lib/ftputil copying _test_ftp_path.py -> build/lib/ftputil copying _test_ftp_stat.py -> build/lib/ftputil copying _test_ftp_stat_cache.py -> build/lib/ftputil copying _test_ftp_sync.py -> build/lib/ftputil copying _test_ftputil.py -> build/lib/ftputil copying _test_public_servers.py -> build/lib/ftputil copying _test_python2_4.py -> build/lib/ftputil copying _test_real_ftp.py -> build/lib/ftputil copying _test_with_statement.py -> build/lib/ftputil copying find_deprecated_code.py -> build/lib/ftputil copying ftp_error.py -> build/lib/ftputil copying ftp_file.py -> build/lib/ftputil copying ftp_path.py -> build/lib/ftputil copying ftp_stat.py -> build/lib/ftputil copying ftp_stat_cache.py -> build/lib/ftputil copying ftp_sync.py -> build/lib/ftputil copying ftputil.py -> build/lib/ftputil copying ftputil_version.py -> build/lib/ftputil copying lrucache.py -> build/lib/ftputil running install_lib copying build/lib/ftputil/__init__.py -> /Users/a7p/.local/lib/python2.6 /site-packages/ftputil copying build/lib/ftputil/_mock_ftplib.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/_test_base.py -> /Users/a7p/.local/lib/python2.6 /site-packages/ftputil copying build/lib/ftputil/_test_ftp_error.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/_test_ftp_file.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/_test_ftp_path.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/_test_ftp_stat.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/_test_ftp_stat_cache.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/_test_ftp_sync.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/_test_ftputil.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/_test_public_servers.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/_test_python2_4.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/_test_real_ftp.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/_test_with_statement.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/find_deprecated_code.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/ftp_error.py -> /Users/a7p/.local/lib/python2.6 /site-packages/ftputil copying build/lib/ftputil/ftp_file.py -> /Users/a7p/.local/lib/python2.6 /site-packages/ftputil copying build/lib/ftputil/ftp_path.py -> /Users/a7p/.local/lib/python2.6 /site-packages/ftputil copying build/lib/ftputil/ftp_stat.py -> /Users/a7p/.local/lib/python2.6 /site-packages/ftputil copying build/lib/ftputil/ftp_stat_cache.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/ftp_sync.py -> /Users/a7p/.local/lib/python2.6 /site-packages/ftputil copying build/lib/ftputil/ftputil.py -> /Users/a7p/.local/lib/python2.6 /site-packages/ftputil copying build/lib/ftputil/ftputil_version.py -> /Users/a7p/.local/lib/python2.6/site-packages/ftputil copying build/lib/ftputil/lrucache.py -> /Users/a7p/.local/lib/python2.6 /site-packages/ftputil byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/__init__.py to __init__.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/_mock_ftplib.py to _mock_ftplib.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/_test_base.py to _test_base.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/_test_ftp_error.py to _test_ftp_error.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/_test_ftp_file.py to _test_ftp_file.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/_test_ftp_path.py to _test_ftp_path.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/_test_ftp_stat.py to _test_ftp_stat.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/_test_ftp_stat_cache.py to _test_ftp_stat_cache.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/_test_ftp_sync.py to _test_ftp_sync.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/_test_ftputil.py to _test_ftputil.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/_test_public_servers.py to _test_public_servers.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/_test_python2_4.py to _test_python2_4.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/_test_real_ftp.py to _test_real_ftp.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/_test_with_statement.py to _test_with_statement.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/find_deprecated_code.py to find_deprecated_code.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/ftp_error.py to ftp_error.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/ftp_file.py to ftp_file.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/ftp_path.py to ftp_path.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/ftp_stat.py to ftp_stat.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/ftp_stat_cache.py to ftp_stat_cache.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/ftp_sync.py to ftp_sync.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/ftputil.py to ftputil.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/ftputil_version.py to ftputil_version.pyc byte-compiling /Users/a7p/.local/lib/python2.6/site- packages/ftputil/lrucache.py to lrucache.pyc running install_data creating /Users/a7p/.local/doc copying ftputil.txt -> /Users/a7p/.local/doc error: can't copy 'ftputil.html': doesn't exist or not a regular file -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Sat Oct 31 01:23:00 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Sat, 31 Oct 2009 00:23:00 -0000 Subject: [ftputil] #41: setup.py's --home option does not get evaluated In-Reply-To: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> References: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> Message-ID: <061.6f43464496e25a10de9aac6861128d5c@ftputil.sschwarzer.net> #41: setup.py's --home option does not get evaluated --------------------------+------------------------------------------------- Reporter: ftputiluser | Owner: schwa Type: defect | Status: assigned Priority: minor | Milestone: 2.4.2 Component: Library | Version: 2.4.2 Resolution: | Keywords: installation script, setup.py, --home --------------------------+------------------------------------------------- Comment(by schwa): Oh yes, the repository doesn't contain the HTML files. They are generated during the packaging process with `make dist` and thereby put into the tar.gz archive. I'll attach a tar.gz file to the ticket you can use. Thanks for testing, by the way. :-) -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Sat Oct 31 01:30:01 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Sat, 31 Oct 2009 00:30:01 -0000 Subject: [ftputil] #41: setup.py's --home option does not get evaluated In-Reply-To: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> References: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> Message-ID: <061.63d87328d719052b72431fbf629c50c5@ftputil.sschwarzer.net> #41: setup.py's --home option does not get evaluated --------------------------+------------------------------------------------- Reporter: ftputiluser | Owner: schwa Type: defect | Status: assigned Priority: minor | Milestone: 2.4.2 Component: Library | Version: 2.4.2 Resolution: | Keywords: installation script, setup.py, --home --------------------------+------------------------------------------------- Comment(by schwa): A tip: For program output, it's best to enclose it in triple curly braces, like this: {{{ {{{ Some program output ... }}} }}} So the line breaks are preserved. You can read more about that at WikiFormatting. -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Sat Oct 31 01:48:20 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Sat, 31 Oct 2009 00:48:20 -0000 Subject: [ftputil] #41: setup.py's --home option does not get evaluated In-Reply-To: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> References: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> Message-ID: <061.65f5499eeaadb2b744fa2af747e57a34@ftputil.sschwarzer.net> #41: setup.py's --home option does not get evaluated --------------------------+------------------------------------------------- Reporter: ftputiluser | Owner: schwa Type: defect | Status: assigned Priority: minor | Milestone: 2.4.2 Component: Library | Version: 2.4.2 Resolution: | Keywords: installation script, setup.py, --home --------------------------+------------------------------------------------- Comment(by ftputiluser): thanks for coding ;). Your the tar.gz is a plain html-file - but I manually created the required html and txt files - now everything works fine. -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Sat Oct 31 02:14:43 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Sat, 31 Oct 2009 01:14:43 -0000 Subject: [ftputil] #41: setup.py's --home option does not get evaluated In-Reply-To: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> References: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> Message-ID: <061.5a763f8e50215c6acfbfd51aea994177@ftputil.sschwarzer.net> #41: setup.py's --home option does not get evaluated --------------------------+------------------------------------------------- Reporter: ftputiluser | Owner: schwa Type: defect | Status: assigned Priority: minor | Milestone: 2.4.2 Component: Library | Version: 2.4.2 Resolution: | Keywords: installation script, setup.py, --home --------------------------+------------------------------------------------- Comment(by schwa): No, it's a tar.gz archive. :) At least my browser's helper application opens it as an archive. Maybe you were mistaken by the dialog you got when you clicked on the filename. Click on the filename above. On the page that appears then, click the link "downloading". Then your browser should ask you for a helper application to open it and/or offer you to save the file. I'd appreciate it if you tested the installation from the archive as well. -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Sat Oct 31 02:19:28 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Sat, 31 Oct 2009 01:19:28 -0000 Subject: [ftputil] #41: setup.py's --home option does not get evaluated In-Reply-To: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> References: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> Message-ID: <061.0984f35a4978bdcca10ea6ff29819afd@ftputil.sschwarzer.net> #41: setup.py's --home option does not get evaluated --------------------------+------------------------------------------------- Reporter: ftputiluser | Owner: schwa Type: defect | Status: assigned Priority: minor | Milestone: 2.4.2 Component: Library | Version: 2.4.2 Resolution: | Keywords: installation script, setup.py, --home --------------------------+------------------------------------------------- Comment(by ftputiluser): sry, I save-as-ed the link above - which does not point directly to the file. Everything is fine - I think, we can close this one. -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Sat Oct 31 10:22:13 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Sat, 31 Oct 2009 09:22:13 -0000 Subject: [ftputil] #41: setup.py's --home option does not get evaluated In-Reply-To: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> References: <052.d1e36a7e9045bbe08a2bdcee32b88dad@ftputil.sschwarzer.net> Message-ID: <061.e7eb3f2c94434623f001c4a6bae0487c@ftputil.sschwarzer.net> #41: setup.py's --home option does not get evaluated --------------------------+------------------------------------------------- Reporter: ftputiluser | Owner: schwa Type: defect | Status: closed Priority: minor | Milestone: 2.4.2 Component: Library | Version: 2.4.2 Resolution: fixed | Keywords: installation script, setup.py, --home --------------------------+------------------------------------------------- Changes (by schwa): * status: assigned => closed * resolution: => fixed Comment: Thanks for testing! :-) Fixed in changeset [892]. -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Fri Nov 6 03:17:16 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Fri, 06 Nov 2009 02:17:16 -0000 Subject: [ftputil] #42: Install from trunk svn checkout (896) on OS X 10.6 cause error Message-ID: <049.0037a7b6cb18873e45116a107c864eaf@ftputil.sschwarzer.net> #42: Install from trunk svn checkout (896) on OS X 10.6 cause error --------------------------------------+------------------------------------- Reporter: ssteiner | Owner: steve steiner Type: defect | Status: new Priority: minor | Milestone: 2.4.2 Component: Other | Version: 2.4.2b2 Keywords: installation, os x, 10.6 | --------------------------------------+------------------------------------- # sudo python setup.py install everything goes fine up to: byte-compiling /Library/Python/2.6/site-packages/ftputil/lrucache.py to lrucache.pyc running install_data creating /System/Library/Frameworks/Python.framework/Versions/2.6/doc copying ftputil.txt -> /System/Library/Frameworks/Python.framework/Versions/2.6/doc error: can't copy 'ftputil.html': doesn't exist or not a regular file I am reporting this just to make sure it's recorded. I'l track it down right now and supply a patch/fix as soon as I find it. -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Fri Nov 6 03:25:20 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Fri, 06 Nov 2009 02:25:20 -0000 Subject: [ftputil] #43: ftputil-2.4.2b2.tar.gz seems to be corrupt Message-ID: <049.421ab7ff1a16979d22eae3de1937e010@ftputil.sschwarzer.net> #43: ftputil-2.4.2b2.tar.gz seems to be corrupt ----------------------+----------------------------------------------------- Reporter: ssteiner | Owner: schwa Type: defect | Status: new Priority: blocker | Milestone: 2.4.2 Component: Website | Version: 2.4.2b2 Keywords: | ----------------------+----------------------------------------------------- Trying to pull down the gz file to see why I was getting a missing file on installation: # wget http://ftputil.sschwarzer.net/trac/attachment/wiki/Download/ftputil-2.4.2b2.tar.gz # tar zxvf ftputil-2.4.2b2.tar.gz tar: Unrecognized archive format: Inappropriate file type or format tar: Error exit delayed from previous errors. # gunzip ftputil-2.4.2b2.tar.gz gzip: ftputil-2.4.2b2.tar.gz: not in gzip format -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Fri Nov 6 03:30:47 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Fri, 06 Nov 2009 02:30:47 -0000 Subject: [ftputil] #43: ftputil-2.4.2b2.tar.gz seems to be corrupt In-Reply-To: <049.421ab7ff1a16979d22eae3de1937e010@ftputil.sschwarzer.net> References: <049.421ab7ff1a16979d22eae3de1937e010@ftputil.sschwarzer.net> Message-ID: <058.e9bd48e856e027a4b3fa0e548fc3ac8f@ftputil.sschwarzer.net> #43: ftputil-2.4.2b2.tar.gz seems to be corrupt -----------------------+---------------------------------------------------- Reporter: ssteiner | Owner: schwa Type: defect | Status: new Priority: blocker | Milestone: 2.4.2 Component: Website | Version: 2.4.2b2 Resolution: | Keywords: -----------------------+---------------------------------------------------- Comment(by ssteiner): File cannot be downloaded with wget but does work when downloaded with web browser. The link name implies that it will be a .gz download but the link actually gets redirected to a web page with a real download link on it. -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Fri Nov 6 03:32:39 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Fri, 06 Nov 2009 02:32:39 -0000 Subject: [ftputil] #42: Install from trunk svn checkout (896) on OS X 10.6 cause error In-Reply-To: <049.0037a7b6cb18873e45116a107c864eaf@ftputil.sschwarzer.net> References: <049.0037a7b6cb18873e45116a107c864eaf@ftputil.sschwarzer.net> Message-ID: <058.8f2db78cb5569710b97e8370cae7864a@ftputil.sschwarzer.net> #42: Install from trunk svn checkout (896) on OS X 10.6 cause error -----------------------+---------------------------------------------------- Reporter: ssteiner | Owner: steve steiner Type: defect | Status: new Priority: minor | Milestone: 2.4.2 Component: Other | Version: 2.4.2b2 Resolution: | Keywords: installation, os x, 10.6 -----------------------+---------------------------------------------------- Comment(by ssteiner): The html file, which is present in the ftputil-2.4.2b2.tar.gz file, is missing from svn checkout for some reason. I guess the "cure" is to just restore the file... -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Fri Nov 6 03:38:26 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Fri, 06 Nov 2009 02:38:26 -0000 Subject: [ftputil] #42: Install from trunk svn checkout (896) on OS X 10.6 cause error In-Reply-To: <049.0037a7b6cb18873e45116a107c864eaf@ftputil.sschwarzer.net> References: <049.0037a7b6cb18873e45116a107c864eaf@ftputil.sschwarzer.net> Message-ID: <058.d3124cf2009f4af9399f4878b43eee43@ftputil.sschwarzer.net> #42: Install from trunk svn checkout (896) on OS X 10.6 cause error -----------------------+---------------------------------------------------- Reporter: ssteiner | Owner: steve steiner Type: defect | Status: closed Priority: minor | Milestone: 2.4.2 Component: Other | Version: 2.4.2b2 Resolution: invalid | Keywords: installation, os x, 10.6 -----------------------+---------------------------------------------------- Changes (by ssteiner): * status: new => closed * resolution: => invalid Comment: This error is caused by the fact that setup.py bdist or sdist must be run to generate the HTML files. I'm used to libraries being able to be run with setup.py develop which just links back to the current directory in site-packages so the library can be "installed" with an svn checkout being the 'library'. Running python setup.py bdist or sdist generates the file and the library installs fine. Sorry for the line noise... -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Fri Nov 6 11:45:23 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Fri, 06 Nov 2009 10:45:23 -0000 Subject: [ftputil] #43: ftputil-2.4.2b2.tar.gz seems to be corrupt In-Reply-To: <049.421ab7ff1a16979d22eae3de1937e010@ftputil.sschwarzer.net> References: <049.421ab7ff1a16979d22eae3de1937e010@ftputil.sschwarzer.net> Message-ID: <058.66785c854bf989cb2dca72b6bb926e5f@ftputil.sschwarzer.net> #43: ftputil-2.4.2b2.tar.gz seems to be corrupt -----------------------+---------------------------------------------------- Reporter: ssteiner | Owner: schwa Type: defect | Status: assigned Priority: minor | Milestone: 2.4.2 Component: Website | Version: 2.4.2b2 Resolution: | Keywords: download, attachment, wiki, format -----------------------+---------------------------------------------------- Changes (by schwa): * keywords: => download, attachment, wiki, format * priority: blocker => minor * status: new => assigned Comment: Hi ssteiner, thanks for reporting! :-) The links '''in the table at the top of the download page''' are ''direct'' download links and work for a direct download with wget (just tested). It's a bit unfortunate that wget keeps the suffix `?format=raw` in the filename unless you use the `-o` option, though a webbrowser usually removes it. The query string makes the difference between a direct download and a preview page. Probably you used the links '''at the end of the page'''. These are auto- generated by Trac, and the links in this section lead to HTML preview pages which are practically useless if not confusing for tar.gz files. So far, I haven't found a way to remove the attachment section without editing the page template. However, changing the template affects all wiki pages and it gets lost after every Trac update. As a workaround, I've added an additional "heading" in the same layout as the auto-generated "Attachment" heading to notify people of the problem. -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Fri Nov 6 12:06:51 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Fri, 06 Nov 2009 11:06:51 -0000 Subject: [ftputil] #42: Install from trunk svn checkout (896) on OS X 10.6 cause error In-Reply-To: <049.0037a7b6cb18873e45116a107c864eaf@ftputil.sschwarzer.net> References: <049.0037a7b6cb18873e45116a107c864eaf@ftputil.sschwarzer.net> Message-ID: <058.4cc37d1dfa3b8b99639fd8766ecd1b6a@ftputil.sschwarzer.net> #42: Install from trunk svn checkout (896) on OS X 10.6 cause error -----------------------+---------------------------------------------------- Reporter: ssteiner | Owner: steve steiner Type: defect | Status: closed Priority: minor | Milestone: 2.4.2 Component: Other | Version: 2.4.2b2 Resolution: invalid | Keywords: installation, os x, 10.6, make docs, docutils -----------------------+---------------------------------------------------- Changes (by schwa): * keywords: installation, os x, 10.6 => installation, os x, 10.6, make docs, docutils Comment: Yes, I haven't included the HTML files because they can be generated automatically from the `.txt` files. If you just want to make the HTML files, you can run `make docs` if you have [http://pypi.python.org/pypi/docutils docutils] installed. Apart from that, your point in the previous comment in my opinion is a good one. A way to achive the out-of-the-box installation might be to let `setup.py` generate the HTML docs if they don't exist, but that in turn would still require `docutils`. On the other hand, just adding the HTML docs to the Subversion repository conceals the presumably automated relationship between the formats and leads to inconsistent documentation files if someone changes a text file without re-generating the HTML. I'll think about it. What do you think? -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Fri Nov 6 12:44:24 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Fri, 06 Nov 2009 11:44:24 -0000 Subject: [ftputil] #42: Install from trunk svn checkout (896) on OS X 10.6 cause error In-Reply-To: <049.0037a7b6cb18873e45116a107c864eaf@ftputil.sschwarzer.net> References: <049.0037a7b6cb18873e45116a107c864eaf@ftputil.sschwarzer.net> Message-ID: <058.5a1212b761ccba8d56a3f6d24f0ceea0@ftputil.sschwarzer.net> #42: Install from trunk svn checkout (896) on OS X 10.6 cause error -----------------------+---------------------------------------------------- Reporter: ssteiner | Owner: steve steiner Type: defect | Status: closed Priority: minor | Milestone: 2.4.2 Component: Other | Version: 2.4.2b2 Resolution: invalid | Keywords: installation, os x, 10.6, make docs, docutils -----------------------+---------------------------------------------------- Comment(by schwa): I've checked in [897] which contains a check in `setup.py`: If one or more of the HTML files is missing on attempted installation, `setup.py` prints a message to run "make docs" and exits. I think that's reasonable enough. I'll revoke the change before I release 2.4.2, and include the code afterwards. It would be embarrassing to make something I haven't thought of fail because of such a change. And I don't want to make another beta release. So please use revision 897 specifically, {{{ $ svn up -r897 }}} and test it. :) -- Ticket URL: ftputil Python FTP client library From trac at ftputil.sschwarzer.net Fri Nov 6 16:11:29 2009 From: trac at ftputil.sschwarzer.net (ftputil) Date: Fri, 06 Nov 2009 15:11:29 -0000 Subject: [ftputil] #43: ftputil-2.4.2b2.tar.gz seems to be corrupt In-Reply-To: <049.421ab7ff1a16979d22eae3de1937e010@ftputil.sschwarzer.net> References: <049.421ab7ff1a16979d22eae3de1937e010@ftputil.sschwarzer.net> Message-ID: <058.5cf1e9311509e1d50c32e2d493088d21@ftputil.sschwarzer.net> #43: ftputil-2.4.2b2.tar.gz seems to be corrupt -----------------------+---------------------------------------------------- Reporter: ssteiner | Owner: schwa Type: defect | Status: closed Priority: minor | Milestone: 2.4.2 Component: Website | Version: 2.4.2b2 Resolution: invalid | Keywords: download, attachment, wiki, format -----------------------+---------------------------------------------------- Changes (by schwa): * status: assigned => closed * resolution: => invalid Comment: I close this ticket with a status of "invalid" since the tar.gz file seems to be ok. Nonetheless I'm thankful for tips on how to deal with this confusion in the wiki. Please send tips to the [MailingList mailing list] or in [mailto:sschwarzer at sschwarzer.net private e-mail]. -- Ticket URL: ftputil Python FTP client library