Installation problems

Ask questions and share info about GunGame 5

Installation problems

Postby Mani » Tue Jan 03, 2012 12:21 am

Hello, first sorry for my bad english, but i will try.

I upload all gungame51 files in the right directory, but if i want start it i get this error:

*** EventScripts caught an exception:
Traceback (most recent call last):
  File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/es.py", line 409, in loadModuleAddon
    newaddon = __import__(importname)
  File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/gungame51.py", line 31, in <module>
    from modules.eventmanager import unload_events
  File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/modules/eventmanager.py", line 14, in <module>
    import gameevents
  File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/modules/gameevents.py", line 29, in <module>
    from helpers import check_gg_start
  File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/modules/helpers.py", line 22, in <module>
    from gungame51.core.addons.priority import PriorityAddon
  File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/core/addons/__init__.py", line 15, in <module>
    from manager import AddonManager
  File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/core/addons/manager.py", line 16, in <module>
    from dependency import DependentAddons
  File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/core/addons/dependency.py", line 20, in <module>
    from loaded import LoadedAddons
  File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/core/addons/loaded.py", line 17, in <module>
    from gungame51.core.events import GG_Addon_Loaded
  File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/core/events/__init__.py", line 35, in <module>
    gg_resource_file.write(events, overwrite=True)
  File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/core/events/eventlib/resource.py", line 118, in write
    with open(self.path, 'w') as f:
IOError: [Errno 13] Permission denied: path('/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/core/events/data/gungame_events.res')
Could not open script for addons/eventscripts/gungame51/es_gungame51.txt
  Error source (console): (no script)


I dont know where is the mistake, i upload all files again but it dont work.
Permission for the gungame51 ordner I did.

Please help me!
Mani

Recruit
Recruit
 
Posts: 4
Joined: Tue Jan 03, 2012 12:18 am
Steam Friends Name: schwarzerrabe

Postby satoon101 » Tue Jan 03, 2012 4:35 am

I know you stated that the permissions are set, but the error you are getting is an error that you get for not having the proper permissions. Try resetting the permissions for the server's ..addons/eventscripts/gungame51/ folder and all of its sub-directories.

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm

Re: Installation problems

Postby Mani » Tue Jan 03, 2012 11:35 am

I did, but i will try.

And the error:
"Could not open script for addons/eventscripts/gungame51/es_gungame51.txt"

I dont have this .txt
Mani

Recruit
Recruit
 
Posts: 4
Joined: Tue Jan 03, 2012 12:18 am
Steam Friends Name: schwarzerrabe

Postby Mani » Tue Jan 03, 2012 12:34 pm

I did it again, i reupload all gungame files and give them chmod 777

12:21:29 es_load gungame51
12:21:29 *** EventScripts caught an exception:
         Traceback (most recent call last):
           File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/es.py", line 409, in loadModuleAddon
             newaddon = __import__(importname)
           File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/gungame51.py", line 31, in <module>
             from modules.eventmanager import unload_events
           File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/modules/eventmanager.py", line 14, in <module>
             import gameevents
           File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/modules/gameevents.py", line 29, in <module>
             from helpers import check_gg_start
           File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/modules/helpers.py", line 22, in <module>
             from gungame51.core.addons.priority import PriorityAddon
           File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/core/addons/__init__.py", line 15, in <module>
             from manager import AddonManager
           File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/core/addons/manager.py", line 16, in <module>
             from dependency import DependentAddons
           File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/core/addons/dependency.py", line 20, in <module>
             from loaded import LoadedAddons
           File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/core/addons/loaded.py", line 17, in <module>
             from gungame51.core.events import GG_Addon_Loaded
           File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/core/events/__init__.py", line 35, in <module>
             gg_resource_file.write(events, overwrite=True)
           File "/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/core/events/eventlib/resource.py", line 118, in write
             with open(self.path, 'w') as f:
         IOError: [Errno 13] Permission denied: path('/home/css/Server3_GG/css/cstrike/addons/eventscripts/gungame51/core/events/data/gungame_events.res')
         Could not open script for addons/eventscripts/gungame51/es_gungame51.txt
           Error source (console): (no script)



in my console (SSH) when i start the server, i get now this error:


# ================================================
# >>                     GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 344, in callBlock
self.Blocks[blockname]()
File "../eventscripts/gungame51/gungame51.py", line 147, in unload
Database().close()
File "../eventscripts/gungame51/core/sql/__init__.py", line 46, in __init__
self.connect()
File "../eventscripts/gungame51/core/sql/__init__.py", line 135, in connect
'cfg/gungame51/database/gg_database.db'))
OperationalError: unable to open database file
# ================================================


[EventScripts] Unloading gungame51...
[EventScripts] gungame51 has been unloaded
Mani

Recruit
Recruit
 
Posts: 4
Joined: Tue Jan 03, 2012 12:18 am
Steam Friends Name: schwarzerrabe

Re: Installation problems

Postby satoon101 » Tue Jan 03, 2012 3:04 pm

Mani wrote:I did, but i will try.

And the error:
"Could not open script for addons/eventscripts/gungame51/es_gungame51.txt"

I dont have this .txt
What happens is that when EventScripts tries to load an addon, if it sees a .py file, it will load that file. If, however, the .py file encounters an error on load (which you are obviously getting), then it will look for the .txt file and try to load it instead.

I'm really not sure what else to tell you. It is a permission issue that you are getting. For some reason the gungame_events.res file cannot be created in the server's ../addons/eventscripts/gungame51/core/events/data/ folder due to this permission error.

The other error is because GunGame unloads itself if it encounters an error during load. One of the functions when it unloads is to update the database file and save it. Since the first error happens prior to the database file being created, when GunGame tries to update/save it, it encounters that error (since the file does not exist).

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm



Return to General Discussion

Who is online

Users browsing this forum: No registered users and 16 guests

cron