SphereCommunity
Can't open input dir [sphere.ini] - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Can't open input dir [sphere.ini] (/Thread-Can-t-open-input-dir-sphere-ini)



Can't open input dir [sphere.ini] - Ultima One - 05-24-2016 01:45 AM

ERROR:Can't open input dir [sphere.ini]
ERROR:Can't get stats info for file 'sphere.ini'
...
ERROR:Can't open input dir [sphereCrypt.ini]
ERROR:Can't get stats info for file 'sphereCrypt.ini'


Getting these errors, no idea why, server starts but throws a lot of missing i_bag

no custom scripts, just the clean ones from pre-releases.


RE: Can't open input dir [sphere.ini] - Coruja - 05-24-2016 08:21 AM

check if your SphereSvr.exe / sphere.ini / sphereCrypt.ini are on the same folder, and also if this folder doesn't have any type of password or locked flags/privileges (eg: read/write flags or only accessible to some win/linux users, etc)


RE: Can't open input dir [sphere.ini] - Criminal - 05-24-2016 03:54 PM

also cehck for mayus if you are using linux


RE: Can't open input dir [sphere.ini] - Ultima One - 05-24-2016 06:21 PM

I am using Linux, permissions and everything are all fine.

As you can see, it is reading the sphere.ini fine, else it wouldn't start the server. I also get LOTS of missing defs.

some examples:

Code:
ERROR:(sphere_spells.scp,49)Undefined symbol 'i_reag_blood_moss' ['i_reag_blood_moss,i_reag_nightshade']
ERROR:(sphere_spells.scp,49)Bad resource list id 'i_reag_blood_moss,i_reag_nightshade'
ERROR:(sphere_spells.scp,50)Undefined symbol 'i_rune_clumsy' ['i_rune_clumsy']
ERROR:(sphere_spells.scp,51)Undefined symbol 'i_scroll_clumsy' ['i_scroll_clumsy']

...


ERROR:(sphere_map_points2.scp,423)Unsupported map #2 specified. Auto-fixing that to 0.
ERROR:(sphere_map_points2.scp,424)Unsupported map #2 specified. Auto-fixing that to 0.

...


ERROR:(sphere_template_loot.scp,188)Undefined symbol 'i_basin' ['i_basin 1 i_basket_square 1 i_basket_square_small 1 i_basket_round_small 1 i_basket_round_tall 1 i_basket_square_deep 1 i_basket_square_tall 1 i_basket_round_flat 1 }']
ERROR:(sphere_template_loot.scp,188)Undefined symbol 'i_basket_square' ['i_basket_square 1 i_basket_square_small 1 i_basket_round_small 1 i_basket_round_tall 1 i_basket_square_deep 1 i_basket_square_tall 1 i_basket_round_flat 1 }']
ERROR:(sphere_template_loot.scp,188)Undefined symbol 'i_basket_square_small' ['i_basket_square_small 1 i_basket_round_small 1 i_basket_round_tall 1 i_basket_square_deep 1 i_basket_square_tall 1 i_basket_round_flat 1 }']

...


ERROR:(sphere_template_loot.scp,219)Undefined symbol 'i_basket_2' ['i_basket_2 1 i_basin 1 i_basket_square 1 i_basket_square_small 1 i_basket_round_small 1 i_basket_round_tall 1 i_basket_square_deep 1 i_basket_square_tall 1 i_basket_round_flat 1 }']
ERROR:(sphere_template_loot.scp,219)Undefined symbol 'i_basin' ['i_basin 1 i_basket_square 1 i_basket_square_small 1 i_basket_round_small 1 i_basket_round_tall 1 i_basket_square_deep 1 i_basket_square_tall 1 i_basket_round_flat 1 }']

Like I say, I litrelly took the Script pack from the pre-release page and the latest Linux version.


RE: Can't open input dir [sphere.ini] - karma - 05-25-2016 02:47 AM

Can you try with an older build? Maybe it's happening after some changes were done on the source


RE: Can't open input dir [sphere.ini] - Ultima One - 05-25-2016 08:46 PM

Well I started again making sure permissions were all correct and it seems to not like opening any file, yet permissions are fine 100% owned by the same user executing sphere, access permissions as per the wiki Linux guide and all.

Never had this issue before, I dont have any old versions to test with

Code:
ERROR:Can't open input dir [scripts/sphere_admin.scp]
ERROR:Can't get stats info for file 'scripts/sphere_admin.scp'
Loading scripts/sphere_admin.scp
ERROR:Can't open input dir [scripts/sphere_backward_compatibility.scp]
ERROR:Can't get stats info for file 'scripts/sphere_backward_compatibility.scp'
Loading scripts/sphere_backward_compatibility.scp
ERROR:Can't open input dir [scripts/sphere_book.scp]
ERROR:Can't get stats info for file 'scripts/sphere_book.scp'
Loading scripts/sphere_book.scp
ERROR:Can't open input dir [scripts/sphere_defs.scp]
ERROR:Can't get stats info for file 'scripts/sphere_defs.scp'

My user can edit all of those files in vi and save to them no problem.

Anyone else tested this pre-release on centos7 at all?

Ok, so just checked the files

this error: ERROR:(sphere_template_loot.scp,583)Undefined symbol 'i_chest_gothic' ['i_chest_gothic 1 }']

The term 'i_chest_gothic' isnt even IN that file, ANYWHERE.

what??


RE: Can't open input dir [sphere.ini] - Ultima One - 05-26-2016 08:24 PM

Any ideas anyone? Or anyone got an older build than the pre-release (cant see any myself)


RE: Can't open input dir [sphere.ini] - Ultima One - 05-28-2016 01:02 AM

spheretables.scp uses / for a folder. However linux needs a \

didnt help Sad


RE: Can't open input dir [sphere.ini] - Kanibal - 06-13-2016 02:37 AM

(05-28-2016 01:02 AM)Ultima One Wrote:  However linux needs a \
Woot

Maybe ./ ?