Groups
Groups
Sign in
Groups
Groups
CasperJS
Conversations
About
Send feedback
Help
python 2.5.2 and casperjs 1.0.0 : what is the minimum version of python to run casperjs
391 views
Skip to first unread message
Soufyan
unread,
Nov 12, 2012, 11:33:17 AM
11/12/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to casp...@googlegroups.com
i everybody !
In production we got an debian lenny OS with python 2.5.2
when I run a casperjs command I got this error :
File "/srv/lib/casperjs/1.0.0-RC4/bin/casperjs", line 58
except OSError as err:
^
SyntaxError: invalid syntax
It is impossible for me to upgrade the OS.
any solutions please or ideas?
thanks,
best regards.
Soufyan
Nicolas Perriault
unread,
Nov 12, 2012, 12:11:10 PM
11/12/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to casp...@googlegroups.com
2012/11/12 Soufyan <
amenzou...@gmail.com
>:
> File "/srv/lib/casperjs/1.0.0-RC4/bin/casperjs", line 58
> except OSError as err:
> ^
> SyntaxError: invalid syntax
CasperJS executable requires Python >= 2.7
++
--
Nicolas Perriault
https://nicolas.perriault.net/
Phone: +33 (0) 660 92 08 67
Soufyan
unread,
Nov 13, 2012, 4:36:45 AM
11/13/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to casp...@googlegroups.com, nic...@perriault.net
Thank you for your response.
But maybe it will be interessant for you to know that on VM machine I got :
linux 2.6.32-5-amd64 kernel version
Python 2.6.6
phantomjs 1.7.0
casperjs 1.0.0-RC1
And
all
my scripts work fine
Why I don't know ;)
++
Nicolas Perriault
unread,
Nov 13, 2012, 8:26:35 AM
11/13/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to casp...@googlegroups.com
2012/11/13 Soufyan <
amenzou...@gmail.com
>:
> Python 2.6.6
> And all my scripts work fine
Oh right, that's because we removed the use of check_output() (2.7
only) to use execvp() instead (2.6 compatible) :)
Soufyan
unread,
Nov 13, 2012, 9:23:33 AM
11/13/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to casp...@googlegroups.com, nic...@perriault.net
Okay thanks for the precisions
good luck ++
Reply all
Reply to author
Forward
0 new messages