GithubHelp home page GithubHelp logo

purushottamkar / macer Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 6.0 59 KB

MACER: A Modular Framework for Accelerated Compilation Error Repair

License: MIT License

Makefile 1.07% C 0.18% Python 98.75%

macer's People

Contributors

bstee615 avatar darshak7195 avatar purushottamkar avatar umairzahmed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

macer's Issues

Error when running testPredAtK.py and testRepair.py

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'

Error with srct.DataStruct.ClusterError

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.