Jump to content
UBot Underground

uBot isn't working ( Unable to Load Python and Node JS )


Recommended Posts

An error occured while trying to load python system.

Version : 6.7.23
Error : The system cannot find the file specified .

_________________

An error occurred trying to load Node JS System
version : 6.7.23
Error : Object Reference not set to an instance of an object. 

If I still continue to use ubot ignoring these issues then chatGPT isn't working. 
Also tried to install previous versions but it has no chatgpt module. 

Attached the error screenshots

IMG_20240621_094903.jpg

IMG_20240621_095144.jpg

Link to post
Share on other sites
  • 2 months later...

I have the identical problem. Removed appdata folder, still the same issue

 

2024-09-13 12:25:22: !!! Version: 6.7.25
2024-09-13 12:25:22: !!! An error happened while trying to Load Python System: 
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at ..(String , String )
   at ..(String , String , Boolean )
   at ..()
   at UBotDev.MainWindow.<LoadPythonSystem>c__Binding.Invoke(Object& , Arguments , Object )
   at PostSharp.Aspects.Internals.MethodInterceptionArgsImpl.Proceed()
   at UBotDev.HandleErrorsAttribute.OnInvoke(MethodInterceptionArgs )
2024-09-13 12:25:34: !!! An error happened while Loading Main Window: 
System.Exception: No module named 'requests'
   at ..(String , String )
   at UBotDev.MainWindow.MainWindowLoaded(Object sender, RoutedEventArgs e)

Link to post
Share on other sites
  • 3 months later...
On 9/13/2024 at 5:28 AM, Lombi said:

I have the identical problem. Removed appdata folder, still the same issue

 

2024-09-13 12:25:22: !!! Version: 6.7.25
2024-09-13 12:25:22: !!! An error happened while trying to Load Python System: 
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at ..(String , String )
   at ..(String , String , Boolean )
   at ..()
   at UBotDev.MainWindow.<LoadPythonSystem>c__Binding.Invoke(Object& , Arguments , Object )
   at PostSharp.Aspects.Internals.MethodInterceptionArgsImpl.Proceed()
   at UBotDev.HandleErrorsAttribute.OnInvoke(MethodInterceptionArgs )
2024-09-13 12:25:34: !!! An error happened while Loading Main Window: 
System.Exception: No module named 'requests'
   at ..(String , String )
   at UBotDev.MainWindow.MainWindowLoaded(Object sender, RoutedEventArgs e)

New ubot installs for some reason have broken python integration, and it has been this way for a very long time. There are 2 folders in the ubot %appdata%\Roaming\UBot Studio\ folder, and you'll see one called python standard library and other python. Some of the python modules it is looking for in that error message are in the %appdata%\Roaming\Ubot Studio\python\Lib\site-packages folder and not in the Python Standard Library folder. If you copy over the Requests folder to your "python standard library/site-packages" folder it may solve the error you are getting now --at least did so with me but that was a while ago. I believe i had to copy over some of the other missing modules it is looking for (it tells you in the error message). 

Though, you might not even have a requests folder in %AppData%\Roaming\UBot Studio\python\Lib\site-packages\. Should check and see if it's there. I believe one time I had to install it myself.

Not exactly sure if that will solve the issue for you but it's something to try if you are getting those python errors.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...