Princeton-CDH/ppa-django

View on GitHub
Merge pull request #647 from Princeton-CDH/feature/solr9-hyphen-filter #1007
Rebecca Sutton Koeser authored 27143544
complete00:00:54
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: missing 'version' key. Please add `version: "2"`
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-04-23T15:25:28.990206 #1]  INFO -- : Skipping file ./ppa/archive/management/commands/check_hathi_excerpts.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 132
    self.stdout.write(f"Excerpt page check report available in {report_filename}")
                                                                                ^
SyntaxError: invalid syntax


I, [2024-04-23T15:25:29.029935 #1]  INFO -- : Skipping file ./ppa/archive/management/commands/update_hathi_pagecounts.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 66
    change_message=f"Recalculated page count (was {old_page_count}, "
                                                                    ^
SyntaxError: invalid syntax


I, [2024-04-23T15:25:29.061383 #1]  INFO -- : Skipping file ./ppa/archive/management/commands/generate_textcorpus.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 177
    batch_iterator, max_value=total, prefix=f"Iterating {item_type}s: "
                                                                      ^
SyntaxError: invalid syntax


I, [2024-04-23T15:25:29.069413 #1]  INFO -- : Skipping file ./ppa/archive/management/commands/index_pages.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 124
    f"{abs(work_diff):,} extra works indexed in Solr; "
                                                      ^
SyntaxError: invalid syntax


I, [2024-04-23T15:25:29.080370 #1]  INFO -- : Skipping file ./ppa/archive/management/commands/hathi_rsync.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 56
    f"{len(skipped_htids)} id{pluralize(skipped_htids)} "
                                                        ^
SyntaxError: invalid syntax


I, [2024-04-23T15:25:29.181424 #1]  INFO -- : Skipping file ./ppa/archive/management/commands/hathi_excerpt.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 86
    f"\nExcerpted {self.stats['excerpted']:,d} existing records; "
                                                                 ^
SyntaxError: invalid syntax


I, [2024-04-23T15:25:29.218123 #1]  INFO -- : Skipping file ./ppa/archive/management/commands/adjust_excerpts.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 64
    f"\nUpdated {self.stats['updated']:,d} "
                                           ^
SyntaxError: invalid syntax


I, [2024-04-23T15:25:29.273529 #1]  INFO -- : Skipping file ./ppa/archive/management/commands/hathi_import.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 201
    f"Initializing pair tree in ({ht_data_dir}) [prefix={prefix}]"
                                                                 ^
SyntaxError: invalid syntax


I, [2024-04-23T15:25:29.476129 #1]  INFO -- : Skipping file ppa/archive/hathi.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 258
    self.pairtree_prefix = f"{self.lib_id}."
                                           ^
SyntaxError: invalid syntax


I, [2024-04-23T15:25:29.544213 #1]  INFO -- : Skipping file ppa/archive/import_util.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 201
    f"rsync output dir {output_dir} is not an existing directory"
                                                                ^
SyntaxError: invalid syntax


I, [2024-04-23T15:25:29.652495 #1]  INFO -- : Skipping file ppa/archive/models.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 316
    return self.filter(pages_orig__regex=f"^{start_page}([,-]|\b|$)")
                                                                   ^
SyntaxError: invalid syntax


I, [2024-04-23T15:25:30.386919 #1]  INFO -- : Skipping file ./scripts/get_version_labels.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 19
    catalog_url = f"https://hdl.handle.net/2027/{htid}"
                                                      ^
SyntaxError: invalid syntax


I, [2024-04-23T15:25:30.419404 #1]  INFO -- : Skipping file manage.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 16
    ) from exc
         ^
SyntaxError: invalid syntax