EventScripts Forums
Mattie's EventScripts and Source Forums
Mattie recommends...
For United States hosting...For UK & European hosting...
  INX 
Gaming
Script Categories
addon (47) admin (234) admin script (18) advert (11) adverts (16) afk (14) alerts (12) ammo (17) anti (11) auth (14) awp (20) ban (14) ba_jail (11) bhop (12) block (13) bomb (37) bonus (19) bot (21) bot-management (18) bots (15) Buy (19) cash (57) chat (46) clan (15) classes (22) color (18) colors (18) command (16) commands (12) config (19) connect (25) Counter-Strike Source (19) css (1988) Damage (28) dead (13) death (16) deathmatch (63) disconnect (13) dm (14) dod:s (11) dods (357) easy (13) effects (118) English (15) entity (21) es 2.0 (23) flashbang (24) français (101) french (37) fun (260) funny (15) Gabeee (11) gameplay (174) give (14) gravity (11) grenade (22) grenades (28) gun (13) gun game addon (24) GunGame (21) Gungame Addons (13) GunGame5 (11) guns (15) Hack (11) headshot (22) health (50) hegrenade (12) hl2dm (295) HP (13) info (39) information (12) jail (20) join (18) kick (19) kill (38) kills (20) knife (54) knife script (14) leveling (33) mani (11) map (20) map-management (27) maps (12) match (11) menu (92) message (16) messaging (50) mod (108) model (14) models (30) money (30) music (24) mute (13) nades (16) noblock (20) player (29) player-management (31) player-tracking (28) popup (49) props (21) protection (21) punishment (50) python (50) radio (14) random (32) rank (28) rates (15) rcon (12) realism (21) respawn (48) restrict (33) round (16) rpg (22) rules (29) scout (13) Script (14) script-helper (24) scriptpack (33) sdk (131) server (25) server control (13) server management (26) server-tools (42) shop (11) silly (31) simple (18) skins (19) slay (12) sound (33) sounds (78) spawn (54) spawn protection (16) speed (24) statistics (13) stats (45) STEAMID (18) surf (31) Team (23) team-balance (15) teleport (11) text (12) TF2 (145) time (17) timer (13) tools (15) tracers (15) triggers (12) uedi (18) uses_auth (18) utility (11) vote (32) voting (21) war (11) wcs (22) WCS: Python Race (24) wcs:Python (32) WCS:Python Race (42) weapon (65) weapons (111) web (13) zm (18) zombie (84) zombie mod (11) zombiemod (45) zombies (11)
Script Authors
*XYZ*SaYnt (12) 101satoon101 (6) 3R10N (24) 4u571n91 (5) 7355608 (9) Ace Rimmer (40) adminc (5) Adz (8) AgathaKnuppelkuh (8) aidden (8) ajax (5) Al3c Tr3v3lyan (6) allstareng (5) ashbash1987 (9) ATAMAH (7) aznone (5) B00M (5) BackRaw (38) BFH_RedBull (8) Bioko (6) Blade (10) bladesback (13) bobdole (11) bodzsar1 (8) bonbon (36) Brainsucker (28) cagemonkey (8) carbon-14 (10) CaskioUTF (5) cbirou (15) ChaCaLz2psy4 (5) Chrisber (5) chrismrulz (9) Chun (6) cladiron (10) clipz934 (8) Colster (21) Cookieman8 (8) craziest (6) DanielB (14) Dave (9) dbozan99 (7) Deathyy (9) dhack (16) DoCky (27) Don (15) dordtcore (7) DragonFreddo (7) Drassil (5) Einlanzers (42) EmbouT (10) emilplov (7) Errant (10) Eun (6) eviljesus (5) Fantole (9) freddukes (17) Frequency (5) GAMEREN2 (8) GODJonez (36) GoodfellaDeal (5) HitThePipe (7) HOLLDIDAY (8) ichthys (24) infamous1 (9) Jeff91 (45) JoeyT2006 (30) Juba_PornBorn (12) jxl180 (10) KDBFame (6) L'In20Cible (6) Largo Usagi (9) Lobe (11) lolo-le-haricot (7) LosNir (5) Lumpi@Work (8) M4rc3L-XCN (7) Mattie (23) MBchrono (15) McFly (20) Medda (5) Memphis-84 (6) Messiah93 (12) Mickyy (5) micmacx (6) mryoung (6) Nicolous (26) ojii (31) Omega_K2 (6) Owned|Myself (8) P3N (6) Pascal257 (9) PatPeter (6) PDrop (10) Phaedrus (18) PhantOm Fury (7) pitbull0993 (7) randomknifer (9) Ratzee (6) ReaCtioN2oo9 (5) Rennnyyy (15) revolutionfighters (5) RideGuy (12) Rio (9) Roeliekt (6) runamagic (13) sandking220 (6) Sarcasm_Poisoning (11) saRs| Johnny-5 (13) Schubaal (9) sea212 (5) sgt.angel (6) sicilia (5) sicman_adrian (22) skillz92 (7) sn4k3 (18) snake38 (10) sonicsight (7) spoonman184 (8) stabby (18) Strontium Dog (30) SumGuy14 (25) SuperDave (45) TaCo (5) TanaToS (17) Tealk (5) TheCheeTaH (7) theresthatguy (6) uedi (37) undead (24) usernamesaretaken (15) Venjax (8) Warren (13) WhiteAvenger (7) Wonder (14) XE_ManUp (12) xfalcon61 (5) zSweetXz (5) [Cs]Lord_Inferno2 (11) [NATO]Hunter (28) ||Wolf|| (10)
Search

Post new topic Reply to topic
Author Message
User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 7963
Location:
Reims (France)
 
New postPosted: 2008-07-08, 10:36 am 
   Post subject: [DOD:S] Crash loading EventScripts

Bonjour :!:

A french user has reported this problem loading EventScripts on a DOD:S server :
Code:
Console initialized.
Game.dll loaded for "Day of Defeat"
Particles: Missing 'particles/error.pcf'
Particles: Missing 'particles/fire_01.pcf'
Particles: Missing 'particles/burning_fx.pcf'
[EventScripts] Initial Loading of Mattie's EventScripts plugin...
Initializing Python...
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/es.py", line 15, in <module>
    import psyco
  File "/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib/plat-linux2/psyco/__init__.py", line 49, in <module>
    from support import __version__, error, warning, _getrealframe, _getemulframe
  File "/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib/plat-linux2/psyco/support.py", line 192, in <module>
    import kdictproxy
  File "/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib/plat-linux2/psyco/kdictproxy.py", line 5, in <module>
    from __future__ import generators
zipimport.ZipImportError: can't decompress data; zlib not available
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/es.py", line 15, in <module>
    import psyco
  File "/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib/plat-linux2/psyco/__init__.py", line 49, in <module>
    from support import __version__, error, warning, _getrealframe, _getemulframe
  File "/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib/plat-linux2/psyco/support.py", line 192, in <module>
    import kdictproxy
  File "/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib/plat-linux2/psyco/kdictproxy.py", line 5, in <module>
    from __future__ import generators
zipimport.ZipImportError: can't decompress data; zlib not available
Python sys.path= ['', '/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_libs/python', '/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/lib/python25.zip', '/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib/', '/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib/plat-linux2', '/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib/lib-tk', '/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib/lib-dynload', '/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts', '/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib', '/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib.zip', '/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib/plat-linux2', '/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib/site-packages', '/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_libs/python']
./srcds_run: line 346:  2013 Erreur de segmentation  $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
mardi 8 juillet 2008, 17:05:51 (UTC+0200): Server restart in 10 seconds


Any idea :?:

_________________
Important : perte des pièces jointes sur le forum
Afficher le forum en français

Plugin CSSMatch





User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 5363
Location:
I am nowhere to be found

Steam Friends Name: godjonez
 
New postPosted: 2008-07-08, 12:11 pm 

Sounds like the Linux system does not have zlib installed, so the zip module is not able to load correctly.

On my Ubuntu the package is named "zlib1g" and can be installed with "apt-get install zlib1g". Depending on which Linux distribution he is running the installation might be a little different. If it is not his own server then he needs to ask the server admin to install the libraries.

_________________
Image


User avatar
Newbie
Profile

Posts: 67
 
New postPosted: 2008-07-08, 2:21 pm 

it is my server who has the problem.
I am on debian etch
I did what you ask!!!

Code:
root@ns353479:~# apt-get install zlib1g
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
zlib1g est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 3 non mis à jour.
root@ns353479:~#


translate:

Code:
root@ns353479:~# apt-get install zlib1g
reading paquage list ... done
zlib1g is the most recent version installed
0 update, 0 new installed, 0 to remove and 3 no update.
root@ns353479:~#

_________________
Image


Last edited by levisagepale on 2008-07-18, 10:35 am, edited 1 time in total.

User avatar
Site Administrator
Site Administrator
Profile

Posts: 7296
Location:
At Work
 
New postPosted: 2008-07-08, 7:12 pm 

What files do you have in this directory?

Quote:
/home/ftp/grd/serveur/orangebox/dod/addons/eventscripts/_engines/python/Lib/plat-linux2


Can you provide a list?

-Mattie


User avatar
Newbie
Profile

Posts: 67
 
New postPosted: 2008-07-09, 4:07 pm 

list of orangebox/dod/addons/eventscripts/_engines/python/Lib/plat-linux2:

Image

Image

_________________
Image


User avatar
Newbie
Profile

Posts: 67
 
New postPosted: 2008-07-17, 4:37 am 

no answer???


I readed this there

zipimport.ZipImportError: can't decompress data; zlib not available
install the python-dev package or install python from source

I did but same problem. And I installed upgrade python from 2.4.4 version to 2.5 version on my debian, same problem, please help

_________________
Image


User avatar
Newbie
Profile

Posts: 67
 
New postPosted: 2008-08-07, 7:59 pm 

are you dead?

_________________
Image


User avatar
Site Administrator
Site Administrator
Profile

Posts: 7296
Location:
At Work
 
New postPosted: 2008-08-08, 4:38 pm 

levisagepale wrote:
are you dead?


Not quite. I'm undead.

I can't tell from this why you're having troubles on your particular flavor of Linux. The best advice I have for you is to extract your addons\eventscripts\_engines\python\Lib.zip into addons\eventscripts\_engines\python\Lib\ such that startup doesn't require zlib (maybe).

I don't know why zlib won't load for your environment. You could try copying your official Python 2.5 zlib.so into the directory you show zlib.so above, but there's a decent chance that won't work properly.

-Mattie


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 2983
Location:
UK
 
New postPosted: 2008-08-08, 5:26 pm 

Try also installing the lib32z1 package (or lib64z1 if your on 64bit). Also add zlib-bin and zlib1g-dev if you have no joy there.

_________________
Cheers,
Tom
Image
NCS: kill chat spam dead! - | - Get Live IRC help - | - Addon Utils - View and manage addons in game
(No IRC client? Use this sites simple online version [Requires Java])

eXtensible Admin: the #1 open source admin tool

Addons: Uptime; server uptime logger - loglib; logging utility - Block Chat; limit chat to teamonlly - Last Five; view the last few players to leave the server, with ban opts - Backup; coming SOON

My startup: social network v3.0!!


User avatar
Newbie
Profile

Posts: 67
 
New postPosted: 2008-08-12, 6:51 pm 

i just installed zlib-bin and zlib1g-dev. the problem is still there.

for indication. the problem is there since the orange is in place. before. I never had this problem

_________________
Image


User avatar
Site Administrator
Site Administrator
Profile

Posts: 7296
Location:
At Work
 
New postPosted: 2008-08-12, 7:01 pm 

Did you extract Lib.zip as I asked above?

-Mattie


User avatar
Newbie
Profile

Posts: 67
 
New postPosted: 2008-08-12, 7:27 pm 

Mattie wrote:

I can't tell from this why you're having troubles on your particular flavor of Linux. The best advice I have for you is to extract your addons\eventscripts\_engines\python\Lib.zip into addons\eventscripts\_engines\python\Lib\ such that startup doesn't require zlib (maybe).



when i did that the server run with events script. now I will try if it work with scripts. think very much

_________________
Image


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group