random
September 15, 2020, 6:52pm
1
when i try to run my python script by curl:
(input fails)
product number: Traceback (most recent call last):
File "<stdin>", line 45, in <module>
EOFError: EOF when reading a line
When i try to run by python:
(input works, but sadly when i run ‘1’
Traceback (most recent call last):
File "/dev/fd/63", line 56, in <module>
File "<string>", line 7, in <module>
ModuleNotFoundError: No module named 'xent_config'
Module exists, what gives?
check: https://glitch.com/edit/#!/bubble-com
2 Likes
Jonyk56
September 15, 2020, 8:17pm
2
@random Check, the recent posts… Xent is no more…
1 Like
wh0
September 15, 2020, 9:01pm
3
I vaguely recall you were discussing this in a different thread. Could you describe what technique you went with here, for completeness?
1 Like
random
September 16, 2020, 6:06am
4
okay, so you might remember towards the bottom ihack gave me this command:
curl bubble-com/main.py | python3
but when it came to input you get that first error- which was in my mind unfixable, when I ran with process substitution in python-
python3 <(curl "https://bubble-com.glitch.me/main.py" -s -N)
You get our second error- nothing wrong with the code as far as i can see
btw @Jonyk56 , this isn’t going to be Xent as we know it
2 Likes
Jonyk56
September 16, 2020, 12:22pm
5
so… guess what, the xent_config.py file must also be client side, for it to work, which is very difficult…
2 Likes
random
September 16, 2020, 2:57pm
6
Hmmm, maybe it might work