[RELEASE] Multiplatform Auto Restarter/Server Manager v1.0

it was path but it would be awesome if we can in future choose our path for server.cfg and resources :smiley:

win32gui is uninstallable as you’ve pointed people to install 64 bit python which is incompatible with win32gui:

C:\fivem\manager>pip install win32gui
Collecting win32gui
  Using cached https://files.pythonhosted.org/packages/b8/75/7bed82934e51903f9d48b26b3996161bb2dce1731607b4bb7fd26003ed3e/win32gui-221.5.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  ERROR: Complete output from command 'c:\users\administrator\appdata\local\programs\python\python37-32\python.exe' 'c:\users\administrator\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' get_requires_for_build_wheel 'C:\Users\ADMINI~1\AppData\Local\Temp\2\tmptabsrair':
  ERROR: Traceback (most recent call last):
    File "c:\users\administrator\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 207, in <module>
      main()
    File "c:\users\administrator\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 197, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "c:\users\administrator\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 54, in get_requires_for_build_wheel
      return hook(config_settings)
    File "C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-build-env-avprsk4f\overlay\Lib\site-packages\setuptools\build_meta.py", line 145, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
    File "C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-build-env-avprsk4f\overlay\Lib\site-packages\setuptools\build_meta.py", line 126, in _get_build_requires
      self.run_setup()
    File "C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-build-env-avprsk4f\overlay\Lib\site-packages\setuptools\build_meta.py", line 234, in run_setup
      self).run_setup(setup_script=setup_script)
    File "C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-build-env-avprsk4f\overlay\Lib\site-packages\setuptools\build_meta.py", line 141, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 27, in <module>
      from win32.distutils.gui import win32gui_build_ext
    File "C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-install-_fijh7w_\win32gui\win32\distutils\gui.py", line 6, in <module>
      from .command import win32_build_ext
  ModuleNotFoundError: No module named 'win32.distutils.command'
  ----------------------------------------
ERROR: Command "'c:\users\administrator\appdata\local\programs\python\python37-32\python.exe' 'c:\users\administrator\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' get_requires_for_build_wheel 'C:\Users\ADMINI~1\AppData\Local\Temp\2\tmptabsrair'" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-install-_fijh7w_\win32gui

C:\fivem\manager>

The install instructions are greatly lacking.

Keep getting this error, don’t know how to fix it. I’ve installed win32gui, and psuutil or whatever it’s called.

C:\Users\Administrator\Desktop\FiveM Server Manager v1>manager.py
Traceback (most recent call last):
File “C:\Users\Administrator\Desktop\FiveM Server Manager v1\manager.py”, line 623, in
if load_config(): #Returns true when no errors occur
File “C:\Users\Administrator\Desktop\FiveM Server Manager v1\manager.py”, line 38, in load_config
config = jload(file)
File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\json_init_.py”, line 296, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\json_init_.py”, line 348, in loads
return _default_decoder.decode(s)
File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\json\decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\json\decoder.py”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I didn’t understand it was nothing about the installation could have a video explaining

1 Like
Traceback (most recent call last):
  File "C:\Users\Administrator\Desktop\Servers\Server-2\Server Manager\manager.py", line 615, in <module>
    server.start() #TODO: Create FiveM server and do some testing
  File "C:\Users\Administrator\Desktop\Servers\Server-2\Server Manager\manager.py", line 517, in start
    self.main()
  File "C:\Users\Administrator\Desktop\Servers\Server-2\Server Manager\manager.py", line 604, in main
    self.restart()
  File "C:\Users\Administrator\Desktop\Servers\Server-2\Server Manager\manager.py", line 573, in restart
    self.stop()
  File "C:\Users\Administrator\Desktop\Servers\Server-2\Server Manager\manager.py", line 566, in stop
    os.kill(self.pid, signal.SIGTERM)
OSError: [WinError 87] The parameter is incorrect

C:\Users\Administrator\Desktop\Servers\Server-2\Server Manager>

Getting the following error when the server tries to restart.

Im getting this too, no idea what do to. The server loads up fine but this error comes up when i come to restart.

HELP PLZ

that looks like a python bug you have tried to reinstall or update, I feel the English I am using google translator

Same here! any help??

Not sure if anyone is having issues with the win32gui not being able to be installed. The package win32Gui isn’t compatible with python 3.7, it is however available in another package called py2in32

To install into your terminal type the following

pip install pywin32

View the post about why and the fix over at stackoverflow: https://stackoverflow.com/a/52812481/3321292

My dude, just use txAdmin :rofl:

1 Like

Thanks! I will take a look at that :slight_smile: