To python expert

chamith

Registered Member
Joined
Nov 3, 2014
Messages
95
Reaction score
52
Someone created a bot for me on python
he provided the .exe file
the bot work on chrome so i think they call that selinuim or somth
anyway the bot work fine on my pc but won't work on the VPS
the chrome windows open and close in seconds
what do you think the problem is?
 
It's most probably the chronium package is missing, or uses a different version.
Enable debugging and see the actual error. Add try: except: blocks to catch the errors and print them.
 
yeah for sure some packages are missing...

try right click on the .exe and if you are lucky, you can extract the source code (with 7-zip installed).
Check inside the source code what dependencies there are...

You can also try to start the source code itself (but for this you need to install python and the needed packages first).
If you start the bot in the console the chances are good that you see a proper error message on which you then can act on.
 
Someone created a bot for me on python
he provided the .exe file
the bot work on chrome so i think they call that selinuim or somth
anyway the bot work fine on my pc but won't work on the VPS
the chrome windows open and close in seconds
what do you think the problem is?
Yes is using selenium . Chromium package is missing that is why is act in this way
 
It's most probably the chronium package is missing, or uses a different version.
Enable debugging and see the actual error. Add try: except: blocks to catch the errors and print them.

yeah for sure some packages are missing...

try right click on the .exe and if you are lucky, you can extract the source code (with 7-zip installed).
Check inside the source code what dependencies there are...

You can also try to start the source code itself (but for this you need to install python and the needed packages first).
If you start the bot in the console the chances are good that you see a proper error message on which you then can act on.

Chromium package is missing
If the bot is the problem why it work on my pc and don't work on the vps
maybe the vps luck some program like c++ or net framework
 
If the bot is the problem why it work on my pc and don't work on the vps
maybe the vps luck some program like c++ or net framework
Judging from your reply, you need to ask for help. Contact the guy who sold it to you. Regardless of what advice you will get here, it will be really hard for you to implement it.
 
If the bot is the problem why it work on my pc and don't work on the vps
maybe the vps luck some program like c++ or net framework
The bot is not the issue but in order for the bot to can access the browser and do actions is needed first to install the packages required like the chromium package/make sure you have selenium before.

I think you have installed on your pc these packages already and on the vps you just upload the pyhton file and start the program without having these packages
 
Judging from your reply, you need to ask for help. Contact the guy who sold it to you. Regardless of what advice you will get here, it will be really hard for you to implement it.
Yes i did but he need sometime to reply
so i said let's ask an expert maybe it's small problem so i can gain time
The bot is not the issue but in order for the bot to can access the browser and do actions is needed first to install the packages required like the chromium package/make sure you have selenium before.

I think you have installed on your pc these packages already and on the vps you just upload the pyhton file and start the program without having these packages
Yes maybe
so recommend me some link of things i should install
 
If he used py2exe to assemble the python scripts into an exe file, then often some .dlls are missing if you port it from one computer to another. Most of the time this raises an error with a popup stating what is missing, but not always...

Could be another issue anyway, so best is to wait for the answer of your bot builder
 
None of those answers above are right
what he did is simply downloaded new file called chromedriver.exe replaced with the old one and it's done
 
1-chromedriver path is wrong because machine has changed.

2-Google chrome or Selenium outdated. Its happening often with chrome version being outdated.

3-Page ur crawling/automating have source code modification, it happend too.

Tips: to avoid getting an error while running the .exe you should ask your bot dev to put his code into a try/catch block so when an exception is throwed it will give you a message why. ex: no such element is found/bound out of range/connection timed out
 
It’s most definitely because you updated your google chrome. The guy who sold you the bot, probably included the old chromedriver, but for some reason google forces you to update the chromedriver as well.

happened to me last week. You just to go to selenium.org, download the driver and replace it on your bot with the new one. He may have edited the chromedriver.exe to make it less detectable, if thats the case theres not much you can do to make it less detectable.
 
Back
Top