Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error in some distro logos. #90

Closed
1 task done
rakino opened this issue Feb 11, 2023 · 1 comment
Closed
1 task done

Syntax error in some distro logos. #90

rakino opened this issue Feb 11, 2023 · 1 comment

Comments

@rakino
Copy link

rakino commented Feb 11, 2023

Description

If you're suggesting a new feature then just a description will suffice.

  • Does this issue still occur in the master branch? (Required if issue)

python3 setup.py test output:

WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
creating HyFetch.egg-info
writing HyFetch.egg-info/PKG-INFO
writing dependency_links to HyFetch.egg-info/dependency_links.txt
writing entry points to HyFetch.egg-info/entry_points.txt
writing requirements to HyFetch.egg-info/requires.txt
writing top-level names to HyFetch.egg-info/top_level.txt
writing manifest file 'HyFetch.egg-info/SOURCES.txt'
reading manifest file 'HyFetch.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.md'
writing manifest file 'HyFetch.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "/home/hako/Repository/hyfetch/setup.py", line 15, in <module>
    setup(
  File "/gnu/store/1wirnr9djcfwn98dbsz4jndnl7qrh92y-python-setuptools-64.0.3/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/gnu/store/1wirnr9djcfwn98dbsz4jndnl7qrh92y-python-setuptools-64.0.3/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/gnu/store/1wirnr9djcfwn98dbsz4jndnl7qrh92y-python-setuptools-64.0.3/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/gnu/store/1wirnr9djcfwn98dbsz4jndnl7qrh92y-python-setuptools-64.0.3/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 973, in run_commands
    self.run_command(cmd)
  File "/gnu/store/1wirnr9djcfwn98dbsz4jndnl7qrh92y-python-setuptools-64.0.3/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/gnu/store/1wirnr9djcfwn98dbsz4jndnl7qrh92y-python-setuptools-64.0.3/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
    cmd_obj.run()
  File "/gnu/store/1wirnr9djcfwn98dbsz4jndnl7qrh92y-python-setuptools-64.0.3/lib/python3.9/site-packages/setuptools/command/test.py", line 224, in run
    self.run_tests()
  File "/gnu/store/1wirnr9djcfwn98dbsz4jndnl7qrh92y-python-setuptools-64.0.3/lib/python3.9/site-packages/setuptools/command/test.py", line 227, in run_tests
    test = unittest.main(
  File "/gnu/store/snsyfmz48r2hqfi2bfwcas952ajf1js7-profile/lib/python3.9/unittest/main.py", line 100, in __init__
    self.parseArgs(argv)
  File "/gnu/store/snsyfmz48r2hqfi2bfwcas952ajf1js7-profile/lib/python3.9/unittest/main.py", line 124, in parseArgs
    self._do_discovery(argv[2:])
  File "/gnu/store/snsyfmz48r2hqfi2bfwcas952ajf1js7-profile/lib/python3.9/unittest/main.py", line 244, in _do_discovery
    self.createTests(from_discovery=True, Loader=Loader)
  File "/gnu/store/snsyfmz48r2hqfi2bfwcas952ajf1js7-profile/lib/python3.9/unittest/main.py", line 154, in createTests
    self.test = loader.discover(self.start, self.pattern, self.top)
  File "/gnu/store/snsyfmz48r2hqfi2bfwcas952ajf1js7-profile/lib/python3.9/unittest/loader.py", line 349, in discover
    tests = list(self._find_tests(start_dir, pattern))
  File "/gnu/store/snsyfmz48r2hqfi2bfwcas952ajf1js7-profile/lib/python3.9/unittest/loader.py", line 405, in _find_tests
    tests, should_recurse = self._find_test_path(
  File "/gnu/store/snsyfmz48r2hqfi2bfwcas952ajf1js7-profile/lib/python3.9/unittest/loader.py", line 483, in _find_test_path
    tests = self.loadTestsFromModule(package, pattern=pattern)
  File "/gnu/store/1wirnr9djcfwn98dbsz4jndnl7qrh92y-python-setuptools-64.0.3/lib/python3.9/site-packages/setuptools/command/test.py", line 57, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/gnu/store/snsyfmz48r2hqfi2bfwcas952ajf1js7-profile/lib/python3.9/unittest/loader.py", line 191, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/gnu/store/1wirnr9djcfwn98dbsz4jndnl7qrh92y-python-setuptools-64.0.3/lib/python3.9/site-packages/setuptools/command/test.py", line 57, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/gnu/store/snsyfmz48r2hqfi2bfwcas952ajf1js7-profile/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/home/hako/Repository/hyfetch/hyfetch/distros/haiku.py", line 18
    \""""              \""""
                            ^
SyntaxError: unexpected character after line continuation character

python3 -m compileall . output:

Listing '.'...
Listing './.git'...
Listing './.git/branches'...
Listing './.git/hooks'...
Listing './.git/info'...
Listing './.git/logs'...
Listing './.git/logs/refs'...
Listing './.git/logs/refs/heads'...
Listing './.git/logs/refs/remotes'...
Listing './.git/logs/refs/remotes/origin'...
Listing './.git/objects'...
Listing './.git/objects/03'...
Listing './.git/objects/0e'...
Listing './.git/objects/10'...
Listing './.git/objects/1c'...
Listing './.git/objects/27'...
Listing './.git/objects/3e'...
Listing './.git/objects/82'...
Listing './.git/objects/91'...
Listing './.git/objects/b8'...
Listing './.git/objects/ea'...
Listing './.git/objects/info'...
Listing './.git/objects/pack'...
Listing './.git/refs'...
Listing './.git/refs/heads'...
Listing './.git/refs/remotes'...
Listing './.git/refs/remotes/origin'...
Listing './.git/refs/tags'...
Listing './.github'...
Listing './.github/workflows'...
Listing './.vscode'...
Listing './hyfetch'...
Compiling './hyfetch/constants.py'...
Listing './hyfetch/distros'...
Compiling './hyfetch/distros/haiku.py'...
***   File "./hyfetch/distros/haiku.py", line 18
    \""""              \""""
                            ^
SyntaxError: unexpected character after line continuation character

Compiling './hyfetch/distros/skiffos.py'...
***   File "./hyfetch/distros/skiffos.py", line 14
    ${c1}````'\"""\""""${c2}'\"""\"""""
                       ^
SyntaxError: invalid syntax

Compiling './hyfetch/distros/trisquel.py'...
***   File "./hyfetch/distros/trisquel.py", line 14
    ${c1}     \""""     ${c2}d$$$$"'
                        ^
SyntaxError: invalid syntax

Compiling './hyfetch/main.py'...
Compiling './hyfetch/neofetch_util.py'...
Compiling './hyfetch/presets.py'...
Listing './hyfetch/scripts'...
Compiling './setup.py'...
Listing './tools'...
@hykilpikonna
Copy link
Owner

Fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants