Zope is Dope. It's like a breath of fresh air. Just thought I would throw that out there... I'm reading in the Zope Manager's Guide about Netscape publishing. I have found that I can publish a document once with Netscape Composer, but once it already exists on Zope, I get an error when I publish it again: Error uploading files The server responded: Sorry, an internal error occurred in this resource. Traceback (innermost last): File /usr/share/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py, line 877, in publish_module File /usr/share/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py, line 584, in publish (Info: /alex/foo.html) File /usr/share/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py, line 277, in badRequestError InternalError: (see above) Am I doing something wrong? Using pgci Zope 1.10.2, Python 1.5.2 and Netscape 4.5 Also, am I correct that the following are the only possible methods for manually publishing zope content (as opposed to being generated by a query or method)? 1) editing in-browser text areas 2) Netscape publishing 3) WebDAV (upcoming in Zope 1.12 and beyond) 4) FTP* *is FTP available in pcgi zope? I see it's in the Permissions page, but don't know how to use it. Any pointers to how FTP integrates with Zope objects? TIA Alex Rice | alrice@swcp.com | http://www.swcp.com/~alrice Current Location: N. Rio Grande Bioregion, Southwestern USA
Alex Rice wrote:
Traceback (innermost last): File /usr/share/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py, line 877, in publish_module File /usr/share/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py, line 584, in publish (Info: /alex/foo.html) File /usr/share/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py, line 277, in badRequestError InternalError: (see above)
My guess is what's happening here is a problem with the "." in foo.html Zope is looking for a method called html in object foo. You could rename it to foo_html, but this creates another problem, because as far as I can tell Composer refuses to edit files WITHOUT a .htm or .html (as does Dreamweaver). :( Is there a clever way around this this conundrum? -- ### Martin Dougiamas -- Internet Agent ### Centre for Educational Advancement is == i see ### http://cea.curtin.edu/staff/martin
On Thu, 22 Apr 1999 13:49:49 +0800, Martin Dougiamas <martin@dougiamas.com> said: Martin> My guess is what's happening here is a problem with the "." in Martin> foo.html Zope is looking for a method called html in object foo. I get the same results when I publish a single file as foo_html: it works the first time, but once it's on Zope, I can't publish again without getting the error. Martin> You could rename it to foo_html, but this creates another problem, Martin> because as far as I can tell Composer refuses to edit files Martin> WITHOUT a .htm or .html (as does Dreamweaver). :( Netscape insists on saving any file as either .html or .txt :-/ Alex
participants (2)
-
Alex Rice -
Martin Dougiamas