INPUT.json get deleted when i run the program with...
# apify-platform
r
Hello - i have created an actor and try to run it using python - Everytime when i want to run the progam using
apify run -p
- the INPUT.json i have created get deleted and i get this error message Any idea what the problems is here? https://cdn.discordapp.com/attachments/1453431657993338911/1453431658656301148/image.png?ex=697a4036&is=6978eeb6&hm=0f89cd50af69f1003ceeb0e43a432790ea5e7cb199aaaa2209a3f73e8b001d50&
It seems the problem is/was this line of code:
Configuration.get_global_configuration().headless = False
When i delte this line everything works fine and the input.json is not deleted when running the program
u
hi
o
Hey, it seems you're calling
Configuration.get_global_configuration().headless = False
before actor initialization. You need to call it within
async with Actor:
block or before
await Actor.init()
2 Views