我陷入了这个错误AttributeError: 'NoneType' object has no attribute 'startswith'
when try "apportable load" Who can help me? Here is detail log in terminal:
raceback (most recent call last): File "/Users/ducnm/.apportable/SDK/bin/apportable", line 845, in <module> run(env) File "/Users/ducnm/.apportable/SDK/bin/apportable", line 781, in run results = actions[args.action](env) File "/Users/ducnm/.apportable/SDK/bin/apportable", line 86, in LoadAction return env.LoadApp(site_init.BuildApplication(env, env['BUILD_TARGET'])) File "/Users/ducnm/.apportable/SDK/site_scons/site_init.py", line 390, in BuildApplication return build.App(env, app_sconscript) File "/Users/ducnm/.apportable/SDK/site_scons/build/__init__.py", line 556, in App results = env.BuildApp(sources=sources, header_paths=headers, defines=defines, flags=flags, config=configs, deps=deps, libs=libs, java_libs=java_libs, assets=assets, pch=pchs, modules=modules, java_sources=java_sources, java_sourcepaths=java_sourcepaths, java_res_dirs=java_res_dirs) File "/Users/ducnm/.apportable/SDK/lib/scons/engine/SCons/Environment.py", line 223, in __call__ return self.method(*nargs, **kwargs) File "/Users/ducnm/.apportable/SDK/site_scons/site_init.py", line 1204, in BuildApp build.Module(env, module["build_cwd"], module) File "/Users/ducnm/.apportable/SDK/site_scons/build/__init__.py", line 577, in Module target_file_name_base = os.path.abspath(os.path.join(target["project"] + ".approj", "targets", target["target"], target["project_config"])) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 66, in join if b.startswith('/'): AttributeError: 'NoneType' object has no attribute 'startswith'
发布于 2014-03-05 17:38:32
AttributeError: 'NoneType' object通常向链接器表示缺少的符号。在日志中找出丢失的符号。
背景:apportable load进行并行构建,在发生致命错误后会导致更多的日志记录。可以使用选项-j1禁用并行构建。
https://stackoverflow.com/questions/22186967
复制相似问题