- NT and IIS problem (argv)
Hi, The following problem has already been asked on this list, but I could'nt find a solution (I looked through the archive - no luck). [I searched the mailing list using argv as the search pattern.] Anyway here is the error I get when I browse to http://localhost/scripts/samples/zope1.exe/manage <body> Sorry, an error occurred.<p> <!-- Traceback (innermost last): File C:\Program Files\zope1\lib\python\ZPublisher\Publish.py, line 872, in publish_module File C:\Program Files\zope1\lib\python\ZPublisher\Publish.py, line 163, in __init__ File C:\Program Files\zope1\lib\python1.5\cgi.py, line 795, in __init__ AttributeError: argv --> </body> BTW, I get the same error if I leave out the manage at the end of the URL. Help would be appreciated, Thanks, Vincent
At 01:22 PM 12/23/98 -0500, you wrote:
Anyway here is the error I get when I browse to http://localhost/scripts/samples/zope1.exe/manage
<body> Sorry, an error occurred.<p> <!-- Traceback (innermost last): File C:\Program Files\zope1\lib\python\ZPublisher\Publish.py, line 872, in publish_module File C:\Program Files\zope1\lib\python\ZPublisher\Publish.py, line 163, in __init__ File C:\Program Files\zope1\lib\python1.5\cgi.py, line 795, in __init__ AttributeError: argv
This sounds like a problem that Zope 1.9b2 for win32 had. What version of Zope are you using? If you are not using the latest version I would highly recommend updating to 1.9 final. -Amos
1.9b3win32 - downloaded on Monday. I shall get 1.9 final and try again. Thanks, Vincent Amos Latteier wrote:
At 01:22 PM 12/23/98 -0500, you wrote:
Anyway here is the error I get when I browse to http://localhost/scripts/samples/zope1.exe/manage
<body> Sorry, an error occurred.<p> <!-- Traceback (innermost last): File C:\Program Files\zope1\lib\python\ZPublisher\Publish.py, line 872, in publish_module File C:\Program Files\zope1\lib\python\ZPublisher\Publish.py, line 163, in __init__ File C:\Program Files\zope1\lib\python1.5\cgi.py, line 795, in __init__ AttributeError: argv
This sounds like a problem that Zope 1.9b2 for win32 had. What version of Zope are you using? If you are not using the latest version I would highly recommend updating to 1.9 final.
-Amos
-- It takes two to lie - one to lie and one to listen. (Homer Simpson)
Hi, I've downloaded the sample and installed it... but what is the mechanism that I use to plug it into the mix? What type is the new item that I add to activate it... Also, I expect that once it is grafted in (say as "sample", that I'd get to it via: "http://mysite.com:9673/sample" right? (A README in the tarball would be helpful).. -- Cheers, --ldl ----------------------------------------------------------------------------- LD Landis ldl@HealthPartners.Com N0YRQ Voice 612/883-5511 Fax 612/883-6363 HealthPartners, 8100 34th Avenue So, PO Box 1309, Minneapolis, MN 55440-1309 Shape your life not from your memories, but from your hopes. (Borrowed) -----------------------------------------------------------------------------
Hi,
I've downloaded the sample and installed it... but what is the mechanism that I use to plug it into the mix? What type is the new item that I add to activate it... Also, I expect that once it is grafted in (say as "sample", that I'd get to it via: "http://mysite.com:9673/sample" right?
(A README in the tarball would be helpful)..
When you unzip and untar the sample source into your Zope top level dir, it should install a directory under /lib/python/Products/. Just restart your Zope process and you will see the Product in the Control Panel product management screen. Now you can add a Sample Product item anywhere in your Zope folders, if you add a Sample Product to your top level folder and named it X, it's public interface (the index_html method) URL will be http://yoursite.com:9673/x/ and it's manage interface (defined in the source code) is: http://yoursite.com:9673/x/manage The URLs wil change sensibly depending on your folder names and where you add and name the object. Michel
-- Cheers, --ldl ----------------------------------------------------------------------------- LD Landis ldl@HealthPartners.Com N0YRQ Voice 612/883-5511 Fax 612/883-6363 HealthPartners, 8100 34th Avenue So, PO Box 1309, Minneapolis, MN 55440-1309 Shape your life not from your memories, but from your hopes. (Borrowed) -----------------------------------------------------------------------------
At 04:28 PM 12/23/98 -0600, LD Landis wrote:
I've downloaded the sample and installed it... but what is the mechanism that I use to plug it into the mix? What type is the new item that I add to activate it... Also, I expect that once it is grafted in (say as "sample", that I'd get to it via: "http://mysite.com:9673/sample" right?
I assume you are talking about the sample product for people who want to learn the Zope Product API. Correct? If so, they you want to ungzip and untar it inside the Zope directory. Then shutdown and restart Zope. Now the sample product should appear in the add list on the management screens. That's all the installation you need to do. This process is exactly the same for all Zope products. Installing a Product just makes that product available to be created with the management interface. It does not actually create any instances in your object hierarchy. Does this answer your question? -Amos
participants (4)
-
Amos Latteier -
LD Landis -
Michel Pelletier -
Vincent Joseph