how to install paver on windows?

250 views
Skip to first unread message

Uma Lakkakula

unread,
Sep 1, 2011, 9:08:04 PM9/1/11
to paver
c:\Study\paver-paver-25f2b9a>set path=%path%;C:\python32

c:\Study\paver-paver-25f2b9a>python setup.py install
Traceback (most recent call last):
File "setup.py", line 6, in <module>
import paver.tasks
File "paver-minilib.zip\paver\tasks.py", line 68
print output
^
SyntaxError: invalid syntax

c:\Study\paver-paver-25f2b9a>

Aureliano Calvo

unread,
Sep 1, 2011, 10:15:30 PM9/1/11
to pa...@googlegroups.com
I think the problem is that you are using python 3.2. Try it with python 2.7.


--
You received this message because you are subscribed to the Google Groups "paver" group.
To post to this group, send email to pa...@googlegroups.com.
To unsubscribe from this group, send email to paver+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/paver?hl=en.


Uma Lakkakula

unread,
Sep 2, 2011, 12:27:22 AM9/2/11
to pa...@googlegroups.com, Filipe Fortes
Thanks for the suggestion, I tried with Python 2.7 and was able to install Paver.

But still cannot compile treesaver. Please see the error attached.

Thanks.
treesaver-compile-error.txt

Almad

unread,
Sep 3, 2011, 7:17:37 AM9/3/11
to paver
Hi,

from looking at treesaver's source pavement file, it looks more like
problem in treesaver itself.

If you run command

java -jar C:\Study\treesaver\lib/closure/compiler.jar --
compilation_level=ADVANCED_OPTIMIZATIONS --jscomp_error
accessControls --jscomp_error checkRegExp --jsc
omp_error checkTypes --jscomp_error checkVars --jscomp_error
deprecated --jscomp_error fileoverviewTags --jscomp_error invalidCasts
--jscomp_error missingProper
ties --jscomp_error undefinedVars --jscomp_error visibility --
jscomp_warning nonStandardJsDocs --jscomp_warning strictModuleDepCheck
--jscomp_warning unknownDe
fines --output_wrapper '(function(){%output%}).call(window);' --
define="COMPILED=true" --language_in ECMASCRIPT5_STRICT --
define="treesaver.VERSION='0.9.2-278-g
8ce16ab'" --define="goog.DEBUG=false" --externs=C:\Study\treesaver\src
\externs\animationframe.js --externs=C:\Study\treesaver\src\externs
\ios.js --externs=C:\St
udy\treesaver\src\externs\mustache.js --externs=C:\Study\treesaver\src
\externs\treesaver.js --js --js_output_file=C:\Study\treesaver\build
\treesaver-0.9.2.js

manually, is it working?

Regards,

Almad

On 2 zář, 06:27, Uma Lakkakula <lvu...@gmail.com> wrote:
> Thanks for the suggestion, I tried with Python 2.7 and was able to install
> Paver.
>
> But still cannot compile treesaver. Please see the error attached.
>
> Thanks.
>
> On Thu, Sep 1, 2011 at 10:15 PM, Aureliano Calvo
> <aurelianoca...@gmail.com>wrote:
>  treesaver-compile-error.txt
> 21KZobrazitStáhnout

Uma Lakkakula

unread,
Sep 3, 2011, 11:47:15 PM9/3/11
to pa...@googlegroups.com, Bram Stein
Hi,

I ran the java command, and It gave me error "No argument is allowed: C:\Study\treesaver\build\treesaver-0.9.2.js"

I think the problem is with empty arguments for option "--js", I believe it should have all dependencies listed here after "--js". The pavement.py has a method "get_dependency_list" which might be returning empty values. Again, I do not know python script and even Java.

Note: I was able to compile the code in my Mac, the problem is only in Win7. Treesaver guys said, they do not support windows. but I am just curious.

Thanks a log for your help.
-Uma

here is the command:
java -jar C:\Study\treesaver\lib/closure/compiler.jar --compilation_level=ADVANCED_OPTIMIZATIONS  --jscomp_error accessControls --jscomp_error checkRegExp --jscomp_error checkTypes --jscomp_error checkVars --jscomp_error deprecated --jscomp_error fileoverviewTags --jscomp_error invalidCasts --jscomp_error missingProperties --jscomp_error undefinedVars --jscomp_error visibility  --jscomp_warning nonStandardJsDocs --jscomp_warning strictModuleDepCheck --jscomp_warning unknownDefines --output_wrapper '(function(){%output%}).call(window);' --define="COMPILED=true" --language_in ECMASCRIPT5_STRICT --define="treesaver.VERSION='0.9.2-278-g8ce16ab'" --define="goog.DEBUG=false" --externs=C:\Study\treesaver\src\externs\animationframe.js --externs=C:\Study\treesaver\src\externs\ios.js --externs=C:\Study\treesaver\src\externs\mustache.js --externs=C:\Study\treesaver\src\externs\treesaver.js --js  --js_output_file=C:\Study\treesaver\build\treesaver-0.9.2.js
Reply all
Reply to author
Forward
0 new messages