View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002138 | Spring engine | General | public | 2010-09-20 02:52 | 2010-11-27 23:04 | ||||
Reporter | dfreeman | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | no change required | ||||||
Product Version | 0.82.5 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002138: Latest 0.82-branch won't record demos | ||||||||
Description | I recently changed from the 0.82.5.1 source to the 0.82-branch, which required me to turn off Spring version checking in SpringLobby to enable on-line play. (The version number comes up as 0.82+.5.) Now I find there are no new demos recorded in ~/.spring/demos . This could be a bug in the lobby or in Spring. Please check if there are any commits to the branch that would explain this. I remember pointing out a regression where the demo filenames had "unknown" as the map name, perhaps this was fixed incorrectly. Also, why not make the git versions have a plus sign on the end? It would be easier for the lobby to parse and decide that I can play this on a server that expects 0.82.5.1 if it were 0.82.5.1+. I have also reported this to the lobby bug tracker. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
abma (administrator) 2010-09-20 20:12 |
can you attach an infolog.txt of such an game without an demo saved, please? |
dfreeman (reporter) 2010-09-21 06:17 |
No, because that hasn't been written since switching to git. script.txt has been updated by the lobby, and unitsync.log indicates that unitsync is compiled from git and is able to find the existing demos. |
dfreeman (reporter) 2010-09-22 07:13 |
The current 0.82-branch also won't play demos, it gives this error (presented via the lobby): "Demofile not found: demos/20100917_005757_Valles_Marineris_v2_0.82.5.sdf" The screen goes blank like spring is loading, and then drops back to the lobby. I can confirm that older versions still work with the latest SpringLobby, so it's probably not the lobby failing when the version doesn't match the server for on-line play. |
dfreeman (reporter) 2010-09-22 07:16 |
>> cmake . -L -- Building Spring for 64bit environment -- Found AI Wrapper: Cpp-AIWrapper -- Found AI Wrapper: CUtils (sources only wrapper) -- Found AI Wrapper: LegacyCpp-AIWrapper -- Found AI Wrapper: LegacyCpp-Creg-AIWrapper -- Found AI Interface: C-AIInterface 0.1 warning: No Java includes found! warning: Java AI Interface will not be built! -- Found Skirmish AI: AAI 0.9 -- Found Skirmish AI: RAI 0.601 -- Found Skirmish AI: KAIK 0.13 -- Found Skirmish AI: NullAI 0.1 warning: NullOOJavaAI Skirmish AI will not be built! -- Found Skirmish AI: CppTestAI 0.1 warning: NullJavaAI Skirmish AI will not be built! -- Could NOT find DocBook (missing: DOCBOOK_XSL) -- MAN pages will not be generated/installed; missing utilit(y|ies): asciidoc docbook-xsl -- Found OpenAL: /usr/lib64/libopenal.so -- Found Freetype: -lfreetype -lz -- Found Freetype: -lfreetype -lz -- Configuring done -- Generating done -- Build files have been written to: /home/dfreeman/spring -- Cache values AI_DATA_DIR:STRING=share/games/spring AI_EXCLUDE_REGEX:STRING=XXXXXXXX AI_FIND_QUIETLY:BOOL=FALSE AI_LIBS_DIR:STRING=share/games/spring AI_TYPES:STRING=ALL APPLICATIONS_DIR:STRING=share/applications BINDIR:STRING=bin CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4 CMAKE_BUILD_TYPE:STRING=RELWITHDEBINFO CMAKE_INSTALL_PREFIX:PATH=/usr/local CUSTOM_COMPILER_DEFINITIONS:STRING= DATADIR:STRING=share/games/spring EXECUTABLE_OUTPUT_PATH:PATH= HEADLESS_SYSTEM:BOOL=FALSE LIBDIR:STRING=lib LIBRARY_OUTPUT_PATH:PATH= MANDIR:STRING=share/man MARCH_FLAG:STRING= MIME_DIR:STRING=share/mime NO_SOUND:BOOL=FALSE OPENAL_INCLUDE_DIR:PATH=/usr/include/AL OPENAL_LIBRARY_RAW:FILEPATH=/usr/lib64/libopenal.so PIXMAPS_DIR:STRING=share/pixmaps SDLMAIN_LIBRARY:FILEPATH=/usr/lib64/libSDLmain.a SDL_INCLUDE_DIR:PATH=/usr/include/SDL SDL_LIBRARY:STRING=/usr/lib64/libSDLmain.a;/usr/lib64/libSDL.so;-lpthread SIGNAL_NANS:BOOL=FALSE SPRING_DATADIR:STRING= STABS_DEBUG_SYMBOLS:BOOL=FALSE SYNCCHECK:BOOL=TRUE SYNCDEBUG:BOOL=FALSE TRACE_SYNC:BOOL=FALSE USE_GML_DEBUG:BOOL=FALSE USE_MMGR:BOOL=FALSE |
dfreeman (reporter) 2010-09-22 07:19 |
That was the configuration that fails, from the 0.82-branch and built in ~/spring. This is the configuration that succeeds: /opt/spring_0.82.5.1> cmake . -L -- Building Spring for 64bit environment -- Found AI Wrapper: Cpp-AIWrapper -- Found AI Wrapper: CUtils (sources only wrapper) -- Found AI Wrapper: LegacyCpp-AIWrapper -- Found AI Wrapper: LegacyCpp-Creg-AIWrapper -- Found AI Interface: C-AIInterface 0.1 warning: No Java includes found! warning: Java AI Interface will not be built! -- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_PATH) warning: Python AI Interface will not be built! -- Found Skirmish AI: AAI 0.9 -- Found Skirmish AI: RAI 0.601 -- Found Skirmish AI: KAIK 0.13 warning: HughAI Skirmish AI will not be built! -- Found Skirmish AI: NullAI 0.1 warning: NullOOJavaAI Skirmish AI will not be built! -- Found Skirmish AI: CppTestAI 0.1 warning: NullJavaAI Skirmish AI will not be built! -- Found Skirmish AI: E323AI 3.22.3 -- Could NOT find DocBook (missing: DOCBOOK_XSL) -- MAN pages will not be generated/installed; missing utilit(y|ies): asciidoc docbook-xsl -- Found OpenAL: /usr/lib64/libopenal.so -- Found Freetype: -lfreetype -lz -- Found Freetype: -lfreetype -lz -- Configuring done -- Generating done -- Build files have been written to: /opt/spring_0.82.5.1 -- Cache values AI_DATA_DIR:STRING=share/games/spring AI_EXCLUDE_REGEX:STRING=XXXXXXXX AI_FIND_QUIETLY:BOOL=FALSE AI_LIBS_DIR:STRING=share/games/spring AI_TYPES:STRING=ALL APPLICATIONS_DIR:STRING=share/applications BINDIR:STRING=bin CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4 CMAKE_BUILD_TYPE:STRING=RELWITHDEBINFO CMAKE_INSTALL_PREFIX:PATH=/usr/local CUSTOM_COMPILER_DEFINITIONS:STRING= DATADIR:STRING=share/games/spring EXECUTABLE_OUTPUT_PATH:PATH= HEADLESS_SYSTEM:BOOL=FALSE LIBDIR:STRING=lib LIBRARY_OUTPUT_PATH:PATH= MANDIR:STRING=share/man MARCH_FLAG:STRING= MIME_DIR:STRING=share/mime NO_SOUND:BOOL=FALSE OPENAL_INCLUDE_DIR:PATH=/usr/include/AL OPENAL_LIBRARY_RAW:FILEPATH=/usr/lib64/libopenal.so PIXMAPS_DIR:STRING=share/pixmaps SDLMAIN_LIBRARY:FILEPATH=/usr/lib64/libSDLmain.a SDL_INCLUDE_DIR:PATH=/usr/include/SDL SDL_LIBRARY:STRING=/usr/lib64/libSDLmain.a;/usr/lib64/libSDL.so;-lpthread SIGNAL_NANS:BOOL=FALSE SPRING_DATADIR:STRING= STABS_DEBUG_SYMBOLS:BOOL=TRUE SYNCCHECK:BOOL=TRUE SYNCDEBUG:BOOL=FALSE TRACE_SYNC:BOOL=FALSE USE_GML_DEBUG:BOOL=FALSE USE_MMGR:BOOL=FALSE |
abma (administrator) 2010-09-22 21:27 |
then can you starte spring from console and copy+paste that output please? ~/spring/spring script.txt should do the trick... |
dfreeman (reporter) 2010-09-23 17:33 |
spring ~/.spring/script.txt using default configuration source "/home/dfreeman/.springrc" [CMyMath::Init] CPU SSE mask: 126, flags: SSE 1.0: 1, SSE 2.0: 1 SSE 3.0: 1, SSSE 3.0: 1 SSE 4.1: 1, SSE 4.2: 0 SSE 4.0A: 0, SSE 5.0A: 0 using streflop SSE FP-math mode, CPU supports SSE instructions OS: Linux OS: 64bit native mode LogOutput initialized. Spring 0.82+.5.1 Build date/time: Sep 24 2010 00:31:35 Available log subsystems: CollisionVolume, unit, ArchiveScanner, VFS-detail, VFS, Sound Enabled log subsystems: Sound Enable or disable log subsystems using the LogSubsystems configuration key or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated). Using read-write data directory: /home/dfreeman/spring/ Using read-only data directory: /home/dfreeman/.spring/ Using read-only data directory: /usr/local/share/games/spring/ Scanning: /usr/local/share/games/spring/base Scanning: /home/dfreeman/.spring/maps Scanning: /home/dfreeman/.spring/mods Scanning: /home/dfreeman/spring/base Supported Video modes: 1280x800, 1280x768, 1280x720, 1024x768, 1024x600, 800x600, 800x480, 720x480, 640x480 Video mode set to 1280x800/32bit SDL: 1.2.13 GL: 3.3.10151 Compatibility Profile Context GL: ATI Technologies Inc. GL: ATI Mobility Radeon HD 3400 Series GLSL: 3.30 GLEW: 1.5.1 ATI hacks enabled Joysticks found: 0 Joystick 0 not found Loading startscript from: /home/dfreeman/.spring/script.txt Connecting to local server AL lib: pulseaudio.c:386: Context did not get ready: Connection refused Sound: OpenAL info: Sound: Vendor: OpenAL Community Sound: Version: 1.1 ALSOFT 1.9.563 Sound: Renderer: OpenAL Soft Sound: AL Extensions: AL_EXTX_buffer_sub_data AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_EXTX_sample_buffer_object AL_EXTX_source_distance_model AL_LOKI_quadriphonic Sound: ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXTX_thread_local_context Sound: ALC_EXT_EFX found (required for air absorption): yes Sound: Device: ALSA Software Sound: Available Devices: Sound: PulseAudio Software Sound: ALSA Software Sound: OSS Software Sound: air absorption enabled: 0.1 Starting GameServer: 66 ms Starting demo recording Using map LLTAComplexV2 Recording demo demos/20100924_013057_LLTAComplexV2_0.82+.5.sdf Using mod Balanced Annihilation V7.19 Using mod archive BA719.sd7 Loading client data: 103 ms User number 0 (team 3, allyteam 0) WARNING: Duplicate AI Interface Info found: for interface: C 0.1 in files: /home/dfreeman/spring/AI/Interfaces/C/data/InterfaceInfo.lua /usr/local/share/games/spring/AI/Interfaces/C/0.1/InterfaceInfo.lua using: /usr/local/share/games/spring/AI/Interfaces/C/0.1/InterfaceInfo.lua WARNING: Duplicate Skirmish AI Info found: for Skirmish AI: AAI 0.9 in files: /home/dfreeman/spring/AI/Skirmish/AAI/data/AIInfo.lua /usr/local/share/games/spring/AI/Skirmish/AAI/0.9/AIInfo.lua using: /usr/local/share/games/spring/AI/Skirmish/AAI/0.9/AIInfo.lua WARNING: Duplicate Skirmish AI Info found: for Skirmish AI: CppTestAI 0.1 in files: /home/dfreeman/spring/AI/Skirmish/CppTestAI/data/AIInfo.lua /usr/local/share/games/spring/AI/Skirmish/CppTestAI/0.1/AIInfo.lua using: /usr/local/share/games/spring/AI/Skirmish/CppTestAI/0.1/AIInfo.lua WARNING: Duplicate Skirmish AI Info found: for Skirmish AI: KAIK 0.13 in files: /home/dfreeman/spring/AI/Skirmish/KAIK/data/AIInfo.lua /usr/local/share/games/spring/AI/Skirmish/KAIK/0.13/AIInfo.lua using: /usr/local/share/games/spring/AI/Skirmish/KAIK/0.13/AIInfo.lua WARNING: Duplicate Skirmish AI Info found: for Skirmish AI: NullAI 0.1 in files: /home/dfreeman/spring/AI/Skirmish/NullAI/data/AIInfo.lua /usr/local/share/games/spring/AI/Skirmish/NullAI/0.1/AIInfo.lua using: /usr/local/share/games/spring/AI/Skirmish/NullAI/0.1/AIInfo.lua WARNING: Duplicate Skirmish AI Info found: for Skirmish AI: RAI 0.601 in files: /home/dfreeman/spring/AI/Skirmish/RAI/data/AIInfo.lua /usr/local/share/games/spring/AI/Skirmish/RAI/0.601/AIInfo.lua using: /usr/local/share/games/spring/AI/Skirmish/RAI/0.601/AIInfo.lua Sound: parsed 25 sounds from gamedata/sounds.lua Loading sounds: 24 ms Camera and mouse: 114 ms Parsing unit icons Loading GameData Definitions Loading all definitions: 0.658000 Loading GameData Definitions: 738 ms Parsing Map Information Loading SMF Loading Map Calculating smooth height mesh Calculating smooth mesh: 92 ms Number of damage types: 40 Creating unit textures Loading weapon definitions Loading unit definitions Loading feature definitions Initializing map features Unknown map feature type pdrock1a Unknown map feature type Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Unknown feature named 'pdrock1a ' Reading estimate path costs [CPathManager] pathing data checksum: 86e207cc Loading .smt tile-file "maps/LLTAComplexV2.smt" Loading 45981 tiles from file 1/1 Reading tiles Reading tile map generating MipMaps: 5 ms Generating 3D trees Creating Projectile Textures Loading console: 2 ms Loading LuaRules Loaded gadget: No Self-D <unit_prevent_share_selfd.lua> Loaded gadget: Air Release <unit_air_release_manager.lua> Loaded gadget: AirPlantParents <unit_air_plants.lua> Loaded gadget: Commando Watch <unit_commando_watch.lua> Loaded gadget: DirectControl <unit_direct_control.lua> Loaded gadget: DragonsDisguise <unit_set_neutral.lua> Loaded gadget: DroppedStartPos <unit_fix_dropped_startpos.lua> Loaded gadget: FinishedBuilding <unit_finished_building.lua> Loaded gadget: Hitsphere Scaledown <unit_hitsphere_scaledown.lua> Loaded gadget: MissileControl <unit_missile_delay.lua> Loaded gadget: Napalm <lups_napalm.lua> Loaded gadget: No Land Damage <unit_no_land_damage.lua> Loaded gadget: No Self Pwn <unit_noselfpwn.lua> Loaded gadget: NoCost <cmd_nocost.lua> Loaded gadget: PassiveBuilders <unit_passive_builders.lua> Loaded gadget: Prevent Lab Hax <unit_prevent_lab_hax.lua> Loaded gadget: Prevent Load Hax <unit_prevent_load_hax.lua> Loaded gadget: Prevent Range Hax <unit_prevent_range_hax.lua> Loaded gadget: Prevent Strange Orders <unit_prevent_strange_orders.lua> Loaded gadget: Reclaim Fix <unit_reclaim_fix.lua> Loaded gadget: ShieldDrain <unit_shield_watch.lua> Loaded gadget: Shockwaves <lups_shockwaves.lua> Loaded gadget: Spawn <init_game_spawn.lua> Loaded gadget: Start Point Remover Gadget <init_start_point_remover_gadget.lua> Loaded gadget: fx_reclaim_shards <fx_reclaim_shards.lua> Loaded gadget: lups_wrapper.lua <lups_wrapper.lua> Loaded gadget: mo_enemywrecks <mo_enemywrecks.lua> Loaded gadget: mo_noshare <mo_noshare.lua> Loaded gadget: prevent_flying_com_wrecks <unit_prevent_flying_com_wrecks.lua> Loaded gadget: Area Attack <areaattack.lua> Loaded gadget: C Is For Control <comiscontrol.lua> Loaded gadget: Team Com Ends <teamcomends.lua> Loaded gadget: LupsSyncedManager <lups_manager.lua> Loaded gadget: Mex Upgrader Gadget <unit_mex_upgrader.lua> Loaded gadget: Air Release <unit_air_release_manager.lua> Loaded gadget: AirPlantParents <unit_air_plants.lua> Loaded gadget: DragonsDisguise <unit_set_neutral.lua> Loaded gadget: DroppedStartPos <unit_fix_dropped_startpos.lua> Loaded gadget: FinishedBuilding <unit_finished_building.lua> Loaded gadget: Hitsphere Scaledown <unit_hitsphere_scaledown.lua> Loaded gadget: MissileControl <unit_missile_delay.lua> Loaded gadget: Napalm <lups_napalm.lua> Loaded gadget: NoCost <cmd_nocost.lua> Loaded gadget: PassiveBuilders <unit_passive_builders.lua> Loaded gadget: Reclaim Fix <unit_reclaim_fix.lua> Loaded gadget: ShieldDrain <unit_shield_watch.lua> Loaded gadget: Shockwaves <lups_shockwaves.lua> Loaded gadget: Start Point Remover Gadget <init_start_point_remover_gadget.lua> Loaded gadget: fx_reclaim_shards <fx_reclaim_shards.lua> Loaded gadget: mo_enemywrecks <mo_enemywrecks.lua> Loaded gadget: mo_greenfields <mo_greenfields.lua> Loaded gadget: mo_noowner <mo_noowner.lua> Loaded gadget: mo_noshare <mo_noshare.lua> Loaded gadget: mo_nowrecks <mo_nowrecks.lua> Loaded gadget: prevent_flying_com_wrecks <unit_prevent_flying_com_wrecks.lua> Loaded gadget: Area Attack <areaattack.lua> Loaded gadget: C Is For Control <comiscontrol.lua> Loaded gadget: LupsSyncedManager <lups_manager.lua> Loaded gadget: Mex Upgrader Gadget <unit_mex_upgrader.lua> Loaded gadget: Lups <lups_wrapper.lua> Loading LuaGaia Loading LuaUI Using LUAUI_DIRNAME = LuaUI/ Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt LuaUI: bound F11 to the widget selector LuaUI: bound CTRL+F11 to tweak mode Hardware is incompatible with Xray shader requirements Failed to load: cmd_no_duplicate_orders.lua (duplicate name) Failed to load: gui_defenserange.lua (duplicate name) Failed to load: gui_point_tracker.lua (duplicate name) Hardware is incompatible with Xray shader requirements Failed to load: unit_ghostsite.lua (duplicate name) Loaded widget from mod: Red_UI_Framework <red_ui_framework.lua> blur api: your hardware does not support shaders Loaded widget from mod: BlurApi <api_gfx_blur.lua> Loaded widget from mod: MexUpg Helper <helper.lua> Loaded widget from mod: Red Tooltip <gui_red_tooltip.lua> Loaded widget from mod: HealthBars <unit_healthbars.lua> Loaded widget from mod: Ally Resource Bars <gui_ally_res.lua> Loaded widget from mod: BuildETA <gui_build_eta.lua> Loaded widget from user: Area Mex <cmd_area_mex.lua> Area Mex: Loaded for *A Calculating mexmap mexmap exported to LuaUI/Widgets/MetalMaps/lltacomplexv2.springmexmap Loaded widget from user: Area Mex no button v2 <cmd_area_mex2.lua> Loaded widget from mod: Auto First Build Facing <autofirstbuildfacing.lua> Loaded widget from user: Auto Skirm <unit_auto_skirm.lua> Loaded widget from user: Auto Swarm <unit_auto_swarm.lua> Loaded widget from mod: Autoquit <autoquit.lua> Loaded widget from mod: Build Split <cmd_buildsplit.lua> Loaded widget from mod: ComCounter <unit_com_counter.lua> Loaded widget from mod: CustomIcons <unit_customicons.lua> Loaded widget from user: DGun Stall Assist <unit_dgun_stall_assist.lua> Loaded widget from user: DCIcon <dbg_dcicon.lua> Loaded widget from mod: Loop Select <unit_loop_select.lua> Loaded widget from mod: MohoExploiter <unit_moho_exploiter.lua> Loaded widget from mod: MoreSounds <unit_more_sounds.lua> Loaded widget from user: NoDuplicateOrders <cmd_no_duplicate_orders.lua> Loaded widget from user: Blast Radius <gui_blastRadius.lua> Loaded widget from mod: Pause Screen <gui_pausescreen.lua> Loaded widget from user: Point Tracker <gui_point_tracker.lua> Loaded widget from mod: ReclaimInfo <gui_reclaiminfo.lua> Loaded widget from mod: Red Build/Order Menu <gui_red_buildordermenu.lua> Loaded widget from mod: Red Console <gui_red_console.lua> Loaded widget from user: Comm Marker <gui_comm_marker.lua> Loaded widget from mod: Red Resource Bars <gui_red_resourcebars.lua> Loaded widget from mod: Red_Drawing <red_ui_framework_drawing.lua> Loaded widget from mod: Share Tracker <unit_share_tracker.lua> Loaded widget from user: Transport AI <unit_transport_ai.lua> Loaded widget from mod: Transporting <gui_transporting.lua> Loaded widget from user: Z Selector <unit_z_selector.lua> Loaded widget from user: SmartNanos <unit_smart_nanos.lua> Loaded widget from user: DT <gui_dt.lua> Loaded widget from user: Defense Range <gui_defenseRange.lua> Loaded widget from mod: GameTypeInfo <gui_game_type_info.lua> Loaded widget from user: Ghost Radar <unit_ghostRadar.lua> Loaded widget from user: Mobile Anti Marker <gui_mobile_anti_marker.lua> Loaded widget from user: Ghost Site <unit_ghostSite.lua> Loaded widget from user: Nuke Button <gui_nukeButton.lua> Loaded widget from mod: Take Reminder <gui_take_remind.lua> Loaded widget from mod: Improved MetalMakers <unit_improved_metal_maker.lua> Loaded widget from mod: Prospector <gui_prospector.lua> Loaded widget from mod: Attack AoE <gui_attack_aoe.lua> Loaded widget from mod: BA Waypoint Dragger <unit_waypoint_dragger_2.lua> Loaded widget from user: Bomber control <unit_bomber_control.lua> Loaded widget from user: CommandInsert <gui_commandinsert.lua> Loaded widget from mod: Select n Center! <gui_center_n_select.lua> Loaded widget from mod: LupsManager <gfx_lups_manager.lua> Loaded widget from mod: BA_AllyCursors <gui_ba_ally_cursors.lua> Loaded widget from user: Mouse Buildspacing <gui_buildspacing.lua> Loaded widget from mod: Lups <lups_wrapper.lua> Loaded widget from mod: CustomFormations2 <unit_customformations2.lua> LuaUI v0.3 Finalizing... Connection attempt from UnnamedPlayer -> Version: 0.82+.5.1 -> Connection established (given id 0) Player UnnamedPlayer finished loading and is now ingame GameID: c3729b4cb260387804557d401cdf4421 UnnamedPlayer added point: Start 3 <SkirmishAI: E323AI 3.22.3 (team 0)>: Logging disabled SkirmishAI (with team ID = 1) is using cheats! <SkirmishAI: KAIK 0.13 (team 1)>: KAI Metal Class by Krogothe <SkirmishAI: KAIK 0.13 (team 1)>: KAIK 0.13 Unofficial (built Sep 24 2010) initialized successfully! <SkirmishAI: KAIK 0.13 (team 1)>: logging events to /home/dfreeman/spring/AI/Skirmish/KAIK/0.13/logs/LLTAComplexV2-a299dd2c_Balanced_Annihilation_V7.19-8cc8bec1_9-24-2010_131_team1.txt <SkirmishAI: KAIK 0.13 (team 1)>: (developed by Krogothe, Tournesol, Firenu; now maintained by Kloot) SkirmishAI (with team ID = 0) is using cheats! Skirmish AI "Bot1" took over control of team 0 Skirmish AI "Bot2" took over control of team 1 Skirmish AI "Bot3" took over control of team 2 User exited Red_UI_Framework>> last processed widget was "Red Tooltip" Red_Drawing>> last processed widget was "Red Tooltip" ReusableObjectFactory<6CGroup>::Shutdown Releasing 1 objects, 224 bytes ReusableObjectFactory<5CUnit>::Shutdown Releasing 1 objects, 96 bytes Path cache hits 0 0% Path cache hits 0 0% Statistics for local connection: Received: 1486 bytes Sent: 1441 bytes AL lib: ALc.c:1650: alcCloseDevice(): deleting 251 Buffer(s) |
dfreeman (reporter) 2010-09-23 17:36 |
Running the above actually did play the demo. These lines are interesting: Using read-write data directory: /home/dfreeman/spring/ Using read-only data directory: /home/dfreeman/.spring/ Using read-only data directory: /usr/local/share/games/spring/ That's certainly not what I wanted! ~/spring is the SOURCE/BUILD directory. It should always be using ~/.spring as the read-write data directory. Is this due to a change in the source, or is it possibly because I'm installing with symlinks? (For a description of what and why, see bug 2109.) |
dfreeman (reporter) 2010-09-23 17:49 |
I just tried without symlinks, and it didn't fix the problem. It seems to me that the problem is the presence of ~/spring, which is what you get from a git clone when your current directory is ~/ . I don't think spring should be using ~/spring at all. |
abma (administrator) 2010-09-23 18:55 Last edited: 2010-09-23 19:07 |
if spring detects ~/spring as r/w directory, all data goes there, also infolog.txt and the demos. the demos should be then in ~/spring/demos Here it is, how spring detects the data-dirs: http://github.com/spring/spring/blob/master/rts/System/FileSystem/DataDirLocater.cpp#L170 i'm unsure why /home/dfreeman/spring/ is used as data-directory at all... how do you start it? it should be only detected as data dir, if you start it from there... edit: the current path is used because of the portable version of spring |
hoijui (reporter) 2010-09-23 19:31 |
dfreeman... how should i say... you are doing lots of custom/special stuff, and the data-dir evaluation mechanism is quite complex, but works quite well for the intended way of compiling/installing/running spring. due to the complexity, it is practically impossible though to make it work well with all possible ways of compiling and specifying the data-dir. it kind of makes little sense (for us) to evaluate all the details of what you do (cmake settings, sym-links, manually linked stuff, ...) and try to find out what your problem is. i forgot.. are you on slackware or an old debian or something? all the problems you have.. it heavily smells like something is non-standard/strange on your system, as nobody else seems to have the problems you have. short: we have to get to a simpler level somehow. |
dfreeman (reporter) 2010-09-24 14:55 |
abma: I start Spring through SpringLobby. It has worked fine with the source releases up to 0.82.5.1, but not with a git checkout in ~/spring. Yes, I found the demos recorded into ~/spring, which is not where the lobby is looking. (Unitsync called by the lobby is looking in ~/.spring) hoijui: I am on OpenSUSE 11.2 with nothing unusual. The reason I was using symlinks, if you read bug 2109, is because the installer is broken in the 0.82 branch, and as I don't understand cmake, I tried "fixing" it for myself. This is also the case for 0.82.5[.1], but it does work. (It may be that the path in /opt makes a difference.) I wouldn't have to do anything unusual if the fix for this bug were applied to the 0.82 branch. I would think that having people evaluate the branch prior to a release would improve code quality, but it seems to be getting us nowhere at the moment. I'm sorry, but I'm not familiar with the codebase or with git, so I can't just apply this patch myself. I'm fairly helpless, I can just compile and report. If nobody else is having problems, how do you know that people are compiling themselves? The broken installer wouldn't be an issue if using packages. |
abma (administrator) 2010-09-24 15:13 |
what is set as executable + unitsync in springlobby? (edit->preferences->spring) |
hoijui (reporter) 2010-09-25 12:15 |
of course people have problems, but not this problem, or any others related to wrong data-dirs under linux with this version. you trying to fix stuff = something unusual ;-) to get the CMake change, if you have 0.82.5.1 checked out, do: git fetch git cherry-pick 4d36af91240c39b6bf50caf3909648ef69d5e6dd you can see how it looks now with: gitk |
dfreeman (reporter) 2010-09-26 07:12 |
abma: /usr/local/bin/spring-multithreaded and /usr/local/lib/libunitsync.so (these are ordinary files, not links) hoijui: LOL and thanks for the git tips. I note that now the default is STABS_DEBUG_SYMBOLS=TRUE. So.. why not apply this to the branch? Are there no more maintenance releases anticipated for the 0.82 series? |
hoijui (reporter) 2010-09-26 13:12 |
master has STABS_DEBUG_SYMBOLS=FALSE as default, see /CMakeLists.txt maintenance releases anticipated: maybe the release branch is just for devs, actually it is even just for the one dev making the releases (for everything added since a release, that is). as you see, it is pretty easy to apply individual commits, which should be done by users if they need it, as different users would need different commits. can we close this now? |
dfreeman (reporter) 2010-09-26 16:31 |
I hope there will be a maintenance release to fix the build system, if not other things :) As for the failure to record demos, I'm not sure. I'm not satisfied that I understand why practically identical source trees result in one version not using the proper r/w directory, and the others working. |
abma (administrator) 2010-11-27 23:04 |
as demo was recorded... no fix is required |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-09-20 02:52 | dfreeman | New Issue | |
2010-09-20 20:12 | abma | Note Added: 0005590 | |
2010-09-21 06:17 | dfreeman | Note Added: 0005604 | |
2010-09-22 07:13 | dfreeman | Note Added: 0005613 | |
2010-09-22 07:16 | dfreeman | Note Added: 0005614 | |
2010-09-22 07:19 | dfreeman | Note Added: 0005615 | |
2010-09-22 21:27 | abma | Note Added: 0005623 | |
2010-09-23 17:33 | dfreeman | Note Added: 0005635 | |
2010-09-23 17:36 | dfreeman | Note Added: 0005636 | |
2010-09-23 17:49 | dfreeman | Note Added: 0005637 | |
2010-09-23 18:55 | abma | Note Added: 0005639 | |
2010-09-23 19:07 | abma | Note Edited: 0005639 | |
2010-09-23 19:31 | hoijui | Note Added: 0005641 | |
2010-09-24 14:55 | dfreeman | Note Added: 0005643 | |
2010-09-24 15:13 | abma | Note Added: 0005644 | |
2010-09-25 12:15 | hoijui | Note Added: 0005647 | |
2010-09-26 07:12 | dfreeman | Note Added: 0005655 | |
2010-09-26 13:12 | hoijui | Note Added: 0005658 | |
2010-09-26 16:31 | dfreeman | Note Added: 0005661 | |
2010-11-27 23:04 | abma | Note Added: 0005983 | |
2010-11-27 23:04 | abma | Status | new => resolved |
2010-11-27 23:04 | abma | Resolution | open => no change required |
2010-11-27 23:04 | abma | Assigned To | => abma |