Hi, check the last email

 

On Saturday, 9 de April de 2011 15:06:01 Andy Sy wrote:

> For those encountering the following:

>

> syntax: please specify a spyce file to process

> Use -h option for help.

>

> issue, the fix is explained at:

>

> http://www.neotitans.com/resources/python/spyce-tips-and-techniques.html

>

>

> In a nutshell, change the following line in spyceCGI.py:

>

> try: path = findScriptFile(environ['PATH_TRANSLATED'])

>

> to

>

> try: path = findScriptFile(environ['SCRIPT_FILENAME'])

>

>

> Even unupdated for a couple of years(?), Spyce is *still*

> the simplest and easiest way of getting Python server pages

> functionality. Does anyone really know of a better

> alternative?

>

> For those having problems with Python 2.6, e.g. "as" and "with"

> being used as keywords, the instances of "as" and "with" variables

> in the following files need to be changed:

>

> spyce-2.1/spyce.py

> spyce-2.1/tags/form.py

>

> then all should be working again.

 

Good luck.

 

On Thursday, 21 de July de 2011 22:33:38 Rodney Lewis wrote:

> Hello;

>

> I am trying to run the Spyce dev server on my local WinVista machine.

>

> I get this error:

>

> ---

>

> C:\Spyce>spyceCmd.py -l

> Traceback (most recent call last):

> File "C:\Spyce\spyceCmd.py", line 12, in <module>

> import spyce, spyceException, spyceUtil, spyceCompile, spycePreload

> File "C:\Spyce\spyce.py", line 549

> def _startModule(self, name, file=None, as=None, force=0):

> ^

> SyntaxError: invalid syntax

>

> ----

>

> The caret would be under the attribute name 'as' if it were in a

> fixed-width font.

>

> Any help would be greatly appreciated as I love Python am excited to

> see Spyce in action on my computer.

--

Sent from Kmail