Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "C:\Users\vince\miniconda3\Lib\site-packages\pyparsing\core.py", line 5690, in parseImpl
- prev_loc, prev_result = memo[loc, self, do_actions]
- ~~~~^^^^^^^^^^^^^^^^^^^^^^^
- KeyError: (34, Forward: {{{{{{Suppress:([" | ']) W:(A-Z_a-z, '0-9A-Z_a-z) Suppress:([" | '])} | W:(A-Z_a-z, '0-9A-Z_a-z)} | '*top*' | '*bottom*'} | {Suppress:('(') <= | >= | = {{Suppress:([" | ']) W:(A-Z_a-z, '0-9A-Z_a-z) Suppress:([" | '])} | W:(A-Z_a-z, '0-9A-Z_a-z)} {{{Suppress:([" | ']) W:(A-Z_a-z, '0-9A-Z_a-z) Suppress:([" | '])} | W:(A-Z_a-z, '0-9A-Z_a-z)} | Forward: None | Forward: {{{{Suppress:([" | ']) W:(A-Z_a-z, '0-9A-Z_a-z) Suppress:([" | '])} | W:(A-Z_a-z, '0-9A-Z_a-z)} | {Suppress:('(') {{Combine:({[\+ | \-] W:(0-9) ['.' W:(0-9)]}) Combine:({[\+ | \-] W:(0-9) ['.' W:(0-9)]}) Combine:({[\+ | \-] W:(0-9) ['.' W:(0-9)]})} | Combine:({[\+ | \-] W:(0-9) ['.' W:(0-9)]}) [, Combine:({[\+ | \-] W:(0-9) ['.' W:(0-9)]})]...} Suppress:(')')} | Combine:({[\+ | \-] W:(0-9) ['.' W:(0-9)]})} | {Suppress:('(') f\+ | f\* {Forward: {{{{{Suppress:([" | ']) W:(A-Z_a-z, '0-9A-Z_a-z) Suppress:([" | '])} | W:(A-Z_a-z, '0-9A-Z_a-z)} | {Suppress:('(') {{Combine:({[\+ | \-] W:(0-9) ['.' W:(0-9)]}) Combine:({[\+ | \-] W:(, True)
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\vince\miniconda3\Lib\site-packages\fuzzy_dl_owl2\fuzzydl\parser\dl_parser.py", line 2287, in get_kb
- _ = DLParser.parse_string_opt(args[0])
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\vince\miniconda3\Lib\site-packages\fuzzy_dl_owl2\fuzzydl\util\utils.py", line 65, in wrapper
- result = func(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\vince\miniconda3\Lib\site-packages\fuzzy_dl_owl2\fuzzydl\parser\dl_parser.py", line 2261, in parse_string_opt
- return DLParser.get_grammatics().parse_string(instring)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\vince\miniconda3\Lib\site-packages\pyparsing\core.py", line 1219, in parse_string
- raise exc.with_traceback(None)
- pyparsing.exceptions.ParseException: Expected '(', found '[' (at char 41), (line:1, col:42)
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\vince\OneDrive\Documenti\GitHub\fuzzy_dl_owl2_testing\converter.py", line 15, in <module>
- translate_fdl_to_owl2("./results/weighted_sum_test.fdl", "weighted_sum_test_final.owl")
- File "C:\Users\vince\OneDrive\Documenti\GitHub\fuzzy_dl_owl2_testing\converter.py", line 9, in translate_fdl_to_owl2
- fdl = FuzzydlToOwl2(fdl_file, owl_file)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\vince\miniconda3\Lib\site-packages\fuzzy_dl_owl2\fuzzydl\fuzzydl_to_owl2.py", line 150, in __init__
- self.kb, _ = DLParser.get_kb(input_file)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\vince\miniconda3\Lib\site-packages\fuzzy_dl_owl2\fuzzydl\parser\dl_parser.py", line 2294, in get_kb
- Util.error(e)
- File "C:\Users\vince\miniconda3\Lib\site-packages\fuzzy_dl_owl2\fuzzydl\util\util.py", line 52, in error
- raise FuzzyOntologyException(message)
- fuzzy_dl_owl2.fuzzydl.exception.fuzzy_ontology_exception.FuzzyOntologyException: Expected '(', found '[' (at char 41), (line:1, col:42)
Add Comment
Please, Sign In to add comment