#nei3rd

1 messages · Page 1 of 1 (latest)

analog palm
#

Hello there, Alex is offline and I will try to catch up. How can I help?

tawny fern
#

hello orakaro

#

just getting the link of thread of the conversation I had with Alex

analog palm
#

Okie so you got a syntax error

tawny fern
#

I was about to msg to Alex that I screencap the code

#

Alex was pointing to me origin

analog palm
#

okie, if you print out origin do you get that string value?

tawny fern
#

line 55

#

do I type it like this on terminal?

analog palm
#

no, I meant debug inside your code

#

Let me help you with the way to debug

tawny fern
#

ok

analog palm
#
  1. Do you run this server on your local? What's your local Python version? Can you show me some screenshot telling the Python version?
tawny fern
#

its on online server

#

checking now for phyton version

analog palm
#

Where do you run it? Heroku? Can you specify the service name?

tawny fern
#

Will it be all the same if I opt not to mention the serive name? I prefer not to, frankly

analog palm
#

okie, I just want to know the Python version

tawny fern
#

ok,

analog palm
#

So you would need to find our what Python version it is, either by your service documentation, or try using alex suggestion

import sys
print(sys.version)
tawny fern
#

Python 2.7

analog palm
#

Okie that's the problem

#

the syntax you are using f'' is for Python version 3.6+

#

I would recommend to use Python 3 instead of Python 2 (as it's very old version and not very well supported nowsaday), by looking around on your service provider documentation

tawny fern
#

a moment,

#

well log out for now to dig around for a workaround so that the code may work

#

my thanks to the stripe dev team

analog palm
#

you are welcome