purushottamkar / macer Goto Github PK
View Code? Open in Web Editor NEWMACER: A Modular Framework for Accelerated Compilation Error Repair
License: MIT License
MACER: A Modular Framework for Accelerated Compilation Error Repair
License: MIT License
Command: python3 -m srcT.DataStruct.ClusterError
Error:
Traceback (most recent call last):
File "/home/tyler/anaconda3/envs/macer36/lib/python3.6/site-packages/clang/cindex.py", line 3925, in register_function
func = getattr(lib, item[0])
File "/home/tyler/anaconda3/envs/macer36/lib/python3.6/ctypes/init.py", line 361, in getattr
func = self.getitem(name)
File "/home/tyler/anaconda3/envs/macer36/lib/python3.6/ctypes/init.py", line 366, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/x86_64-linux-gnu/libclang.so: undefined symbol: clang_CXXConstructor_isConvertingConstructor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tyler/anaconda3/envs/macer36/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/tyler/anaconda3/envs/macer36/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/tyler/macer/srcT/DataStruct/ClusterError.py", line 4, in
from srcT.DataStruct.Code import Code
File "/home/tyler/macer/srcT/DataStruct/Code.py", line 15, in
class Code:
File "/home/tyler/macer/srcT/DataStruct/Code.py", line 17, in Code
index = clang.cindex.Index.create()
File "/home/tyler/anaconda3/envs/macer36/lib/python3.6/site-packages/clang/cindex.py", line 2577, in create
return Index(conf.lib.clang_createIndex(excludeDecls, 0))
File "/home/tyler/anaconda3/envs/macer36/lib/python3.6/site-packages/clang/cindex.py", line 195, in get
value = self.wrapped(instance)
File "/home/tyler/anaconda3/envs/macer36/lib/python3.6/site-packages/clang/cindex.py", line 4006, in lib
register_functions(lib, not Config.compatibility_check)
File "/home/tyler/anaconda3/envs/macer36/lib/python3.6/site-packages/clang/cindex.py", line 3953, in register_functions
register(f)
File "/home/tyler/anaconda3/envs/macer36/lib/python3.6/site-packages/clang/cindex.py", line 3950, in register
return register_function(lib, item, ignore_errors)
File "/home/tyler/anaconda3/envs/macer36/lib/python3.6/site-packages/clang/cindex.py", line 3931, in register_function
raise LibclangError(msg)
clang.cindex.LibclangError: /usr/lib/x86_64-linux-gnu/libclang.so: undefined symbol: clang_CXXConstructor_isConvertingConstructor. Please ensure that your python bindings are compatible with your libclang.so version.
Linux Ubuntu 16
python 3.6
Anaconda
I uninstalled and re-installed Clang, still getting the same error.
ln -s /usr/lib/x86_64-linux-gnu/libclang-*.so.1 /usr/lib/x86_64-linux-gnu/libclang.so
Error
ln: failed to create symbolic link '/usr/lib/x86_64-linux-gnu/libclang.so': File exists
Ubuntu 16, Anaconda with Python 3.6
Traceback (most recent call last):
File "testPredAtK.py", line 33, in
with open('macer/edit_pos_tokenizer','rb') as file:
FileNotFoundError: [Errno 2] No such file or directory: 'macer/edit_pos_tokenizer'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.