Sorry for replying to my own thread, but I looked into the problem and
the found the solution.
The file "satchmo/payment/modules/protx/forms.py" currently looks like
this.
19 cc.card_holder=data.get('card_holder', '')
20 cc.start_month=data.get('month_start', None)
21 cc.start_year=data.get('year_start', None)
22 cc.issue_num=data.get('issue_num', ''))
Yet you'll notice line 22 has an extra ")" at the end of it. So it's
just a simple mistake in Syntax, as a glance at the original error
indicates.
I would have written up a ticket and a fix on the trac site, however
the method didn't seem obvious to me. Hope that was helpful to
somebody.
best,
Chris
On Sep 17, 7:22 pm, chris winn <[EMAIL PROTECTED]> wrote:
> I'm working my way through setting up a satchmo install, and noticed
> that after upgrading satchmo to trunk version 1517 my standard issue
> "python setup.py install" throws this error. Just figured the dev
> team would be interested.
>
> ---------------------------------------------------
> byte-compiling /usr/lib/python2.5/site-packages/satchmo/payment/
> modules/protx/__init__.py to __init__.pyc
> byte-compiling /usr/lib/python2.5/site-packages/satchmo/payment/
> modules/protx/forms.py to forms.pyc
> File "/usr/lib/python2.5/site-packages/satchmo/payment/modules/protx/
> forms.py", line 22
> cc.issue_num=data.get('issue_num', ''))
> ^
> SyntaxError: invalid syntax
>
> byte-compiling /usr/lib/python2.5/site-packages/satchmo/payment/
> modules/protx/processor.py to processor.pyc
> byte-compiling /usr/lib/python2.5/site-packages/satchmo/payment/
> modules/protx/config.py to config.pyc
> byte-compiling /usr/lib/python2.5/site-packages/satchmo/payment/
> modules/protx/views.py to views.pyc
> ---------------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---