-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area: assetsInvolved with assets (images, sounds, ...)Involved with assets (images, sounds, ...)bugBehaving differently as it should behaveBehaving differently as it should behavelang: c++Done in C++ codeDone in C++ codeos: macosmacOS-specific issuemacOS-specific issue
Description
[EDIT] actually this may not be a new problem. apparently #756 is designed to fix this. I didn't realise that that wasn't yet in master.
I attempted to run on Mac OS Sierra 10.12.5 Beta (16F43c), on commit 5470940, branch master.
Encountered:
2017-04-08 01:05:55.319 run[17053:128906] -[SDLView setQCocoaGLContext:]: unrecognized selector sent to instance 0x7f86edfbb1e0
Program could not be terminated gracefully; just printed larger and larger stack traces until I force quit it.
Compilation [0] was fine.
Problems were encountered [1] upon launch.
[0] compilation
➜ openage git:(master) ✗ make run
[ 1%] Automatic moc for target libopenage
[ 1%] compiling .py files to .pyc files
[1/2] Compiling /Users/anon/git/openage/openage/convert/driver.py to /Users/anon/git/openage/openage/convert/__pycache__/driver.cpython-36.pyc
[2/2] Compiling /Users/anon/git/openage/openage/convert/hdlanguagefile.py to /Users/anon/git/openage/openage/convert/__pycache__/hdlanguagefile.cpython-36.pyc
./run game
INFO [py] launching openage v0.3.0-844-g7e65549a
INFO [py] compiled by AppleClang 8.0.0.8000042
INFO [py] running in DEVMODE
INFO [py] Found converted assets with version 4, but need version 6
INFO [py] Converting metadata
INFO [py] Will save to 'b'/Users/anon/git/openage/assets''
Should we call wine to determine an AOE installation? [Y/n]
> n
Could not find any installation directory automatically.
Please enter an AOE2 install path manually.
> /Users/anon/Documents/age2hd/asset_dir/
converting from '/Users/anon/Documents/age2hd/asset_dir'
INFO [py] Game version(s) detected:
INFO [py] * Age of Empires 2: HD + African Kingdoms (Version 4.7+)
INFO [py] * Age of Empires 2: HD + Forgotten Empires (Version 4.0+)
INFO [py] converting metadata
INFO [py] [0] palette
INFO [py] [1] empires.dat
INFO [py] [2] blendomatic.dat
INFO [py] [3] player color palette
INFO [py] [4] terminal color palette
INFO [py] [5] string resources
INFO [py] [6] game specification files
INFO [py] converting media
INFO [py] [ 7/219] interface/50001.bina
INFO [py] [ 8/219] interface/50002.bina
INFO [py] [ 9/219] interface/50003.bina
INFO [py] [ 10/219] interface/50004.bina
INFO [py] [ 11/219] interface/50005.bina
INFO [py] [ 12/219] interface/50007.bina
INFO [py] [ 13/219] interface/50010.bina
INFO [py] [ 14/219] interface/50011.bina
INFO [py] [ 15/219] interface/50012.bina
INFO [py] [ 16/219] interface/50013.bina
INFO [py] [ 17/219] interface/50014.bina
INFO [py] [ 18/219] interface/50015.bina
INFO [py] [ 19/219] interface/50016.bina
INFO [py] [ 20/219] interface/50017.bina
INFO [py] [ 21/219] interface/50018.bina
INFO [py] [ 22/219] interface/50019.bina
INFO [py] [ 23/219] interface/50020.bina
INFO [py] [ 24/219] interface/50021.bina
INFO [py] [ 25/219] interface/50051.bina
INFO [py] [ 26/219] interface/50052.bina
INFO [py] [ 27/219] interface/50053.bina
INFO [py] [ 28/219] interface/50054.bina
INFO [py] [ 29/219] interface/50055.bina
INFO [py] [ 30/219] interface/50056.bina
INFO [py] [ 31/219] interface/50057.bina
INFO [py] [ 32/219] interface/50058.bina
INFO [py] [ 33/219] interface/50059.bina
INFO [py] [ 34/219] interface/50060.bina
INFO [py] [ 35/219] interface/50061.bina
INFO [py] [ 36/219] interface/50062.bina
INFO [py] [ 37/219] interface/50063.bina
INFO [py] [ 38/219] interface/50080.bina
INFO [py] [ 39/219] interface/50081.bina
INFO [py] [ 40/219] interface/50083.bina
INFO [py] [ 41/219] interface/50084.bina
INFO [py] [ 42/219] interface/50085.bina
INFO [py] [ 43/219] interface/50086.bina
INFO [py] [ 44/219] interface/50087.bina
INFO [py] [ 45/219] interface/50088.bina
INFO [py] [ 46/219] interface/50089.bina
INFO [py] [ 47/219] interface/50090.bina
INFO [py] [ 48/219] interface/50243.bina
INFO [py] [ 49/219] interface/50244.bina
INFO [py] [ 50/219] interface/50245.bina
INFO [py] [ 51/219] interface/50246.bina
INFO [py] [ 52/219] interface/50250.bina
INFO [py] [ 53/219] interface/50251.bina
INFO [py] [ 54/219] interface/50252.bina
INFO [py] [ 55/219] interface/50253.bina
INFO [py] [ 56/219] interface/50254.bina
INFO [py] [ 57/219] interface/50258.bina
INFO [py] [ 58/219] interface/50267.bina
INFO [py] [ 59/219] interface/50268.bina
INFO [py] [ 60/219] interface/50344.bina
INFO [py] [ 61/219] interface/50345.bina
INFO [py] [ 62/219] interface/50346.bina
INFO [py] [ 63/219] interface/50347.bina
INFO [py] [ 64/219] interface/50348.bina
INFO [py] [ 65/219] interface/50349.bina
INFO [py] [ 66/219] interface/50350.bina
INFO [py] [ 67/219] interface/50351.bina
INFO [py] [ 68/219] interface/50352.bina
INFO [py] [ 69/219] interface/50401.bina
INFO [py] [ 70/219] interface/50402.bina
INFO [py] [ 71/219] interface/50408.bina
INFO [py] [ 72/219] interface/50409.bina
INFO [py] [ 73/219] interface/50411.bina
INFO [py] [ 74/219] interface/50500.bina
INFO [py] [ 75/219] interface/50501.bina
INFO [py] [ 76/219] interface/50502.bina
INFO [py] [ 77/219] interface/50503.bina
INFO [py] [ 78/219] interface/50504.bina
INFO [py] [ 79/219] interface/50505.bina
INFO [py] [ 80/219] interface/50506.bina
INFO [py] [ 81/219] interface/50507.bina
INFO [py] [ 82/219] interface/50508.bina
INFO [py] [ 83/219] interface/50509.bina
INFO [py] [ 84/219] interface/50519.bina
INFO [py] [ 85/219] interface/50520.bina
INFO [py] [ 86/219] interface/50521.bina
INFO [py] [ 87/219] interface/50530.bina
INFO [py] [ 88/219] interface/50531.bina
INFO [py] [ 89/219] interface/50532.bina
INFO [py] [ 90/219] interface/50533.bina
INFO [py] [ 91/219] interface/50534.bina
INFO [py] [ 92/219] interface/50563.bina
INFO [py] [ 93/219] interface/50588.bina
INFO [py] [ 94/219] interface/50589.bina
INFO [py] [ 95/219] interface/50900.bina
INFO [py] [ 96/219] interface/50901.bina
INFO [py] [ 97/219] interface/50902.bina
INFO [py] [ 98/219] interface/50903.bina
INFO [py] [ 99/219] interface/50904.bina
INFO [py] [100/219] interface/50905.bina
INFO [py] [101/219] interface/50906.bina
INFO [py] [102/219] interface/50907.bina
INFO [py] [103/219] interface/50908.bina
INFO [py] [104/219] interface/50909.bina
INFO [py] [105/219] interface/50910.bina
INFO [py] [106/219] interface/50911.bina
INFO [py] [107/219] interface/53015.bina
INFO [py] [108/219] interface/53016.bina
INFO [py] [109/219] interface/53020.bina
INFO [py] [110/219] interface/53021.bina
INFO [py] [111/219] interface/53022.bina
INFO [py] [112/219] interface/53023.bina
INFO [py] [113/219] interface/53024.bina
INFO [py] [114/219] interface/53030.bina
INFO [py] [115/219] interface/53031.bina
INFO [py] [116/219] interface/53032.bina
INFO [py] [117/219] interface/53033.bina
INFO [py] [118/219] interface/53034.bina
INFO [py] [119/219] interface/53035.bina
INFO [py] [120/219] interface/53036.bina
INFO [py] [121/219] interface/53037.bina
INFO [py] [122/219] interface/53111.bina
INFO [py] [123/219] interface/53112.bina
INFO [py] [124/219] interface/53113.bina
INFO [py] [125/219] interface/53114.bina
INFO [py] [126/219] interface/53121.bina
INFO [py] [127/219] interface/53122.bina
INFO [py] [128/219] interface/53123.bina
INFO [py] [129/219] interface/53124.bina
INFO [py] [130/219] interface/53141.bina
INFO [py] [131/219] interface/53142.bina
INFO [py] [132/219] interface/53143.bina
INFO [py] [133/219] interface/53144.bina
INFO [py] [134/219] interface/53151.bina
INFO [py] [135/219] interface/53152.bina
INFO [py] [136/219] interface/53153.bina
INFO [py] [137/219] interface/53154.bina
INFO [py] [138/219] interface/53205.bina
INFO [py] [139/219] interface/53212.bina
INFO [py] [140/219] interface/53213.bina
INFO [py] [141/219] gamedata/ai petersen rules.per
INFO [py] [142/219] gamedata/arabia.rms
INFO [py] [143/219] gamedata/archipelago.rms
INFO [py] [144/219] gamedata/arena.rms
INFO [py] [145/219] gamedata/baltic.rms
INFO [py] [146/219] gamedata/black_forest.rms
INFO [py] [147/219] gamedata/blind_random.rms
INFO [py] [148/219] gamedata/coastal.rms
INFO [py] [149/219] gamedata/continental.rms
INFO [py] [150/219] gamedata/crater_lake.rms
INFO [py] [151/219] gamedata/fortress.rms
INFO [py] [152/219] gamedata/ghost_lake.rms
INFO [py] [153/219] gamedata/gold_rush.rms
INFO [py] [154/219] gamedata/highland.rms
INFO [py] [155/219] gamedata/islands.rms
INFO [py] [156/219] gamedata/land_and_water_resources.inc
INFO [py] [157/219] gamedata/land_resources.inc
INFO [py] [158/219] gamedata/mediterranean.rms
INFO [py] [159/219] gamedata/migration.rms
INFO [py] [160/219] gamedata/mongolia.rms
INFO [py] [161/219] gamedata/nomad.rms
INFO [py] [162/219] gamedata/oasis.rms
INFO [py] [163/219] gamedata/petersen castle.per
INFO [py] [164/219] gamedata/petersen civ loads.per
INFO [py] [165/219] gamedata/petersen constants.per
INFO [py] [166/219] gamedata/petersen deathmatch.per
INFO [py] [167/219] gamedata/petersen difficulty loads.per
INFO [py] [168/219] gamedata/petersen dip boomer.per
INFO [py] [169/219] gamedata/petersen dip bully.per
INFO [py] [170/219] gamedata/petersen dip feeder.per
INFO [py] [171/219] gamedata/petersen dip insult.per
INFO [py] [172/219] gamedata/petersen dip liar.per
INFO [py] [173/219] gamedata/petersen diplomacy.per
INFO [py] [174/219] gamedata/petersen fishboat.per
INFO [py] [175/219] gamedata/petersen full tech.per
INFO [py] [176/219] gamedata/petersen gather.per
INFO [py] [177/219] gamedata/petersen groups.per
INFO [py] [178/219] gamedata/petersen map loads.per
INFO [py] [179/219] gamedata/petersen market.per
INFO [py] [180/219] gamedata/petersen resign.per
INFO [py] [181/219] gamedata/petersen rush.per
INFO [py] [182/219] gamedata/petersen supplement.per
INFO [py] [183/219] gamedata/petersen tower.per
INFO [py] [184/219] gamedata/petersen upgrades.per
INFO [py] [185/219] gamedata/petersen warboat island.per
INFO [py] [186/219] gamedata/petersen warboat.per
INFO [py] [187/219] gamedata/petersen wonder.per
INFO [py] [188/219] gamedata/promisory.per
INFO [py] [189/219] gamedata/random_map.def
INFO [py] [190/219] gamedata/randomgame.per
INFO [py] [191/219] gamedata/real_world_britain.rms
INFO [py] [192/219] gamedata/real_world_britain.scx
INFO [py] [193/219] gamedata/real_world_byzantium.rms
INFO [py] [194/219] gamedata/real_world_byzantium.scx
INFO [py] [195/219] gamedata/real_world_caribbean.rms
INFO [py] [196/219] gamedata/real_world_caribbean.scx
INFO [py] [197/219] gamedata/real_world_france.rms
INFO [py] [198/219] gamedata/real_world_france.scx
INFO [py] [199/219] gamedata/real_world_italy.rms
INFO [py] [200/219] gamedata/real_world_italy.scx
INFO [py] [201/219] gamedata/real_world_jutland.rms
INFO [py] [202/219] gamedata/real_world_jutland.scx
INFO [py] [203/219] gamedata/real_world_mideast.rms
INFO [py] [204/219] gamedata/real_world_mideast.scx
INFO [py] [205/219] gamedata/real_world_nippon.rms
INFO [py] [206/219] gamedata/real_world_nippon.scx
INFO [py] [207/219] gamedata/real_world_spain.rms
INFO [py] [208/219] gamedata/real_world_spain.scx
INFO [py] [209/219] gamedata/real_world_texas.rms
INFO [py] [210/219] gamedata/real_world_texas.scx
INFO [py] [211/219] gamedata/rivers.rms
INFO [py] [212/219] gamedata/salt_marsh.rms
INFO [py] [213/219] gamedata/scandanavia.rms
INFO [py] [214/219] gamedata/std_resources.inc
INFO [py] [215/219] gamedata/team_islands.rms
INFO [py] [216/219] gamedata/wonder kill.per
INFO [py] [217/219] gamedata/wonder rush.per
INFO [py] [218/219] gamedata/yucatan.rms
INFO [py] asset conversion complete; asset version: 6
[1] game launch
INFO launching engine with Path(Union(Directory(/Users/anon/git/openage/cfg).root @ (b'cfg',), Directory(/Users/anon/git/openage/assets).root @ (b'assets',)):) and fps limit 0
INFO SDL audio subsystems initialized
INFO Using audio device: default [freq=48000, format=32784, channels=2, samples=4096]
INFO Initialized SDL video subsystems.
INFO Compiled with Qt 5.8.0 and run with Qt 5.8.0
2017-04-08 01:05:55.319 run[17053:128906] -[SDLView setQCocoaGLContext:]: unrecognized selector sent to instance 0x7f86edfbb1e0
FATAL: terminate has been called
uncaught exception
non-standard exception object
current stack:
Traceback (most recent call last):
File ?, in start+0x1 [0x7fff9c56b235]
File ?, in main+0x544 [0x1098216a4]
File ?, in PyInit_run+0x1039 [0x109821099]
File ?, in __Pyx_PyObject_Call(_object*, _object*, _object*)+0x5f [0x10982190f]
File ?, in function_call+0x171 [0x109852dbc]
File ?, in PyEval_EvalCodeEx+0x64 [0x1098c911a]
File ?, in _PyEval_EvalCodeWithName+0x776 [0x1098d2e86]
File ?, in _PyEval_EvalFrameDefault+0x68eb [0x1098cfa44]
File ?, in call_function+0x20c [0x1098d2683]
File ?, in _PyFunction_FastCall+0x79 [0x1098d37f8]
File ?, in _PyEval_EvalFrameDefault+0x68eb [0x1098cfa44]
File ?, in call_function+0x232 [0x1098d26a9]
File ?, in _PyCFunction_FastCallDict+0x1cd [0x10986b1a3]
File ?, in __pyx_pw_7openage_7openage_4game_8main_cpp_1run_game(_object*, _object*, _object*)+0x152d [0x10d2fabfd]
File ?, in openage::pyinterface::translate_exc_cpp_to_py()+0x10 [0x109d88e60]
File ?, in __cxa_rethrow+0x63 [0x7fff9b1779f2]
File ?, in std::__terminate(void (*)())+0x8 [0x7fff9b177d69]
handing over to the system...
FATAL: terminate has been called
uncaught exception
non-standard exception object
current stack:
Traceback (most recent call last):
File ?, in start+0x1 [0x7fff9c56b235]
File ?, in main+0x544 [0x1098216a4]
File ?, in PyInit_run+0x1039 [0x109821099]
File ?, in __Pyx_PyObject_Call(_object*, _object*, _object*)+0x5f [0x10982190f]
File ?, in function_call+0x171 [0x109852dbc]
File ?, in PyEval_EvalCodeEx+0x64 [0x1098c911a]
File ?, in _PyEval_EvalCodeWithName+0x776 [0x1098d2e86]
File ?, in _PyEval_EvalFrameDefault+0x68eb [0x1098cfa44]
File ?, in call_function+0x20c [0x1098d2683]
File ?, in _PyFunction_FastCall+0x79 [0x1098d37f8]
File ?, in _PyEval_EvalFrameDefault+0x68eb [0x1098cfa44]
File ?, in call_function+0x232 [0x1098d26a9]
File ?, in _PyCFunction_FastCallDict+0x1cd [0x10986b1a3]
File ?, in __pyx_pw_7openage_7openage_4game_8main_cpp_1run_game(_object*, _object*, _object*)+0x152d [0x10d2fabfd]
File ?, in openage::pyinterface::translate_exc_cpp_to_py()+0x10 [0x109d88e60]
File ?, in __cxa_rethrow+0x63 [0x7fff9b1779f2]
File ?, in std::__terminate(void (*)())+0x8 [0x7fff9b177d69]
File ?, in std::terminate()+0x33 [0x7fff9b177de3]
File ?, in std::__terminate(void (*)())+0x8 [0x7fff9b177d69]
handing over to the system...
FATAL: terminate has been called
I had some (unrelated) local changes that I needed to make in order to help it find the string resources in my assets folder. it was looking in resources/resources/…, so I had to remove the dupe. here's my local changes in case anybody cares:
@@ -21,13 +21,18 @@ def read_age2_hd_fe_stringresources(stringres, path):
count = 0
# multiple string files in the program source dir
for lang in path.list():
try:
if lang == b'_common':
continue
+ if lang == b'_packages':
+ continue
+ if lang.lower() == b'.ds_store'.lower():
+ continue
- langfilename = ["resources", lang.decode(),
+ langfilename = [lang.decode(),
"strings", "key-value",
"key-value-strings-utf8.txt"]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: assetsInvolved with assets (images, sounds, ...)Involved with assets (images, sounds, ...)bugBehaving differently as it should behaveBehaving differently as it should behavelang: c++Done in C++ codeDone in C++ codeos: macosmacOS-specific issuemacOS-specific issue