id stringlengths 4 10 | text stringlengths 4 2.14M | source stringclasses 2
values | created timestamp[s]date 2001-05-16 21:05:09 2025-01-01 03:38:30 | added stringdate 2025-04-01 04:05:38 2025-04-01 07:14:06 | metadata dict |
|---|---|---|---|---|---|
230514555 | Make build reproducible
by sorting the input file list
to avoid random .o file link ordering
causing functions to be randomly ordered in the .so file
See https://reproducible-builds.org/ for why this is good.
Alternative approach to PR #29
@bmwiedemann thanks for proposing the changes, I've merged them.
| gharchive/pull-request | 2017-05-22T20:46:39 | 2025-04-01T06:45:30.758976 | {
"authors": [
"bmwiedemann",
"joachimmetz"
],
"repo": "py4n6/pytsk",
"url": "https://github.com/py4n6/pytsk/pull/30",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
2384213689 | Fix undeclared fix_indent
To fix meta update bot
@all-contributors please add @pllim for code,review
how are you so speedy, @pllim 😆 thank you!
@hamogu , you are too much! I do not write in any languages! 😆
| gharchive/pull-request | 2024-07-01T16:04:49 | 2025-04-01T06:45:30.771722 | {
"authors": [
"lwasser",
"pllim"
],
"repo": "pyOpenSci/pyosMeta",
"url": "https://github.com/pyOpenSci/pyosMeta/pull/166",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
2110583330 | Update cron schedule for PyPI publishing workflow and add cache for vcpkg dependencies
Update cron schedule for PyPI publishing workflow and add cache for vcpkg dependencies
Description
Added a process to cache vcpkg dependencies in run_periodic_tests.yaml and made the tests run every week by editing publish_pypi.yaml
Fixes #3664
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
[ ] New feature (non-breaking change which adds functionality)
[x] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)
Key checklist:
[x] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[x] All tests pass: $ python run-tests.py --all (or $ nox -s tests)
[x] The documentation builds: $ python run-tests.py --doctest (or $ nox -s doctests)
You can run integration tests, unit tests, and doctests together at once, using $ python run-tests.py --quick (or $ nox -s quick).
Further checks:
[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works
@R-Yash, feel free to ask if you need help with anything!
@R-Yash are you still working on this?
Let's close this, actually. We could wait for a while, but not only has the contributor been unresponsive, but also that this is likely stalled until we have a resolution for #3783 (the PyBaMM IDAKLU solver is broken on Windows even if one installs from source). Please feel free to reopen this as you feel fit, @R-Yash!
| gharchive/pull-request | 2024-01-31T17:11:25 | 2025-04-01T06:45:30.796856 | {
"authors": [
"R-Yash",
"agriyakhetarpal",
"arjxn-py"
],
"repo": "pybamm-team/PyBaMM",
"url": "https://github.com/pybamm-team/PyBaMM/pull/3792",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
519214498 | #711 fix bc bug in 1plus1D
Description
Fixes a bug where boundary conditions were sometimes set incorrectly in 1plus1D models
Fixes #711
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s.
[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)
Key checklist:
[ ] No style issues: $ flake8
[ ] All tests pass: $ python run-tests.py --unit
[ ] The documentation builds: $ cd docs and then $ make clean; make html
You can run all three at once, using $ python run-tests.py --quick.
Further checks:
[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works
@tinosulzer is it a bit more clear what is going on now?
yep, thanks!
| gharchive/pull-request | 2019-11-07T11:41:45 | 2025-04-01T06:45:30.801696 | {
"authors": [
"rtimms",
"tinosulzer"
],
"repo": "pybamm-team/PyBaMM",
"url": "https://github.com/pybamm-team/PyBaMM/pull/713",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
418135371 | Does pybuilder task support user specifies arguments in addition to logger and project?
I want to write a task that take parameters. Wondering whether this is supported by pybuilder tasks.
No. The tasks optionally receive logger, project and reactor. You can use the properties to pass whatever you want between tasks.
| gharchive/issue | 2019-03-07T05:26:30 | 2025-04-01T06:45:30.823860 | {
"authors": [
"arcivanov",
"dclong"
],
"repo": "pybuilder/pybuilder",
"url": "https://github.com/pybuilder/pybuilder/issues/635",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
308305697 | Fix silent failure in loop-detection dependency
Version 0.11.15
Coverage increased (+0.01%) to 71.942% when pulling f2ade91bed3fb272f82f89016984cf0196f0dd67 on arcivanov:issue_498_0.11 into bbde0735c243e33716a3ae95c80a3ce3fc92d369 on pybuilder:0.11.
Coverage increased (+0.01%) to 71.942% when pulling f2ade91bed3fb272f82f89016984cf0196f0dd67 on arcivanov:issue_498_0.11 into bbde0735c243e33716a3ae95c80a3ce3fc92d369 on pybuilder:0.11.
Coverage increased (+0.01%) to 71.942% when pulling f2ade91bed3fb272f82f89016984cf0196f0dd67 on arcivanov:issue_498_0.11 into bbde0735c243e33716a3ae95c80a3ce3fc92d369 on pybuilder:0.11.
| gharchive/pull-request | 2018-03-24T22:49:37 | 2025-04-01T06:45:30.828353 | {
"authors": [
"arcivanov",
"coveralls"
],
"repo": "pybuilder/pybuilder",
"url": "https://github.com/pybuilder/pybuilder/pull/575",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
447398848 | Attributes in config/settings/local.py are unavailable to pytest
What happened?
Attributes set inconfig/settings/local.py was not found by pytest.
What should've happened instead?
Attributes in config/settings/local.py should be recognized as they are in config/settings/base.py.
Steps to reproduce
The project could be created as:
$ cookiecutter https://github.com/pydanny/cookiecutter-django
You've downloaded /home/user/.cookiecutters/cookiecutter-django before. Is it okay to delete and re-download it? [yes]:
project_name [My Awesome Project]:
project_slug [my_awesome_project]:
description [Behold My Awesome Project!]:
author_name [Daniel Roy Greenfeld]:
domain_name [example.com]:
email [daniel-roy-greenfeld@example.com]:
version [0.1.0]:
Select open_source_license:
1 - MIT
2 - BSD
3 - GPLv3
4 - Apache Software License 2.0
5 - Not open source
Choose from 1, 2, 3, 4, 5 (1, 2, 3, 4, 5) [1]:
timezone [UTC]:
windows [n]:
use_pycharm [n]:
use_docker [n]: y
Select postgresql_version:
1 - 11.3
2 - 10.8
3 - 9.6
4 - 9.5
5 - 9.4
Choose from 1, 2, 3, 4, 5 (1, 2, 3, 4, 5) [1]:
Select js_task_runner:
1 - None
2 - Gulp
Choose from 1, 2 (1, 2) [1]:
Select cloud_provider:
1 - AWS
2 - GCE
Choose from 1, 2 (1, 2) [1]:
custom_bootstrap_compilation [n]:
use_compressor [n]:
use_celery [n]:
use_mailhog [n]:
use_sentry [n]:
use_whitenoise [n]:
use_heroku [n]:
use_travisci [n]:
keep_local_envs_in_vcs [y]:
debug [n]:
[SUCCESS]: Project initialized, keep up the good work!
Update config/settings/local.py with an extra attribute FOO below imports:
from .base import * # noqa
from .base import env
FOO = 'BAR'
# the rest content omitted
Modify my_awesome_project/users/tests/test_models.py as:
import pytest
from django.conf import settings
pytestmark = pytest.mark.django_db
def test_user_get_absolute_url(user: settings.AUTH_USER_MODEL):
assert settings.FOO # <- insert one line here
assert user.get_absolute_url() == f"/users/{user.username}/"
Run pytest.
$ docker-compose -f local.yml run --rm django pytest
The modified test_models.py fails:
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― test_user_get_absolute_url ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
user = <User: mendezsarah>
def test_user_get_absolute_url(user: settings.AUTH_USER_MODEL):
> assert settings.FOO
my_awesome_project/users/tests/test_models.py:8:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/django/conf/__init__.py:58: in __getattr__
val = getattr(self._wrapped, name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <UserSettingsHolder>, name = 'FOO'
def __getattr__(self, name):
if name in self._deleted:
raise AttributeError
> return getattr(self.default_settings, name)
E AttributeError: 'Settings' object has no attribute 'FOO'
/usr/local/lib/python3.6/site-packages/django/conf/__init__.py:170: AttributeError
my_awesome_project/users/tests/test_models.py ⨯ 25% ██▌
my_awesome_project/users/tests/test_urls.py ✓✓✓ 62% ██████▍
my_awesome_project/users/tests/test_views.py ✓✓✓ 100% ██████████
Results (1.99s):
7 passed
1 failed
- my_awesome_project/users/tests/test_models.py:7 test_user_get_absolute_url
Host system configuration: OS, Docker
$ docker version
Client:
Version: 18.09.6
API version: 1.39
Go version: go1.10.8
Git commit: 481bc77
Built: Sat May 4 02:35:57 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 18.09.6
API version: 1.39 (minimum version 1.12)
Go version: go1.10.8
Git commit: 481bc77
Built: Sat May 4 01:59:36 2019
OS/Arch: linux/amd64
Experimental: false
$ uname -a
Linux staging 4.18.0-20-generic #21~18.04.1-Ubuntu SMP Wed May 8 08:43:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Hi, the tests are running using the test settings located in config/settings/test.py, which doesn't import the local settings. If you need a settings in tests, you should update this file, not (only) the local one.
Thanks very much for the reply! It works now.
Do you choose importing Django settings from base.py to favor both local and production environment?
I found another way[1] to run pytest with different test config files, say, config/settings/test_local.py. For docker user:
$ docker-compose -f local.yml run --rm -e DJANGO_SETTINGS_MODULE=config.settings.test_local django pytest
[1] pytest documentation - How to change command line options defaults
Yes, that works too. I will close this now as it's not a problem with the project.
| gharchive/issue | 2019-05-23T00:34:28 | 2025-04-01T06:45:30.865645 | {
"authors": [
"browniebroke",
"mapx"
],
"repo": "pydanny/cookiecutter-django",
"url": "https://github.com/pydanny/cookiecutter-django/issues/2078",
"license": "bsd-3-clause",
"license_type": "permissive",
"license_source": "bigquery"
} |
2184618384 | Handle a case when model_config is defined as a model property
Change Summary
The PR aims to solve behavior when pydantic allows to define model_config as a model property with no default value. It leads to confusing behavior:
from pydantic import BaseModel
class MyModel(BaseModel):
model_config: str
if __name__ == '__main__':
m = MyModel(model_config='Test')
print(m.model_config)
"""
{}
"""
The MR offers to raise PydanticUserError in this case.
Related issue number
fix #8469
Checklist
[ ] The pull request title is a good summary of the changes - it will be used in the changelog
[ ] Unit tests for the changes exist
[ ] Tests pass on CI
[ ] Documentation reflects the changes where applicable
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers
Selected Reviewer: @sydney-runkle
please review
Hi @alexeyt101,
Great work thus far! I've requested a few changes, mostly related to changing the name of the type of the error being raised.
Additionally, I wanted to bring up the question of what might happen if you use model_config as a field name in a pydantic dataclass? I haven't tested this out yet, but it'd be good to add a test for. I'm not sure whether or not we should error in that case...
Ping me when you've made the changes, I'd be happy to review again :). Thanks for your great work!
Hi @sydney-runkle
I think we shouldn't raise the error if model_config is used as a model field in dataclass because it works clear and expected. I added a test that covers the case.
PS: I've closed the PR accidentally and hope it's not a problem :)
I think we shouldn't raise the error if model_config is used as a model field in dataclass
I'm fine with this for now. If it comes up in the future, we can readdress. I haven't seen any complaints thus far!
Just as a side note, I'm not too worried about case 2 from the original issue, as it's discouraged to use that style of config specification in V2.
| gharchive/pull-request | 2024-03-13T18:15:35 | 2025-04-01T06:45:30.872879 | {
"authors": [
"alexeyt101",
"sydney-runkle"
],
"repo": "pydantic/pydantic",
"url": "https://github.com/pydantic/pydantic/pull/9004",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
156102890 | TST/ERR: Add Period ops tests / fix error message
[x] related to #13242
closes #13251
[x] tests added / passed
[x] passes git diff upstream/master | flake8 --diff
This must be after #13079.
merged #13079
see my comments on #13251 (may already be covered here)
thanks @sinhrks all of these tests are really helpful!
| gharchive/pull-request | 2016-05-21T13:48:54 | 2025-04-01T06:45:30.875131 | {
"authors": [
"jreback",
"sinhrks"
],
"repo": "pydata/pandas",
"url": "https://github.com/pydata/pandas/pull/13250",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1592422588 | Handle dots in id attributes for Python module members with custom HTMLTranslator
I'll preface this by saying I am not entirely sure if this is more properly a request for PST or for Sphinx.
When I view my generated package index from sphinx-apidoc, I'd like to have a responsive secondary sidebar that expands & collapses individual submodules in the navigation TOC. However, because of Python namespace conventions, the id attributes of generated HTML <section> & <dt> tags contain dots, e.g. <section id="mypackage.submodule1"> ... </section> and <dt id="mypackage.submodule1.func_a"> ... </dt>. Because of this, ScrollSpy does not detect these tags as targets, and the auto-expand & auto-collapse functionality we see on the sidebars of 'normal' pages do not work here.
Because of PST's reliance on ScrollSpy for responsive layouts, and because un-escaped . in a CSS id attribute is incompatible with ScrollSpy (and not really valid CSS anyway) it seems to make sense to handle this for documented package members.
I thought sphinx-build might provide options to handle this out-of-the-box, but I wasn't able to discover any way to configure this.
Sketch of a solution
The id attributes can be made valid by either escaping with a backslash (mypackage\.submodule1) or by substituting some other character, e.g. an underscore (mypackage_submodule1). I opted for the latter here, but it's really a question of preference. Maybe escaping the . would be more faithful to the Python namespace conventions (though I consider the underscore a bit nicer myself).
I'll note that it may also be possible to achieve the desired results by modifying bootstrap.js, though JavaScript is not my area of expertise. It would be necessary to modify the getSelectorFromElement() function, which returns null because querySelector() fails on IDs containing dots.
Anyway, I believe we can also handle this with a custom HTMLTranslator class that implements the following methods:
from sphinx.writers.html import HTMLTranslator
class PyModule HTMLTranslator(HTMLTranslator):
"""Custom HTML translator to convert dotted module names into underscore-separated ``id`` & ``href`` attributes."""
def visit_section(self, node):
"""Override default behavior to replace dots with underscores in the ``id`` attribute of documented modules."""
# NOTE: This will modify the `id` attribute of HTML `<section>` tags, e.g. where Python modules are documented
if 'ids' in node:
node['ids'] = [id_.replace('.', '_') for id_ in node['ids']]
super().visit_section(node)
def visit_reference(self, node):
"""Override default behavior to replace dots with underscores in ``href`` attributes."""
# NOTE: This will modify the `href` attribute of HTML `<a>` tags, e.g. the sidebar links
if 'refuri' in node:
if '.' in node['refuri']:
node['refuri'] = node['refuri'].replace('.', '_')
super().visit_reference(node)
def visit_desc_signature(self, node):
"""Replace dots with underscores in the ``id`` attribute of documented Python function signatures."""
# NOTE: This will modify the `id` attribute of HTML `<dt>` tags, where Python functions are documented
ids = node['ids']
for i, id in enumerate(ids):
ids[i] = id.replace('.', '_')
super().visit_desc_signature(node)
Of course, PST already implements BootstrapHTML5TranslatorMixin to do some customization of the HTML translation process. So the above methods can be added directly to this mixin class to achieve my desired functionality. I am not sure if adding these would mess things up anywhere else, but I haven't found any such downsides.
I'm curious what others think about this. Is it better for the end-user to implement this in their own custom HTMLTranslator class? If so, how would this even work? I ran into some difficulty with it since it seems to conflict with PST's own initialization routine (see below).
Attempt to implement solution on the user end
First I tried to add the following to my conf.py, along with the custom class definition shown above:
html_translator_class = PyModuleHTMLTranslator
This does not work, maybe because it is overridden by PST's custom translator? The documentation builds successfully, but I don't see any changes reflected in the output HTML. So I tried
def setup(app):
app.set_translator('html', PyModuleHTMLTranslator, override=True)
but this gives an error:
Extension error:
Translator for 'html' already exists
Finally I tried
def setup(app):
app.setup_extension('pydata_sphinx_theme')
app.set_translator('html', PyModuleHTMLTranslator, override=True)
but then I get
Theme error:
An error happened in rendering the page changelog.
Reason: TemplateNotFound('../components/search-field.html')
make: *** [html] Error 2
I've never tried to implement a custom translator for Sphinx, and I'll admit I don't really know where to go from here. I'll note that this might suggest an issue with PST — how are end-users supposed to implement a custom translator class if they want to? Is there a way to extend the PST custom BootstrapHTML5Translator class? If so, can we add some explanation of how to do this to the docs? I can open a separate issue for this if appropriate.
It might also make sense to open an issue with the Sphinx maintainers. But in the interest of supporting a responsive theme that is compatible with existing or older Sphinx versions, I thought I would bring this up here first.
Proposed changes to PST
Add the custom visit_section, visit_reference and visit_desc_signature methods shown above to BootstrapHTML5TranslatorMixin. I tried it, and everything works just as desired.
this issue is bugging me for so long (#1026) thank you so much for bringing the solution on a plate !
I'm +10000 to make it part of our translator mixin. Would you have time to start a PR ?
Yes, no problem! I can submit a PR this week.
I think the merge of your proposed PR solve the issue? Could you confirm and if not the case let us know what remain to be done?
| gharchive/issue | 2023-02-20T20:50:01 | 2025-04-01T06:45:30.886222 | {
"authors": [
"12rambau",
"bheberlein"
],
"repo": "pydata/pydata-sphinx-theme",
"url": "https://github.com/pydata/pydata-sphinx-theme/issues/1207",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
294241734 | Boolean indexing with multi-dimensional key arrays
Originally from https://github.com/pydata/xarray/issues/974
For boolean indexing:
da[key] where key is a boolean labelled array (with any number of dimensions) is made equivalent to da.where(key.reindex_like(ds), drop=True). This matches the existing behavior if key is a 1D boolean array. For multi-dimensional arrays, even though the result is now multi-dimensional, this coupled with automatic skipping of NaNs means that da[key].mean() gives the same result as in NumPy.
da[key] = value where key is a boolean labelled array can be made equivalent to da = da.where(*align(key.reindex_like(da), value.reindex_like(da))) (that is, the three argument form of where).
da[key_0, ..., key_n] where all of key_i are boolean arrays gets handled in the usual way. It is an IndexingError to supply multiple labelled keys if any of them are not already aligned with as the corresponding index coordinates (and share the same dimension name). If they want alignment, we suggest users simply write da[key_0 & ... & key_n].
Since https://github.com/pydata/xarray/issues/3206 has been implemented now:
Maybe fancy boolean indexing (da[boolean_mask]) could return a sparse array as well.
Just wanted to confirm, that boolean indexing is indeed highly relevant. Unfortunately, current implementation with array.where() only allows for selecting values, but not for assigning values. To back up my words, here is a use case which I encounter very often:
I'm working with highly sparse data (imagine a satellite image of some islands surrounded by water), and for such data masking is essential. You only want to process the relevant data.
Here is how I would achieve this in numpy:
import numpy as np
import some_vectorized_function
image = np.array( # image.shape == (1, 7, 7)
[[[0.2, 0.0, 0.4, 0.1, 0.0, 0.0, 0.1], # but only 4 pixels contain relevant data
[0.2, 0.1, 0.2, 0.1, 0.0, 0.2, 0.1],
[0.1, 777, 444, 0.2, 0.2, 0.2, 0.2],
[0.1, 0.3, 777, 0.0, 0.2, 0.2, 0.2],
[0.0, 0.1, 0.1, 0.1, 0.3, 0.1, 0.3],
[0.1, 0.0, 0.1, 0.2, 0.0, 444, 0.3],
[0.3, 0.3, 0.0, 0.2, 0.0, 0.0, 0.3]]]
)
mask = image > 1 # mask.shape == (1, 7, 7)
# mask.sum() == 4
image[mask] = some_vectorized_function(image[mask]) # image[mask].shape == (4,)
The most important fact here is that image[mask] is just a list of 4 pixels, which means I'm processing only 4 pixels that I care about. All other data just stays as it is. And this boolean masking also plays very nice with broadcasting, which means that I can mask a 3D array with a 2D boolean mask.
I've added the "good first issue" label — at least the first two bullets of the proposal would be relatively simple to implement, given they're mostly syntactic sugar.
It's worth noting that there is at least one other way boolean indexing could work:
ds[key] could work like ds.stack({key.name: key.dims}).isel({key.name: np.flatnonzero(key.data)}), except without creating a MultiIndex. Arguably this might be more useful and also more consistent with NumPy itself. It's also more similar to the operation @Hoeze wants in https://github.com/pydata/xarray/issues/5179.
We can't support both with the same syntax, so we have to make a choice here :).
See also the discussion about what drop_duplicates/unique should do over in https://github.com/pydata/xarray/pull/5089.
I've been trying to conceptualize why I think the where equivalence (the original proposal) is better than the stack proposal (the latter). I think it's mostly:
It's simpler
I'm not sure how the setitem would work; da[key] = value?
If someone wants the stack result, it's less work to do original -> where result -> stack result relative to original -> stack result -> where result; which suggests they're more composable?
But I don't do much pointwise indexing — and so maybe we do want to prioritize that
I've been trying to conceptualize why I think the where equivalence (the original proposal) is better than the stack proposal (the latter).
Here are two reasons why I like the stack version:
It's more NumPy like -- boolean indexing in NumPy returns a flat array in the same way
It doesn't need dtype promotion to handle possibly missing values, so it will have more predictable semantics.
As a side note: one nice feature of using isel() for stacking is that it does not create a MultiIndex, which can be expensive. But there's no reason why we necessarily need to do that for stack(). I'll open a new issue to discuss adding an optional parameter.
I'm not sure how the setitem would work; da[key] = value?
To match the semantics of NumPy, value would need to have matching dims/coords to those of da[key]. In other words, it would also need to be stacked.
If someone wants the stack result, it's less work to do original -> where result -> stack result relative to original -> stack result -> where result; which suggests they're more composable?
I'm not quite sure this is true -- it's the difference between needing to call stack() vs unstack().
OK great. To confirm, this is what it would look like:
Context:
In [81]: da = xr.DataArray(np.arange(12).reshape(3,4), dims=list('ab'))
In [82]: da
Out[82]:
<xarray.DataArray (a: 3, b: 4)>
array([[ 0, 1, 2, 3],
[ 4, 5, 6, 7],
[ 8, 9, 10, 11]])
Dimensions without coordinates: a, b
In [84]: key = da % 3 == 0
In [83]: key
Out[83]:
<xarray.DataArray (a: 3, b: 4)>
array([[ True, False, False, True],
[False, False, True, False],
[False, True, False, False]])
Dimensions without coordinates: a, b
Currently
In [85]: da[key]
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
<ipython-input-85-7fd83c907cb6> in <module>
----> 1 da[key]
...
~/.asdf/installs/python/3.8.8/lib/python3.8/site-packages/xarray/core/variable.py in _validate_indexers(self, key)
697 )
698 if k.ndim > 1:
--> 699 raise IndexError(
700 "{}-dimensional boolean indexing is "
701 "not supported. ".format(k.ndim)
IndexError: 2-dimensional boolean indexing is not supported.
Current proposal ("stack"), but without the .values, and with a dimension of key's name (and probably no multiindex):
In [86]: da.values[key.values]
Out[86]: array([0, 3, 6, 9])
Previous suggestion ("where"), for the result of da[key]:
In [87]: da.where(key)
Out[87]:
<xarray.DataArray (a: 3, b: 4)>
array([[ 0., nan, nan, 3.],
[nan, nan, 6., nan],
[nan, 9., nan, nan]])
Dimensions without coordinates: a, b
(small follow up I'll put in another message, for clarity)
I'm not quite sure this is true -- it's the difference between needing to call stack() vs unstack().
This was a tiny point so it's fine to discard. I had meant that producing the where result via the stack result requires a stack and unstack. But producing the stack result via a where result requires only one stack — the where result is very cheap.
OK great. To confirm, this is what it would look like:
Yes, this looks right to me.
Current proposal ("stack"), of da[key] and with a dimension of key's name (and probably no multiindex):
In [86]: da.values[key.values]
Out[86]: array([0, 3, 6, 9]) # But the xarray version
The part about this new proposal that is most annoying is that the key needs a name, which we can use to name the new dimension. That's not too hard to do, but it is little annoying -- in practice you would have to write something like da[key.rename('key_name')] much of the time to make this work.
I'm still working through this. Using this to jot down my notes, no need to respond.
One property that seems to be lacking is that if key changes from n-1 to n dimensions, the behavior changes (also outlined here):
In [171]: a
Out[171]:
array([[ 0, 1, 2, 3],
[ 4, 5, 6, 7],
[ 8, 9, 10, 11]])
In [172]: mask
Out[172]: array([ True, False, True])
In [173]: a[mask]
Out[173]:
array([[ 0, 1, 2, 3],
[ 8, 9, 10, 11]])
...as expected, but now let's make a 2D mask...
In [174]: full_mask = np.broadcast_to(mask[:, np.newaxis], (3,4))
In [175]: full_mask
Out[175]:
array([[ True, True, True, True],
[False, False, False, False],
[ True, True, True, True]])
In [176]: a[full_mask]
Out[176]: array([ 0, 1, 2, 3, 8, 9, 10, 11]) # flattened!
Current proposal ("stack"), of da[key] and with a dimension of key's name (and probably no multiindex):
In [86]: da.values[key.values]
Out[86]: array([0, 3, 6, 9]) # But the xarray version
The part about this new proposal that is most annoying is that the key needs a name, which we can use to name the new dimension. That's not too hard to do, but it is little annoying -- in practice you would have to write something like da[key.rename('key_name')] much of the time to make this work.
IMO, the perfect solution would be masking support.
I.e. da[key] would return the same array with an additional variable da.mask:
In [87]: da[key]
Out[87]:
<xarray.DataArray (a: 3, b: 4)>
array([[ 0, <NA>, <NA>, 3],
[<NA>, <NA>, 6, <NA>],
[<NA>, 9, <NA>, <NA>]])
dtype: int
Dimensions without coordinates: a, b
Then we could have something like da.stack(new_dim=["a", "b"], dropna=True):
In [87]: da.stack(new_dim=["a", "b"], dropna=True)
Out[87]:
<xarray.DataArray (newdim: 4)>
array([0, 3, 6, 9])
coords{
"a" (newdim): [0, 0, 1, 2],
"b" (newdim): [0, 3, 2, 1],
}
Dimensions without coordinates: newdim
Here, dropna=True would allow avoiding to create the cross-product of a, b.
stack(new_dim=["a", "b"], dropna=True)
Potentially a different issue — this could be useful. While someone can call .dropna, that coerces to floats (or some type that supports missing) and can allocate more than is needed. Potentially this can be considered along with issues around sparse, e.g. https://github.com/pydata/xarray/issues/3245, https://github.com/pydata/xarray/issues/4143
| gharchive/issue | 2018-02-04T23:28:45 | 2025-04-01T06:45:30.912872 | {
"authors": [
"Hoeze",
"max-sixty",
"shaprann",
"shoyer"
],
"repo": "pydata/xarray",
"url": "https://github.com/pydata/xarray/issues/1887",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
443157666 | Picking up #1118: Do not convert subclasses of ndarray unless required
This picks up the work done in #1118, plus converting the unittest
based tests to pytest (since that seems to be used in the other
tests).
Some of the suggestions there are not implemented yet:
the disabling of bottleneck if a ndarray subclass is used
testing for operations like xarray.concat
testing with other unit libraries that use subclasses (e.g. astropy.units or unyt)
renaming the test file to test_units_subclass.py
The requirements files for CI changed since then, so maybe more than
the two right now need the quantities entry.
Hello @keewis! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:
In the file xarray/tests/test_quantities.py:
Line 80:1: W293 blank line contains whitespace
Looks great! Thanks @keewis
I don't know this area that well, so I'll defer to someone else on a proper review
Most of the items above are implemented in unit-support, even support for array wrappers with units like pint (if my tests are sufficient for deciding that: pint still complains/warns about stripped units). The calls to asarray and asanyarray are skipped based on whether any of the __array_*__ methods and the attributes unit or units exist.
I did not push these commits to this PR because most of it does not have anything to do with subclasses. I did not open a new PR for the branch either because it builds on this one and because I'd like to receive feedback on any of this first.
Combining this with dask arrays should still fail, though.
This looks like a good start to me. So we can start making progress on this, I think it would make sense to hide this behavior behind an option, e.g., xarray.set_options(enable_experimental_ndarray_subclass_support=True).
I would consider writing some tests with two of the ndarray subclasses that ship with NumPy:
np.matrix
np.ma.MaskedArray
Both of these subclasses violate some important principles of subclassing, namely they aren't substitutable with objects of their parent class. Thus, I think it would be reasonable to explicitly "blacklist" them for use inside in xarray.DataArray. I think we already explicitly convert MaskedArray objects, but perhaps we should also add a check for np.matrix objects.
In terms of operations, one big class that comes to mind are aggregations, e.g., .mean(). It would be good to make sure that these work.
I added the option, though the documentation is minimal. It gets used by a function to decide between asarray and asanyarray, and this function is then called in as_compatible_data and in the Variable.data property. Also, .mean() did not work before because duck_array_ops.asarray used np.asarray, which I replaced with that switching function. Should I test more of these reduce functions (if so, which)?
The matrix class gets treated similar to MaskedArray, and the unittests prove that enabling subclass support does not work for these two.
Is the failure of the docs related to any of the changes I made?
Looks like a glitch related to downloading an example file. Ignore it.
now that #3117 has been merged, what is the status on this? From what I can tell from the few I looked at, most ndarray subclasses either already use NEP18 or will do so in the future. I guess what I want to know is: should I continue to work on it or does it overlap too much with that PR?
I'm not too sure about putting _asarray into npcompat.py, but apart from that I would say it is ready to be merged.
However, the question of whether or not this PR is obsolete now still remains: if one were to replace quantities with pint, the test checking that this does not work without the proposed changes enabled is the only one that fails.
However, the question of whether or not this PR is obsolete now still remains: if one were to replace quantities with pint, the test checking that this does not work without the proposed changes enabled is the only one that fails.
Does pint do __array_function__ yet? It looks like the answer is "not yet" but there's a branch with experimental support: https://github.com/hgrecco/pint/pull/764
We could add the experimental option for allowing subclasses for testing purposes, but ultimately I think we want to insist that objects we use inside data implement __array_function__, regardless of whether they are a numpy array subclass or duck array. Otherwise there's no way complicated operations like concat are going to work properly.
I'd love to add tests that verify that xarray can properly wrap arrays with units as soon as possible. We could even merge tests that are all marked "xfail" and that currently only pass when using the experimental version of pint from https://github.com/hgrecco/pint/pull/764.
As we saw with sparse array support, this will be useful for two reasons:
It will help us identify remaining issues that need to be solved either in xarray or in an array-with-units library like pint.
There are also likely some subtle tweaks we can do inside xarray to better support arrays with units, e.g., displaying units in the xarray.Dataset repr.
Yeah, pint doesn't do __array_function__ yet. It'd be great to get this is, if for only that it lowers the barrier to make sure xarray works with pint in the future.
Do you have a rough idea of which operations these would be? The ones currently implemented are mean() and an xfailing concat. There is also the sel(), but as it only tries to use values with the matching unit, it works even though it should probably fail.
I'd love to add tests that verify that xarray can properly wrap arrays with units as soon as possible. We could even merge tests that are all marked "xfail" and that currently only pass when using the experimental version of pint from hgrecco/pint#764.
This is actually something that I've been working towards recently, but I've ran into some delays. I'm still working on the pint side of things since there is a fair number of numpy functions not yet implemented and tested in hgrecco/pint#764.
@keewis Would you want to take the lead on these xarray + pint with __array_function__ tests, since you've been working on related tests here, or would you want me to see what I can come up with based on what I've been doing so far?
I think I would like to tackle this, but I definitely will need some help with finding examples for some of the more advanced operations.
@shoyer should I add these in a new PR or should I repurpose this one?
You are welcome to continue here or in a new PR, whichever you prefer. I don't have a strong opinion, please do whichever seems easier for you.
I think the best examples of complex operations to check for compatibility can be found in xarray/tests/test_sparse.py and xarray/tests/test_dask.py
then I would like to finish this one and modify the tests in a new one.
We could add the experimental option for allowing subclasses for testing purposes, but ultimately I think we want to insist that objects we use inside data implement __array_function__, regardless of whether they are a numpy array subclass or duck array. Otherwise there's no way complicated operations like concat are going to work properly.
@shoyer: What kind of testing would that be? If this is something that would be removed again in the future and has no actual value, feel free to close (but don't forget the original PR). Otherwise, I'd be happy to continue working on this.
Since we have been making a lot of progress using __array_function__ (which does not exclude subclasses but is much more flexible), this approach is outdated and I'm closing this and #1118.
| gharchive/pull-request | 2019-05-12T23:12:43 | 2025-04-01T06:45:30.935013 | {
"authors": [
"dcherian",
"dopplershift",
"jthielen",
"keewis",
"max-sixty",
"pep8speaks",
"shoyer"
],
"repo": "pydata/xarray",
"url": "https://github.com/pydata/xarray/pull/2956",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
1589412626 | Define the coordinate system
We should:
Decide on a coordinate system
Document it
What do others use?
pygfx currently we seem to have a right-handed system with right +X, up +Y and forward -Z.
glTF uses a right-handed coordinate system. glTF defines +Y as up, +Z as forward, and -X as right; the front of a glTF asset faces +Z. The units for all linear distances are meters. All angles are in radians. Positive rotation is counterclockwise.
OpenGL by convention uses a right-handed system. What this basically says is that the positive x-axis is to your right, the positive y-axis is up and the positive z-axis is backwards.
Blender uses the right hand coordinate system with the Z axis pointing upwards. This is common with the coordinate systems used by most common 3D CAD packages.
From my understanding, CAD software like 3D studio max and blender historically have Z point upwards, whereas game and gfx related software has Y point upwards. Not sure why glTF swaps directions for X and Z ...
Can you clarify in each instance whether or not the coordinate system applies to model/view/clip space? Because the conventions are different between those spaces usually as well.
pygfx currently we seem to have a right-handed system with right +X, up +Y and forward -Z.
😆 sigh, so which is it now, does forward mean positive Z or negative Z? 😅
I found this nice picture: :)
I would like to add that Three.js is Y-up, and right-handed.
Also, you can actually change the coordinate system in three like this:
THREE.Object3D.DefaultUp = new THREE.Vector3(0,0,1);
But that's all besides the point. We just need to pick something and document it. What do we want?
😆 sigh, so which is it now, does forward mean positive Z or negative Z? 😅
Sorry, I know! I was confused between NDC and model coords! 😆
To quote Linkin Park: In the end, it doesn't even matter (what we choose). Users can always set the camera's up value, and/or flip the camera's scale to move from a left-handed to right-handed system. The main issue (as I understand it) is that when a user loads left-handed models into a right-handed system (or vise versa) the models will be inside-out. And that only is really a problem when people set the material.side = 'front'.
The Z negative/positive thing seems to be our only real uncertainty here. Let's pick positive Z?
From what I understand, given +X is right, and +Y is up, if we'd pick forward to mean +Z it'd be left-handed, and -Z would be right-handed.
Addition: we're not actually deciding on the coordinate system, but only on the default.
From what I understand, given +X is right, and +Y is up, if we'd pick forward to mean +Z it'd be left-handed, and -Z would be right-handed.
You are right. And since we want to be right-handed, let's pick -Z as forward.
That aligns with three.js defaults.
+X is right
+Y is up
-Z is forward
Can we close this?
👍
I'm reopening this because I discovered some new information. Three.js seems to follow the glTF conventions.
I summarized them here: https://github.com/pygfx/pylinalg/pull/43#issuecomment-1438359082
I propose that we align with those conventions as well, both in pygfx and pylinalg.
So to summarize from the glTF spec:
glTF uses a right-handed coordinate system. glTF defines +Y as up, +Z as forward, and -X as right; the front of a glTF asset faces +Z.
The camera is defined such that the local +X axis is to the right, the “lens” looks towards the local -Z axis, and the top of the camera is aligned with the local +Y axis.
The view matrix is derived from the global transform of the node containing the camera with the scaling ignored. If the node’s global transform is identity, the location of the camera is at the origin.
For light types that have a direction (directional and spot lights), the light's direction is defined as the 3-vector (0.0, 0.0, -1.0) and the rotation of the node orients the light accordingly. That is, an untransformed light points down the -Z axis. The light's transform is affected by the node's world scale, but all properties of the light (such as range and intensity) are unaffected.
I've copied this to the top post and also started a todo list. Feel free to add items.
@almarklein can you comment on the status of this item? I think we've completed all the implementation changes, and just need to document the conventions now, right?
I thought we already documented it too, but searching for "handed" in the docs shows nothing, so I guess we should add it. My suggestion would be to explain in in the guide, as well as a brief technical summary on the base camera.
Could I request documentation on linear distance units as well? I tried figuring out the default units and could not find any information on it. glTF is defined in meters (see 3.4). The helmet in the PBR example is 1.5-2.0 meter sized when opened in Blender and that size is reflected in pygfx when using the trimesh python package. If I create a reference mesh in Blender and export to various formats using the default scene settings the size is consistent in pygfx to the meter standard. I get the impression that many of the pygfx examples are either using cm or unitless which can sometimes make it confusing when the camera setup is automatic for framing the object. I see values in the 20, 50, 100, 600 ranges just skimming through the examples now. Seeing that you are already documenting the coordinate system standards it would be nice if all units were clearly defined. I like pygfx so far so I would love for it to become a "standard" python package.
@DennyLindberg I agree that documenting this in the docs is a good idea.
The short answer is that pygfx does not impose any units. It's the responsibility of the user to ensure that all objects are represented in the same units. In Blender-like use-case, and loading stuff using trimesh this would indeed often be meters. But for scientific applications it might be different. E.g. microscopy vs GIS vs astronomy.
@almarklein Fair enough.
Yes, that seems to be the same notion over at ThreeJS. It would not hurt to mention it is unitless right, if other details are being documented anyway?
https://discourse.threejs.org/t/what-unit-of-distance-in-threejs/20782/2
https://discourse.threejs.org/t/units-in-three-js/1174
https://github.com/mrdoob/three.js/issues/6259
I added a checkbox in the top post.
| gharchive/issue | 2023-02-17T14:05:53 | 2025-04-01T06:45:30.985803 | {
"authors": [
"DennyLindberg",
"FirefoxMetzger",
"Korijn",
"almarklein"
],
"repo": "pygfx/pygfx",
"url": "https://github.com/pygfx/pygfx/issues/460",
"license": "BSD-2-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1811382214 | qt.qpa.window: SetProcessDpiAwarenessContext failed
qt.qpa.window: SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) failed: COM error 0x5: Zugriff verweigert
Qt's default DPI awareness context is DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2. If you know what you are doing you can overwrite this default using qt.conf (https://doc.qt.io/qt-6/highdpi.html#configuring-windows)
qt.qpa.window: SetProcessDpiAwareness(2) failed: COM error 0x80070005: Zugriff verweigert, using 1
Qt's fallback DPI awareness is PROCESS_DPI_AWARENESS. If you know what you are doing consider an override in qt.conf
This warning pops up because the set_dpi_aware variable is always set to True.
I tried importing __version_info__ from QtCore but this attribute doesnt exist in PyQt6 or 5
I am using PyQt 6.5.1
https://github.com/pygfx/wgpu-py/blob/0e2f34b91060137bac40580bc84d7ab8af7a19e7/wgpu/gui/qt.py#L102
Would indeed be nice if we can suppress/avoid this warning. I don't think it does any harm, but it may give the suggestion that something is wrong, or when an actual error occurs, people may see this as the cause ...
Annoyingly enough, it's something that is being printed directly to stdout in the Qt c++ source code, without any mechanism to suppress it. I don't think we can do anything about it.
We do attempt to address it by checking the qt version:
https://github.com/pygfx/wgpu-py/blob/0e2f34b91060137bac40580bc84d7ab8af7a19e7/wgpu/gui/qt.py#L101-L104
The problem (now I see what @sharon92 meant with her comment) is that on PyQt we need to QtCore.QT_VERSION_STR. There does not seem to be a uniform way to get the QT version 😕. QtPy also queries the version differently for PyQt5 and PySide (using QtCore.QT_VERSION_STR and QtCore.__version__ respectively.
@almarklein yep, that's what I meant.
P.S: I am a "he" :) Sharon is a common unisex name for south Indians, but perhaps I need to update my picture :)
Oh, I'm so sorry! Sharon is a common name here (in The Netherlands) but only for woman, so I just assumed 😬
@almarklein no worries. I live in Germany, and I have to say this every once in a while :)
| gharchive/issue | 2023-07-19T07:57:01 | 2025-04-01T06:45:30.991477 | {
"authors": [
"Korijn",
"almarklein",
"sharon92"
],
"repo": "pygfx/wgpu-py",
"url": "https://github.com/pygfx/wgpu-py/issues/363",
"license": "BSD-2-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
487785744 | IRC highlighting too minimal
(Original issue 341 created by None on 2008-06-19T16:39:04+00:00)
IRC highlighting would be much more useful if it did nick highlighting, specifically adding different colors for each nick.
(I can imagine this might be outside the normal behavior of pygments, as it's very context-sensitive, but without it the highlighted logs aren't any more readable than the plain text logs.)
Reported by guest
(Original comment by gbrandl on 2009-09-11T13:30:59+00:00)
Postponing.
(Original comment by thatch on 2009-03-25T23:22:34+00:00)
The styles need to be referenced in some of the formatters, a typo in my previous post. The 16-color terminal formatter doesn't read rgb values. It might work to have them in the base style since you're not going to mix Cycle tokens with regular source code.
(Original comment by gbrandl on 2009-03-15T21:56:31+00:00)
I don't have a better idea, but couldn't those styles be defined only once in the base Style?
(Original comment by thatch on 2009-02-22T22:01:00+00:00)
Can you give this patch a try? For now it will only give good output on the original terminal lexer.
Georg, do you have a better suggestion than Generic.Cycle.C[0..n-1] for the token type? I don't particularly look forward to adding this to each of the style definitions.
(Original comment by thatch on 2008-12-31T03:14:54+00:00)
I should have time before 1.1 ships.
(Original comment by gbrandl on 2008-11-15T17:32:11+00:00)
Tim, if you don't get to do this for 1.0, just move it to the next milestone.
(Original comment by thatch on 2008-07-26T16:08:27+00:00)
We'd need to do a second pass to come up with the list of nicks. Targeting to 0.12 since I'd like to get #340 ironed out first.
| gharchive/issue | 2019-08-31T16:17:28 | 2025-04-01T06:45:30.997397 | {
"authors": [
"Anteru"
],
"repo": "pygments/pygments-migration-test",
"url": "https://github.com/pygments/pygments-migration-test/issues/120",
"license": "BSD-2-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1386591840 | [feature] Support Colima/Docker Contexts
Colima is now a popular free and open alternative to Docker for Mac. I would like to use Colima to run Pygmy for Lagoon development.
When attempting to execute Pygmy with a Colima context instantiated, Pygmy reports
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
The colima daemon resides at ~/.colima/daemon.sock. It appears that pygmy hardcodes unix:///var/run/docker.sock as its source of docker daemon.
Describe the solution you'd like
Support the docker context feature, as in https://stackoverflow.com/questions/72557053/why-does-colima-failed-to-find-docker-daemon#comment128492293_72560928
Describe alternatives you've considered
I've attempted manually creating a symlink such as in this project: https://github.com/cloudfoundry-incubator/kubo-release/issues/329
This worked for running the pygmy update command, but the pygmy up command failed with
error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/amazeeio-ssh-agent-add-key/start": EOF - this is likely because a link is also needed within a container.
A configurable daemon path should be well and truly possible, would this satisfy your requirements?
If all that's needed is a path change, support shouldn't be an issue.
I'll be getting my laptop back next week, so assuming this would help you, I can have a look at this then..
@fubarhouse I'm not certain of the extent of the requirements imposed by Pygmy on DockerForMac. After finagling the daemon aliases I was able to initiate most of the containers, but the networking element on DNSmasq eluded me. The ssh key agent didn't work at all. There may be more.
Could you please try out this one, and we'll see how far we can get to support Colima. I've been curious for some time, though I don't use MacOS much anymore...
https://github.com/pygmystack/pygmy/pull/401
Would love to know what you find!
Alright I've got colima going myself and worked some things out...
This would be a pretty major refactor so I will need some more time.
I'll keep you posted! 😃
I've reverted, the changes were... desired but significant.
I'll open a new issue for that change, but in the meantime, could you please try something like the following on the same branch?
PYGMY_SOCKET=unix:///var/run/docker.sock go run main.go status
This should at least give a basic indication of if colima could be compatible.
Confirmed the PYGMY_SOCKET approach on colima and that worked without any issue :)
I'll clean this up and get it merged in the next few days.
Thanks for helping!
I'm pretty sure the branch is now ready for merging @mathieuhelie - did you want to give it one more try?
Don't forget to set PYGMY_SOCKET! 😃
Appears successful! Thank you!
Note: the unix:// path of the socket is important.
PYGMY_SOCKET=unix:///Users/mathieu.helie/.colima/default/docker.sock ./builds/pygmy-darwin-arm64 up
Using config file: /Users/mathieu.helie/.pygmy.yml
Successfully started amazeeio-dnsmasq
Successfully started amazeeio-haproxy
Successfully started amazeeio-mailhog
Already connected amazeeio-haproxy to amazeeio-network
Already connected amazeeio-mailhog to amazeeio-network
Already connected amazeeio-ssh-agent-add-key to amazeeio-network
Already connected amazeeio-ssh-agent-add-key to amazeeio-network
Password:
Successfully configured resolvr MacOS Resolver
- http://mailhog.docker.amazee.io (amazeeio-mailhog)
- http://docker.amazee.io/stats (amazeeio-haproxy)
Without unix:// the command returns an ambiguous error.
PYGMY_SOCKET=/Users/mathieu.helie/.colima/docker.sock ./builds/pygmy-darwin-arm64 up
Using config file: /Users/mathieu.helie/.pygmy.yml
unable to parse docker host `/Users/mathieu.helie/.colima/docker.sock`
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x71 pc=0x1012831e4]
goroutine 1 [running]:
github.com/docker/docker/client.(*Client).getAPIPath(0x1400011c750?, {0x1015e1230?, 0x14000126008?}, {0x1013d3d69, 0x10}, 0x5?)
/go/pkg/mod/github.com/docker/docker@v20.10.17+incompatible/client/client.go:183 +0x34
Unfortunately, the containers themselves appear confused about the location of the socket:
docker logs amazeeio-haproxy
2022/11/28 14:59:37 Error retrieving docker server version info: cannot connect to Docker endpoint
2022/11/28 14:59:37 Error retrieving docker server info: cannot connect to Docker endpoint
2022/11/28 14:59:37 Error listing containers: cannot connect to Docker endpoint
2022/11/28 14:59:37 Watching docker events
2022/11/28 14:59:37 Error retrieving docker server info: cannot connect to Docker endpoint
2022/11/28 14:59:37 Error listing containers: cannot connect to Docker endpoint
2022/11/28 14:59:37 Docker daemon connection interrupted
2022/11/28 14:59:47 Watching docker events
2022/11/28 14:59:47 Error retrieving docker server info: cannot connect to Docker endpoint
2022/11/28 14:59:47 Error listing containers: cannot connect to Docker endpoint
2022/11/28 14:59:48 Docker daemon connection interrupted
2022/11/28 14:59:58 Watching docker events
2022/11/28 14:59:58 Error retrieving docker server info: cannot connect to Docker endpoint
2022/11/28 14:59:58 Error listing containers: cannot connect to Docker endpoint
2022/11/28 14:59:58 Docker daemon connection interrupted
2022/11/28 15:00:08 Watching docker events
2022/11/28 15:00:08 Error retrieving docker server info: cannot connect to Docker endpoint
2022/11/28 15:00:08 Error listing containers: cannot connect to Docker endpoint
2022/11/28 15:00:08 Docker daemon connection interrupted
2022/11/28 15:00:18 Watching docker events
2022/11/28 15:00:18 Error retrieving docker server info: cannot connect to Docker endpoint
2022/11/28 15:00:18 Error listing containers: cannot connect to Docker endpoint
2022/11/28 15:00:19 Docker daemon connection interrupted
2022/11/28 15:00:29 Watching docker events
2022/11/28 15:00:29 Error retrieving docker server info: cannot connect to Docker endpoint
2022/11/28 15:00:29 Error listing containers: cannot connect to Docker endpoint
2022/11/28 15:00:29 Docker daemon connection interrupted
2022/11/28 15:00:39 Watching docker events
2022/11/28 15:00:39 Error retrieving docker server info: cannot connect to Docker endpoint
2022/11/28 15:00:39 Error listing containers: cannot connect to Docker endpoint
2022/11/28 15:00:39 Docker daemon connection interrupted
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3063f8f09cde pygmystack/mailhog "MailHog" 3 minutes ago Up 3 minutes 80/tcp, 8025/tcp, 0.0.0.0:1025->1025/tcp, :::1025->1025/tcp amazeeio-mailhog
a19ae3a0c1b2 pygmystack/haproxy "/app/docker-entrypo…" 3 minutes ago Up 3 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp amazeeio-haproxy
34d50e988376 pygmystack/dnsmasq "dnsmasq -k --log-fa…" 3 minutes ago Up 3 minutes 0.0.0.0:6053->53/tcp, 0.0.0.0:6053->53/udp, :::6053->53/tcp, :::6053->53/udp amazeeio-dnsmasq
c8abf9868cf7 pygmystack/ssh-agent "/run.sh ssh-agent" 2 months ago Up 46 minutes amazeeio-ssh-agent
Appreciate those details - I'll continue on this tonight.
I've added input validation to ensure the raw socket path pygmy uses includes the prefix unix://
I've also added some validation to the output to indicate if HAProxy is able or unable to connect to the docker endpoint.
I just need to get Colima working locally now to do some testing...
Hi guys, I started working on this locally before seeing this issue or the PR @fubarhouse created.
I wanted to take advantage of the docker contexts directly. I initially wanted to use the docker cli packages to work out the context as done here, but there were conflicts when importing the packages.
So I just created simple structs to read the docker config & manifest files directly and read them.
This should allow us to use pygmy without making any changes.
Handy to know. I've so far been unable to test the Colima PR properly.
If there's a lower-friction way to achieve this, we should document it so that more people know they can do this.
Ideally, Docker should just work with the active context because Pygmy does not attempt to target any specific context.
| gharchive/issue | 2022-09-26T19:23:35 | 2025-04-01T06:45:31.011142 | {
"authors": [
"dasrecht",
"fubarhouse",
"mathieuhelie",
"yusufhm"
],
"repo": "pygmystack/pygmy",
"url": "https://github.com/pygmystack/pygmy/issues/397",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2458553718 | Deploying to SSH aliases is no longer possible
Describe the bug
In pyinfra 2.7, it was possible to run a deploy to a SSH alias defined in ~/.ssh/config file, like this:
pyinfra server-alias deploy.py
In pyinfra 3.0.2, this is no longer possible, and fails with:
server-alias is neither an inventory file, a (list of) hosts or connectors nor refers to a python module
To Reproduce
Add an alias to your ~/.ssh/config:
Host server-alias
HostName example.com
User user
Port 22
Try to deploy to that alias:
pyinfra server-alias deploy.py
Expected behavior
pyinfra should detect that this is a host alias and use it to connect to the server.
Meta
How was pyinfra installed (source/pip)? poetry
System: Windows
Platform: Windows-11-10.0.22631-SP0
Release: 11
Machine: AMD64
pyinfra: v3.0.2
Executable: E:\Projects\GimVicUrnik\venv\Scripts\pyinfra.exe
Python: 3.12.4 (CPython, MSC v.1940 64 bit (AMD64))
Can you try @ssh/server-alias?
Yes, that works. Is it possible to add back support for aliases without @ssh/ prefix, as it was supported in previous versions and is slightly shorter to type?
I'm very new to pyinfra, so I can't answer all of your questions :sweat_smile:
You might be able to use something like this to check if the provided alias resolves (e.g. in case socket.getaddrinfo() raises).
You might be able to use something like this to check if the provided alias resolves (e.g. in case socket.getaddrinfo() raises).
I'll give this a go.
| gharchive/issue | 2024-08-09T19:37:26 | 2025-04-01T06:45:31.028003 | {
"authors": [
"filips123",
"simonhammes"
],
"repo": "pyinfra-dev/pyinfra",
"url": "https://github.com/pyinfra-dev/pyinfra/issues/1170",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1669067701 | WIP Rewrite sample stats to use apache arrow
This adds a new optional dependency to arrow and if it is enabled, sample stats can be collected in arrow arrays. This makes it easier for other libraries to collect the sampler stats into a trace.
The old custom system that uses an enum to describe the different datatypes is removed, so this is a breaking change.
TODO: Add back in divergance meta information.
Codecov Report
Patch coverage: 85.01% and project coverage change: +1.60 :tada:
Comparison is base (b5054ca) 88.70% compared to head (37161ba) 90.31%.
Additional details and impacted files
@@ Coverage Diff @@
## main #4 +/- ##
==========================================
+ Coverage 88.70% 90.31% +1.60%
==========================================
Files 9 8 -1
Lines 1620 1703 +83
==========================================
+ Hits 1437 1538 +101
+ Misses 183 165 -18
Impacted Files
Coverage Δ
src/math.rs
99.06% <ø> (ø)
src/adapt_strategy.rs
87.20% <66.34%> (-6.41%)
:arrow_down:
src/cpu_state.rs
80.29% <66.66%> (-0.29%)
:arrow_down:
src/nuts.rs
89.45% <95.40%> (+5.08%)
:arrow_up:
src/cpu_potential.rs
97.79% <100.00%> (+22.79%)
:arrow_up:
src/cpu_sampler.rs
91.74% <100.00%> (+0.24%)
:arrow_up:
src/mass_matrix.rs
97.61% <100.00%> (+1.19%)
:arrow_up:
src/stepsize.rs
88.75% <100.00%> (ø)
... and 1 file with indirect coverage changes
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
| gharchive/pull-request | 2023-04-15T00:12:48 | 2025-04-01T06:45:31.136743 | {
"authors": [
"aseyboldt",
"codecov-commenter"
],
"repo": "pymc-devs/nuts-rs",
"url": "https://github.com/pymc-devs/nuts-rs/pull/4",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1560004504 | "onClick" was passed to with href of some link but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link
Describe the bug
When I use pc.link with inner pc.button in pc.tooltip, following messages shows for each the component rendering.
So these many messages make long delay occur when a client browser renders the page after server start.
📅 updated on 2023-01-28 01:11:10
messages :=
"onClick" was passed to with href of a_href_link but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link
"onMouseEnter" was passed to with href of a_href_link but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link
* the number of the component
these messages occur regardless to register on_click event handler.
these messages are not appeared if the component is in DrawerBody component. (is suppressed??)
these messages are not appeared if pc.tooltip is in pc.link. (➡️ Current my ad-hoc)
server works well regardless these messages (I think it is only problem in dev server that outputs logs to terminal)
To Reproduce
def index() -> pc.Component:
return pc.stack(
pc.tooltip(
pc.link(
pc.button(
pc.icon(tag="LinkIcon"),
bg="whitesmoke",
on_click=WordDataState.foo,
),
rel="help",
href="some link",
button=True,
),
label="Move to body section",
),
pc.drawer(
pc.DrawerOverlay.create(
pc.DrawerContent.create(
pc.DrawerHeader.create("DrawerHeader"),
pc.DrawerBody.create(
pc.tooltip(
pc.link(
pc.button(
pc.icon(tag="LinkIcon"),
bg="whitesmoke",
on_click=WordDataState.foo,
),
rel="help",
href="some link",
button=True,
),
label="Move to body section",
),
),
pc.DrawerFooter.create(
pc.button("Close", on_click=WordDataState.toggle_left_drawer)
),
)
),
),
)
Expected behavior
No message.
Screenshots
Specifics (please complete the following information):
Python Version: 3.11.0
Pynecone Version: pynecone-io = "0.1.13"
OS: WSL Ubuntu 22.04 distribution in Windows 11 Version 21H2 (OS Build 22000. 1455)
Browser (Optional): Edge Browser
Shell: Fish shell
Node Version: 18.12.1
Additional context
Add any other context about the problem here.
Using the following code, I'm unable to reproduce the error message with reflex == 0.2.0:
"""Welcome to Reflex! This file outlines the steps to create a basic app."""
from rxconfig import config
import reflex as rx
docs_url = "https://reflex.dev/docs/getting-started/introduction"
filename = f"{config.app_name}/{config.app_name}.py"
class WordDataState(rx.State):
"""The app state."""
def foo(self):
print("foo")
def toggle_left_drawer(self):
print("toggle left drawer")
def index() -> rx.Component:
return rx.stack(
rx.tooltip(
rx.link(
rx.button(
rx.icon(tag="link"),
bg="whitesmoke",
on_click=WordDataState.foo,
),
rel="help",
href="somelink",
button=True,
),
label="Move to body section",
),
rx.drawer(
rx.DrawerOverlay.create(
rx.DrawerContent.create(
rx.DrawerHeader.create("DrawerHeader"),
rx.DrawerBody.create(
rx.tooltip(
rx.link(
rx.button(
rx.icon(tag="link"),
bg="whitesmoke",
on_click=WordDataState.foo,
),
rel="help",
href="some link",
button=True,
),
label="Move to body section",
),
),
rx.DrawerFooter.create(
rx.button("Close", on_click=WordDataState.toggle_left_drawer)
),
)
),
),
)
# Add state and page to the app.
app = rx.App(state=WordDataState)
app.add_page(index)
app.add_page(rx.text("some link"), route="/somelink")
app.compile()
The link component was improved recently in the move to Next 15, please retest and reopen if the issue persists.
| gharchive/issue | 2023-01-27T16:00:28 | 2025-04-01T06:45:31.173972 | {
"authors": [
"masenf",
"wbfw109"
],
"repo": "pynecone-io/pynecone",
"url": "https://github.com/pynecone-io/pynecone/issues/360",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
114361020 | Progress on pyCO2, and/or considering mocsys for ioos/conda-recipes
@ocefpaf, I know you don't have time to work on pyCO2 on your own. God knows where you even find the time to do everything you already do!
I wanted to ask if an offer to help out would make a difference in your time allocation. I'll warn you that I've never used CO2SYS myself, so I have no idea how much work this is. However, I do have a pretty strong understanding of the carbonate system. As I've mentioned before, I'm also quite involved in Ocean Acidification data projects, from local (Pacific NW) to "regional" to global. I'm pretty interested in seeing a Python carbonate-system package. Though I no longer speak Matlab, I can still read it; from what I've read [1], CO2SYS-MATLAB is a better starting point for CO2SYS than the R version you may have been looking at (seacarb?).
Another option that's probably a lot easier than reimplementing CO2SYS in Python is to create an ioos conda recipe for mocsy [2], a Fortran library that already includes examples for running it from Python. Since you already handle (I assume seamlessly ...) Fortran dependencies on the ioos conda recipes, I assume that creating a recipe for mocsy would be easy, and I'm willing to help and test.
mocsy was developed mainly to support ocean models [2], but in terms of its accuracy and implementation of the latest, recommended thermodynamic constants and formulations, it compares extremely well with CO2SYS [1]. I think the main disadvantages for wide use is that it only accepts for input the carbonate-variables pair most used in models, AT and CT, rather than the much broader options available with CO2SYS. But if it's fairly straightforward to add it to the ioos binstar (anaconda server?) channel, that would be a nice contribution to the community; and I could consider contributing user-oriented Python enhancements in the future. Also, creating an as-is mocsy conda package doesn't exclude working on a Python CO2SYS-MATLAB implementation in the future.
Ask your wife if she likes these ideas ;)
[1] Orr, J. C., Epitalon, J.-M., and Gattuso, J.-P.: Comparison of ten packages that compute ocean carbonate chemistry, Biogeosciences, 12, 1483-1510, doi:10.5194/bg-12-1483-2015, 2015
[2] Orr, J. C. and Epitalon, J.-M.: Improved routines to model the ocean carbonate system: mocsy 2.0, Geosci. Model Dev., 8, 485-499, doi:10.5194/gmd-8-485-2015, 2015
I should mention that previously I installed and played with another geochemical computational package in Python, phreeqpy. phreecpy is a Python wrapper around a powerful Fortran package, in this case, PHREEQC, using the IPhreeqc interface (very much a Windows-flavored, COM based/styled interface).
I would love to see a conda phreecpy package, too. My only concern would be that phreecpy doesn't seem to be maintained anymore, but I could find out more with the developer.
FYI, my interest in enabling geochemical workhorse packages in Python is not new ...
@emiliom Your interest in this is reassuring! I do want to make some time for this library in the near future. Maybe the end of the year break... But python-gsw is at the top of the queue.
CO2SYS-MATLAB is a better starting point for CO2SYS than the R version you may have been looking at (seacarb?).
Yes. That does seem like a better starting point. I do have some uncommitted code that goes in that direction that @juoceano (my wife) and I worked on this for SciPy2015.
conda recipe for mocsy [2]
Interesting. I did not know about mocsy. I will take a look.
But if it's fairly straightforward to add it to the ioos binstar
The short answer is "kind of." The code is not "installable". I see some functions that need to be wrapped as a library.
Ask your wife if she likes these ideas ;)
She does! She reminds me everyday to work on this :smile_cat:
I would love to see a conda phreecpy package
I just took a very quick look and it seems to be a ctypes wrapper to a c-lib. That will require some patches to get things in the right place but it is doable.
My interest in enabling geochemical workhorse packages in Python is not new ...
That is a noble goal! I will help with the conda packaging as much as I can.
PS: Are you going to Ocean Sciences in New Orleans?
Thanks for your replies! I'll start from the end:
I'm 85% sure I'm going to Ocean Sciences. I submitted an abstract (on ocean acidification data management ...). I just need to go through my budgets to confirm that I have the funds. I assume you're going?
I would love to see a conda phreecpy package
I just took a very quick look and it seems to be a ctypes wrapper to a c-lib. That will require some patches to get things in the right place but it is doable.
Thanks for your assessment. Given your limited time, I suggest you don't bother with phreeqpy yet. PHREEQC is probably not used by oceanographers much. Let's focus on carbonate-system packages instead. I just wanted to mention this in this context, for future reference.
But if [mocsy is] fairly straightforward to add it to the ioos binstar
The short answer is "kind of." The code is not "installable". I see some functions that need to be wrapped as a library.
I can get in touch with the mocsy author, James Orr, who is on github. He's a pretty well known oceanographer/modeler. I'm optimistic that he will be interested in making mocsy more readily useable. BTW, he also seems to be linked with the guy who wrote ipython-ferretmagic!
Let me know if I should go ahead and contact James. I would need your help in telling him what's needed to make his code fully installable.
Coincidentally, I just realized that I may have a near-term application for mocsy! I'm working with a regional ROMS modeler who has an adaptation with biogeochemistry and the carbonate system. We will be ingesting some of his carbonate system output over the next couple of months, and I know we'll need to convert from CT and AT to pCO2, etc. mocsy fits right in. Plus, he uses Python, too.
I don't know how much of an audience there will be for a CO2SYS-Python. We can discuss CO2SYS-Python later, after taking care of mocsy if it does turn out to be "fairly" easy.
Ask your wife if she likes these ideas ;)
She does! She reminds me everyday to work on this
Too funny!
I assume you're going?
Yes. It would be nice to meet and maybe get some work done :wink:
I just wanted to mention this in this context, for future reference.
Best way to keep track of this is to open issues at https://github.com/ioos/conda-recipes/pull/539#partial-pull-merging. I am opening issues for both packages. (See https://github.com/ioos/conda-recipes/issues/550 and https://github.com/ioos/conda-recipes/issues/551.)
I can get in touch with the mocsy author, James Orr, who is on github. He's a pretty well known oceanographer/modeler.
Give me a week to take a better look at the code first. Maybe it will be simple...
I don't know how much of an audience there will be for a CO2SYS-Python. We can discuss CO2SYS-Python later, after taking care of mocsy if it does turn out to be "fairly" easy.
OK let's make packaging mocsy a priority.
Great, thanks! mocsy it is.
And yes, look forward to getting work done with you at Ocean Sciences.
I'm using this issue to minimize noise on others, and also to treat this as an ongoing, broader discussion.
At Ocean Sciences a few weeks ago you mentioned you had some ideas about improving the fortran wrapping for mocsy. Any chance we (ie, mainly you!) could spend some time on this in the next 2 weeks??
I'm going to an Ocean Acidification (OA) observing network workshop in Australia in two weeks. I'll be giving a presentation on a new global OA data portal we're developing. Just before my presentation, Jim Orr (mocsy author) will present on "Carbonate chemistry calculation considerations". It'd be great to have more progress on our improvements to the Python mocsy package by then, to be able to discuss with Jim. Jim has made a number of updates to mocsy since we were last in touch with him in November.
I realize two weeks is a short time, but it doesn't hurt to ask ... No worries if you can't.
I'm also looking forward to seeing the progress made on the Python CO2SYS implementation by the person who contacted you a couple of weeks ago.
At Ocean Sciences a few weeks ago you mentioned you had some ideas about improving the fortran wrapping for mocsy. Any chance we (ie, mainly you!) could spend some time on this in the next 2 weeks??
@emiliom to be honest I have the boilerplate specs needed to fix mocsy, but I have no idea how easy it will be be. (If what I have in mind works it can be just a few hours.)
I will be away from the 21-24th April helping @juoceano in a field sampling. I will prioritize this once I get back.
Thanks. Hopefully what you have in mind will work!
I'm curious: is this your Manaus/Amazon field work?
I'm curious: is this your Manaus/Amazon field work?
Not yet. That will be by the end of the year. This is a small trip to South of Bahia to collect soil around Eucalyptus crops. Don't really know the science behind it as I am just the muscle to dig holes on the ground for this one :wink:
With https://github.com/jamesorr/mocsy/pull/3 and https://github.com/ioos/conda-recipes/blob/master/recipes/mocsy/meta.yaml in place I guess we can cose this issue.
| gharchive/issue | 2015-10-30T21:42:31 | 2025-04-01T06:45:31.199142 | {
"authors": [
"emiliom",
"ocefpaf"
],
"repo": "pyoceans/pyCO2",
"url": "https://github.com/pyoceans/pyCO2/issues/5",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
724632378 | /usr/bin/python3: No module named pipenv.pew
Issue description
Using /usr/bin/python3 (3.8.5) to create virtualenv…
⠋/usr/bin/python3: No module named pipenv.pew
Virtualenv location:
Creating a Pipfile for this project…
Traceback (most recent call last):
File "/usr/bin/pipenv", line 11, in
load_entry_point('pipenv==11.9.0', 'console_scripts', 'pipenv')()
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pipenv/cli.py", line 641, in check
core.do_check(
File "/usr/lib/python3/dist-packages/pipenv/core.py", line 2241, in do_check
ensure_project(three=three, python=python, validate=False, warn=False)
File "/usr/lib/python3/dist-packages/pipenv/core.py", line 636, in ensure_project
ensure_pipfile(validate=validate, skip_requirements=skip_requirements)
File "/usr/lib/python3/dist-packages/pipenv/core.py", line 289, in ensure_pipfile
project.create_pipfile(python=python)
File "/usr/lib/python3/dist-packages/pipenv/project.py", line 518, in create_pipfile
'python_version': python_version(required_python)[: len('2.7')]
TypeError: 'NoneType' object is not subscriptable
Expected result
That the programs does not throw an exception.
Steps to replicate
Install on Ubuntu 20.04
sudo apt-get install pipenv
pipenv check
pipenv --support | xclip
Error: no such option: --support
You are using a very outdated version of pipenv, please upgrade
Thank you, this resolved my issue!
| gharchive/issue | 2020-10-19T13:54:43 | 2025-04-01T06:45:31.266917 | {
"authors": [
"Mause",
"davidh38"
],
"repo": "pypa/pipenv",
"url": "https://github.com/pypa/pipenv/issues/4496",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1088803301 | [BUG] setuptools>=60 fails to find Python.h on Pyston
setuptools version
setuptools>=60
Python version
Pyston 2.3.1
OS
Ubuntu 20.04, 21.10. Gentoo. Debian 11.
Additional environment information
Pyston-2.3.1 installed via pyenv inside of an isolated Docker-Container with no system Python-Components installed.
Description
Trying to install numpy results in an error about it not finding Python.h when calling distutils try_compile.
It does not give any indication on where it's looking for it, but another package, Pandas also exhibits this issue, though when calling gcc. It's passing -I/usr/local/pyenv/versions/pyston-2.3.1/include/python3.8 to gcc. While the correct path would be /usr/local/pyenv/versions/pyston-2.3.1/include/python3.8-pyston2.3.
Dumping sysconfig.get_paths() does show the correct include path, so that's not where it is getting it from.
This is a relatively recent issue. This worked a week ago, and downgrading to setuptools<60 makes the issue go away.
Expected behavior
Well, I'd expect a successful build.
How to Reproduce
Setup a pyenv environment with latest Pyston (currentls 2.3.1).
Upgrade pip/setuptools/wheel inside of that environment to latest versions.
pip install numpy
Output
# pip install --no-cache-dir numpy
Collecting numpy
Downloading numpy-1.21.5.zip (10.7 MB)
|████████████████████████████████| 10.7 MB 4.1 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: numpy
Building wheel for numpy (pyproject.toml) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/pyenv/versions/pyston-2.3.1/bin/python /usr/local/pyenv/versions/pyston-2.3.1/lib/python3.8-pyston2.3/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmp5il3akyy
cwd: /tmp/pip-install-xkdkddw0/numpy_d7c39e368b80449c84a5556ec68ea3b9
Complete output (95 lines):
Processing numpy/random/_bounded_integers.pxd.in
Processing numpy/random/mtrand.pyx
Processing numpy/random/_sfc64.pyx
Processing numpy/random/_mt19937.pyx
Processing numpy/random/_philox.pyx
Processing numpy/random/_pcg64.pyx
Processing numpy/random/_common.pyx
Processing numpy/random/_generator.pyx
Processing numpy/random/_bounded_integers.pyx.in
Processing numpy/random/bit_generator.pyx
Cythonizing sources
creating /tmp/tmpficqc93o/tmp
creating /tmp/tmpficqc93o/tmp/tmpficqc93o
non-existing path in 'numpy/distutils': 'site.cfg'
running bdist_wheel
running build
running config_cc
running config_fc
running build_src
creating build
creating build/src.linux-x86_64-3.8
creating build/src.linux-x86_64-3.8/numpy
creating build/src.linux-x86_64-3.8/numpy/distutils
creating build/src.linux-x86_64-3.8/numpy/core
creating build/src.linux-x86_64-3.8/numpy/core/src
creating build/src.linux-x86_64-3.8/numpy/core/src/npymath
creating build/src.linux-x86_64-3.8/numpy/core/src/multiarray
Running from numpy source directory.
/tmp/pip-install-xkdkddw0/numpy_d7c39e368b80449c84a5556ec68ea3b9/numpy/distutils/system_info.py:2026: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
if self._calc_info(blas):
Warning: attempted relative import with no known parent package
/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
Traceback (most recent call last):
File "/usr/local/pyenv/versions/pyston-2.3.1/lib/python3.8-pyston2.3/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
main()
File "/usr/local/pyenv/versions/pyston-2.3.1/lib/python3.8-pyston2.3/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/local/pyenv/versions/pyston-2.3.1/lib/python3.8-pyston2.3/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 261, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/setuptools/build_meta.py", line 230, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/setuptools/build_meta.py", line 267, in run_setup
super(_BuildMetaLegacyBackend,
File "/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/setuptools/build_meta.py", line 158, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 448, in <module>
setup_package()
File "setup.py", line 440, in setup_package
setup(**metadata)
File "/tmp/pip-install-xkdkddw0/numpy_d7c39e368b80449c84a5556ec68ea3b9/numpy/distutils/core.py", line 169, in setup
return old_setup(**new_attr)
File "/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/setuptools/_distutils/core.py", line 148, in setup
dist.run_commands()
File "/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/tmp/pip-install-xkdkddw0/numpy_d7c39e368b80449c84a5556ec68ea3b9/numpy/distutils/command/build.py", line 61, in run
old_build.run(self)
File "/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/setuptools/_distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-yaf4w4eu/overlay/lib/python3.8-pyston2.3/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/tmp/pip-install-xkdkddw0/numpy_d7c39e368b80449c84a5556ec68ea3b9/numpy/distutils/command/build_src.py", line 144, in run
self.build_sources()
File "/tmp/pip-install-xkdkddw0/numpy_d7c39e368b80449c84a5556ec68ea3b9/numpy/distutils/command/build_src.py", line 161, in build_sources
self.build_extension_sources(ext)
File "/tmp/pip-install-xkdkddw0/numpy_d7c39e368b80449c84a5556ec68ea3b9/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
sources = self.generate_sources(sources, ext)
File "/tmp/pip-install-xkdkddw0/numpy_d7c39e368b80449c84a5556ec68ea3b9/numpy/distutils/command/build_src.py", line 378, in generate_sources
source = func(extension, build_dir)
File "numpy/core/setup.py", line 434, in generate_config_h
moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
File "numpy/core/setup.py", line 44, in check_types
out = check_types(*a, **kw)
File "numpy/core/setup.py", line 289, in check_types
raise SystemError(
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
----------------------------------------
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
Code of Conduct
[X] I agree to follow the PSF Code of Conduct
For background, Setuptools intentionally made a breaking change in version 60, making the local copy of distutils the preferred version. As a result, any behaviors that rely on a patched or monkey-patched version of distutils in the standard library will not work. The temporary escape hatch is to set SETUPTOOLS_USE_DISTUTILS=stdlib.
There are known incompatibilities between Setuptools and numpy (see #2372).
Dumping sysconfig.get_paths() does show the correct include path
Unfortunately, the "include" paths presented by sysconfig are insufficient for distutils, which instead requires a path called "headers". Distutils works around this limitation by supplying the "headers" path for schemes that don't include it (see https://github.com/pypa/distutils/issues/88#issuecomment-1000388214).
As I see it, this issue is essentially a duplicate of #2372 and numpy users should rely on SETUPTOOLS_USE_DISTUTILS=stdlib until numpy no longer relies on monkeypatching.
| gharchive/issue | 2021-12-26T16:25:49 | 2025-04-01T06:45:31.281389 | {
"authors": [
"BtbN",
"jaraco"
],
"repo": "pypa/setuptools",
"url": "https://github.com/pypa/setuptools/issues/2972",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
1440083687 | [BUG] project.script-files is a configuration error
setuptools version
65.5.1
Python version
3.10
OS
fedora37
Additional environment information
No response
Description
The project.script-files key is currently described as deprecated (https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration), but using it crashes setuptools.
Expected behavior
No crash. (Or if the key is now unsupported, it should just be removed from the docs, not listed as deprecated.)
How to Reproduce
Create the following pyproject.toml
[build-system]
requires = ["setuptools==65.5.1"]
build-backend = "setuptools.build_meta"
[project]
name = "testpkg"
version = "0.0.1"
script-files = ["myscript.py"]
and an empty myscript.py next to it.
Then run pip wheel . (for example).
Output
Processing /tmp/foo
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
Traceback (most recent call last):
File "/home/antony/miniconda3/envs/default/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
main()
File "/home/antony/miniconda3/envs/default/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/antony/miniconda3/envs/default/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-yi7zcr_g/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-yi7zcr_g/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 320, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-yi7zcr_g/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
exec(code, locals())
File "<string>", line 1, in <module>
File "/tmp/pip-build-env-yi7zcr_g/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/tmp/pip-build-env-yi7zcr_g/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 159, in setup
dist.parse_config_files()
File "/tmp/pip-build-env-yi7zcr_g/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 868, in parse_config_files
pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
File "/tmp/pip-build-env-yi7zcr_g/overlay/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 62, in apply_configuration
config = read_configuration(filepath, True, ignore_option_errors, dist)
File "/tmp/pip-build-env-yi7zcr_g/overlay/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 126, in read_configuration
validate(subset, filepath)
File "/tmp/pip-build-env-yi7zcr_g/overlay/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 51, in validate
raise ValueError(f"{error}\n{summary}") from None
ValueError: invalid pyproject.toml config: `project`.
configuration error: `project` must not contain {'script-files'} properties
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Hi @anntzer, please note that in our docs, we describe script-files as part of the [tool.setuptools] table, not the [project] table.
Oops, sorry for the noise!
| gharchive/issue | 2022-11-08T12:14:26 | 2025-04-01T06:45:31.287960 | {
"authors": [
"abravalheri",
"anntzer"
],
"repo": "pypa/setuptools",
"url": "https://github.com/pypa/setuptools/issues/3665",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
1275770664 | python3.7 -m pip install paddlepaddle==2.0.0 -i https://mirror.baidu.com/pypi/simple
Looking in indexes: https://mirror.baidu.com/pypi/simple
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=.HTTPSConnection object at 0x7f23b734a490>: Failed to establish a new connection:
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=.HTTPSConnection object at 0x7f23b73aaf50>: Failed to establish a new connection:
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=.HTTPSConnection object at 0x7f23b734a790>: Failed to establish a new connection:
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=.HTTPSConnection object at 0x7f23b734aa10>: Failed to establish a new connection:
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=.HTTPSConnection object at 0x7f23b734ad50>: Failed to establish a new connection:
ERROR: Could not find a version that satisfies the requirement paddlepaddle==2.0.
ERROR: No matching distribution found for paddlepaddle==2.0.0
how to solve this
Hi, this issue tracker is for issues with the codebase behind https://pypi.org itself, not PyPI mirrors.
You should report this issue to the tracker for the project in question instead.
| gharchive/issue | 2022-06-18T11:48:47 | 2025-04-01T06:45:31.296158 | {
"authors": [
"KishoreElvicto",
"di"
],
"repo": "pypa/warehouse",
"url": "https://github.com/pypa/warehouse/issues/11611",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
460103470 | Macaroon-based API keys
Based on https://github.com/dstufft/warehouse/pull/2.
TODO:
[x] Package-scoped tokens
[x] Unit tests
Thanks @moshez and @webknjaz! I'll be addressing your feedback, but could you hold off on providing more until the "[WIP]" is removed from the title?
@webknjaz, did you see @woodruffw's request above?
I'll be addressing your feedback, but could you hold off on providing more until the "[WIP]" is removed from the title?
Yeah, I just got a notification and was tempted to promptly leave small comments... I'll try to not do that while it's wip :)
This should be ready for initial testing, for the adventurous.
Some quick notes:
The UI is functional, but needs to be updated to conform to PyPI's design
Our current auth-policy is drop-in compatible with Twine and distutils. When using a token, your "username" will be @token and your "password" will be the token itself
This is not technically accurate -- this user account is allowed to upload to that project, but the token isn't. And maybe we don't want to leak the username in this error message. If we see that it's a token being used, can/should we change the error message in this case to something like "This token isn't allowed to upload to project 'name'"?
Yep, this needs to be changed here:
https://github.com/pypa/warehouse/blob/0d9c726153394cf6aca178c9015c467707fbaa2e/warehouse/forklift/legacy.py#L944-L954
It might be difficult to parametrize the error message in this context, so I could replace "user" with "credential owned by user" -- thoughts?
Re: leaking the username: this check happens after an authorization check, so we already have a valid credential (just not one for this package). As such it isn't an infoleak per se (and might be useful to users doing complicated deployments, since their error messages will tell them which underlying user identity failed).
Hi @woodruffw - I have pushed changes as discussed.
I'll need your help with the following:
[ ] It should be possible to delete an API token from the token management page, in addition to on the manage account page (using the 'remove' button)
[ ] API token delete confirmation message should include the API token name. E.g. API token deleted should become Deleted API token "my token"
[ ] API token delete confirmation message should appear on the same page the deletion was initated from (i.e. either the manage account page, or the manage token page)
Thanks :)
It might be difficult to parametrize the error message in this context, so I could replace "user" with "credential owned by user" -- thoughts?
Instead of The user 'brainwane' isn't allowed to upload to project 'Forms990-analysis' could we do something like The API token you are using is not valid for project 'Forms990-analysis' ?
As per @brainwane's comment above, it would also be nice to hide the "create token" UI if the user does not have a verified email address. For 2fa, we have a permission called user.two_factor_provisioning_allowed. Could we please do the same thing for API tokens?
Yep -- I'm going to rename two_factor_provisioning_allowed to has_primary_verified_email and re-use it.
Instead of The user 'brainwane' isn't allowed to upload to project 'Forms990-analysis' could we do something like The API token you are using is not valid for project 'Forms990-analysis' ?
This might be a little difficult with the current permission system: from within the view we can only see that has_permission returned False, not why it did so. I updated the language to be a bit more generic, but we'd probably have to consider adding a mechanism for side-channeling the actual reason.
I updated the language to be a bit more generic, but we'd probably have to consider adding a mechanism for side-channeling the actual reason.
I don't think this is MVP. Could we open a separate ticket for this?
I don't think this is MVP. Could we open a separate ticket for this?
Yep! I'll do that now.
Weird CI failures here:
For lint:
/home/travis/virtualenv/python3.7.3/bin/html_lint.py --printfilename --disable=optional_tag,names,protocol,extra_whitespace,concerns_separation `find ./warehouse/templates -path ./warehouse/templates/legacy -prune -o -name '*.html' -print`
Traceback (most recent call last):
File "/home/travis/virtualenv/python3.7.3/bin/html_lint.py", line 66, in <module>
sys.exit(html_linter.main(options))
File "/home/travis/virtualenv/python3.7.3/lib/python3.7/site-packages/html_linter.py", line 1094, in main
clean_html = template_remover.clean(io.open(filename).read())
File "/home/travis/virtualenv/python3.7.3/lib/python3.7/site-packages/template_remover.py", line 258, in clean
return _TemplateRemover(html_content, pattern).get_clean_content()
File "/home/travis/virtualenv/python3.7.3/lib/python3.7/site-packages/template_remover.py", line 199, in get_clean_content
assert False, 'Echo tags should be in just one line.'
AssertionError: Echo tags should be in just one line.
and dependencies:
# install ipython if enabled
/home/travis/virtualenv/python3.7.3/bin/pip-compile --no-annotate --no-header --upgrade --allow-unsafe -o /tmp/tmp.JBxyonQDnV/deploy.txt requirements/deploy.in > /dev/null
Traceback (most recent call last):
File "/home/travis/virtualenv/python3.7.3/bin/pip-compile", line 10, in <module>
sys.exit(cli())
File "/home/travis/virtualenv/python3.7.3/lib/python3.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/travis/virtualenv/python3.7.3/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/travis/virtualenv/python3.7.3/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/travis/virtualenv/python3.7.3/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/travis/virtualenv/python3.7.3/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/travis/virtualenv/python3.7.3/lib/python3.7/site-packages/piptools/scripts/compile.py", line 256, in cli
repository = PyPIRepository(pip_options, session, build_isolation)
File "/home/travis/virtualenv/python3.7.3/lib/python3.7/site-packages/piptools/repositories/pypi.py", line 95, in __init__
self.finder = PackageFinder(**finder_kwargs)
TypeError: __init__() got an unexpected keyword argument 'find_links'
Makefile:130: recipe for target 'deps' failed
Any ideas @dstufft @ewdurbin?
@woodruffw The dependencies failure is due to https://github.com/jazzband/pip-tools/issues/856, we'll either have to wait until they release a new version, or pin back the version of pip we're using in that job.
preemptively tested what we'll need to change to disable password uploads for users with some form of two-factor enabled, and it seems as straightforward as.
diff --git a/warehouse/accounts/__init__.py b/warehouse/accounts/__init__.py
index 8c4c6961..e618755b 100644
--- a/warehouse/accounts/__init__.py
+++ b/warehouse/accounts/__init__.py
@@ -32,7 +32,7 @@ from warehouse.accounts.services import (
database_login_factory,
)
from warehouse.email import send_password_compromised_email_hibp
-from warehouse.errors import BasicAuthBreachedPassword
+from warehouse.errors import BasicAuthBreachedPassword, BasicAuthTwoFactor
from warehouse.macaroons.auth_policy import (
MacaroonAuthenticationPolicy,
MacaroonAuthorizationPolicy,
@@ -70,6 +70,11 @@ def _basic_auth_login(username, password, request):
raise _format_exc_status(
BasicAuthBreachedPassword(), breach_service.failure_message_plain
)
+ elif user.has_two_factor:
+ raise _format_exc_status(
+ BasicAuthTwoFactor(),
+ f"{user.username} has enabled two-factor auth, provision an API Token!",
+ )
elif login_service.check_password(
user.id, password, tags=["method:auth", "auth_method:basic"]
):
diff --git a/warehouse/errors.py b/warehouse/errors.py
index 73b75209..347367cc 100644
--- a/warehouse/errors.py
+++ b/warehouse/errors.py
@@ -15,3 +15,7 @@ from pyramid.httpexceptions import HTTPUnauthorized
class BasicAuthBreachedPassword(HTTPUnauthorized):
pass
+
+
+class BasicAuthTwoFactor(HTTPUnauthorized):
+ pass
| gharchive/pull-request | 2019-06-24T21:25:38 | 2025-04-01T06:45:31.311592 | {
"authors": [
"di",
"ewdurbin",
"nlhkabu",
"webknjaz",
"woodruffw"
],
"repo": "pypa/warehouse",
"url": "https://github.com/pypa/warehouse/pull/6084",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
875565984 | Verbose security log message for yanked release
Fixes #8564
This PR is a very straightforward one and with no tests since it's just HTML. So, as a minimal proof that it's working, here's a print screen from my local env:
Do we know if event.additional.canonical_version and event.additional.submitted_by are present on all existing events? (were they added in the same PR as the yanked events themselves ?
Otherwise this may create problems.
| gharchive/pull-request | 2021-05-04T15:13:32 | 2025-04-01T06:45:31.314080 | {
"authors": [
"berinhard",
"ewjoachim"
],
"repo": "pypa/warehouse",
"url": "https://github.com/pypa/warehouse/pull/9462",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
1932097970 | Refactor Upload + Better Metadata Handling
This is still a work in progress, none of the tests are working/updated and there's still pending work to be done (see everything with a FIXME comment), opening this now as a draft though to give people a chance to start looking at it and giving their thoughts.
The upload endpoint in Warehouse is a gnarly endpoint, It's currently a single ~1600 line file and it is not well factored. Following the logic of what is happening and where it's happening requires careful reading of a large view function, where different parts have various inter-dependencies that are not particularly clear.
To make matters worse, the metadata handling in the upload endpoint is using a bespoke metadata implementation, which sometime differs from how other systems validate, and due to the historical "shape" this API took, the metadata that we're validating and storing isn't actually the metadata that clients will be using-- that metadata lives in the uploaded artifacts, but instead is sent by the upload client alongside the upload [^1].
So what does this Pull Request do? It refactors/revamps the uploading handling to try and fix all of these issues to move us to a better overall standing.
Concretely, it does the following:
Breaks the upload() view up into smaller functions, making it easier to follow the overall flow of the upload function without getting bogged down into details and making the requirements/dependencies that these "sub sections" have clearer and more obvious.
We attempt to minimize the back and forth between validation, protocol handling, and constructing database objects.
Extracts the metadata out of the artifact, and uses that to populate the database.
Currently this only works for wheel files, but we are setup to add support for sdist too with Metadata 2.2.
Falls back to using the metadata from the form data as we do today, but only for artifacts that we know we can't extract metadata from (i.e. we don't treat failing to extract from a wheel as a non-error that falls back to form data).
Uses packaging.metadata as the canonical representation of our metadata and to handle validation of the metadata.
We still layer our own validation on top of packaging.metadata, because we have extra constraints that are special to Warehouse.
Fixes the metadata handling for some fields that we were either accidentally ignoring (we support up to metadata 2.2, but we missed implementing some fields) or where we were incorrectly handling the values (multi use fields being treated like single use fields, etc).
Stops supporting md5 digest as a valid digest to verify an uploaded file.
We still compute/store it, but we no longer accept uploads that only have a md5. They need to have a sha256 or blake2_256.
Stops supporting uploads for ancient releases where Release.canonical_version returns multiple objects [^3].
This should mean that the metadata that we record in Warehouse is much more likely to match what installers like pip will see when introspecting the artifact itself.
It also means that Warehouse is going to be more strict in what it accepts, because the metadata parsing in packaging.metadata has been carefully written to avoid silently allowing possibly ambiguous data (and as far as I know, it's the only parser that currently does that). That means that cases like:
Multiple uses of single use keys will be errors (currently all other parsers just pick either the first or last value).
Unknown fields will be errors (currently all other parsers just skip them).
Because we're extracting metadata out of the artifact rather than using the form data (where possible) we had to change the order of operations, which previously looked something like:
Process / Validate the metadata (from the multipart form data) and the "upload data" (file hashes, package type, filename, etc).
Get or create the Project declared in the metadata.
Check if the request is authorized to upload to Project.
Check if the description can be rendered.
Get or create the Release for the version declared in the metadata.
Do more validations around the filename (project-version.ext? invalid characters, etc).
Buffer the uploaded file to a temporary location on disk.
Do more validations (valid dist? duplicate file? etc).
Check if the file is a wheel, and do more validations that the filename of the wheel is valid.
If the file is a Wheel, extract the METADATA file.
Create the File object in the database.
Upload the artifact + metadata to S3.
However, the new order of operations looks more like this:
Process / Validate the "upload data" (file hashes, package type, filename, etc) and only the project name and version (from form data).
This includes all filename validation that we can do without access to the database or metadata besides name + version.
Get or create the Project from the name we got from the form data.
Check if the request is authorized to upload to Project.
Do any validations of the filename that requires access to the database (duplicate file checks, etc).
Buffer the uploaded file to a temporary location on disk.
Validate that the file itself is a valid distribution file.
Extract the METADATA file (if we can, currently wheel only).
Construct a validated packaging.metadata.Metadata object, using the extracted METADATA or the form data if the dist isn't the kind we can extract METADATA from.
This includes fully validating the metadata with any additional rules we add onto it that don't require access to the database.
This also includes checking if the metadata.description is able to be rendered.
Get or create the Release for the version declared in the metadata.
Create the File object in the database.
Upload the artifact + metadata to S3.
We do end up shifting more of the filename validation to happen prior to ever buffering the uploaded file, which should allow those particular checks to bail out faster and do less work. However, we do shift metadata validation to happen after we've buffered the uploaded file, which will delay those particular checks to later in the request/response cycle [^2].
Another subtle change is that by moving the duplicate file check prior to buffering the uploaded file to disk, we have to implicitly trust that the sha256 and/or blake2_256 digest that the client provides us is accurate when deciding to no-op the upload. This should be perfectly safe as we treat the entire upload as a no-op (including dooming the transaction) so the most a malicious client can do is trick Warehouse into either either turning an error into a no-op, or a no-op into an error.
Things still left to do:
[ ] Sanitize the Metadata of UNKNOWN values.
[x] Actually drop support for md5 as a "verifying digest".
[x] Implement support for pulling version out of the form data and moving all of the name/version checks to happen prior to buffering the file.
[ ] Sort out the best place to render the description (it would be nice to include it in Metadata, but the Metadata class doesn't have support for the rendered description).
[ ] Migrate the database to correctly handle the incorrectly handled Metadata 2.2 or earlier fields.
[ ] Determine how to update BigQuery to correctly handle the incorrectly handled Metadata 2.2 or earlier fields.
[ ] Validate that the name/version from the form metadata matches the name/version from the metadata.
[ ] Finish error handling
[ ] Update / Write tests.
[ ] https://github.com/pypi/warehouse/issues/14717
I have more improvements to this I plan to do as well, but I'm going to keep them out of this PR since it's already big enough.
[^1]: The most popular tool for uploading is twine, which just reads the METADATA or PKG-INFO files and then sends that along. In theory this should be equivalent to us extracting the METADATA files ourselves. This isn't actually always true in practice though, any time the upload client reads the metadata they risk transforming it in incompatible ways, missing fields, etc that is hidden from us unless we look at the METADATA file itself.
[^2]: While this PR currently ignores all of the core metadata that is being sent in the form data besides name/version, we could still consume that data and validate it prior to buffering the uploaded file to disk, then extract the METADATA file, parse it, and ensure that it matches the metadata that was sent in the form data.
This PR chooses not to do that because the metadata in the file is the authoritative copy, and if that differs from the form data it likely means that the upload client had a bug... but we can choose whether or not we turn that bug into an error or just silently doing the right thing... so we just silently do the right thing.
[^3]: The structure of this made things more difficult to refactor out, and it's been like 10+ years since we allowed uploading multiple distinct versions that all canonicalize to the same thing, so nobody should be hitting this today unless they're trying to release something to an ancient version.
Note: I opened https://github.com/pypi/warehouse/issues/14717 to discuss a change I'm planning to make that affects this PR.
I guess I should also mention, once I have this PR in a state that I'm happy with as an outcome, I'll probably try and break this up into smaller PRs to make them easier to review, it was just easier to figure out how this should look lumping it all together.
Blocked on https://github.com/pypa/packaging/issues/733
Also blocked on https://github.com/pypa/packaging/pull/736.
| gharchive/pull-request | 2023-10-08T22:57:14 | 2025-04-01T06:45:31.347152 | {
"authors": [
"dstufft"
],
"repo": "pypi/warehouse",
"url": "https://github.com/pypi/warehouse/pull/14716",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
2004421775 | refactor: replace identity lookups
When determining whether a request is from a given user, we should check the request.identity instead of the authenticated_userid string.
Starts to address the TODO here by replacing any direct usages of MultiSecurityPolicy.authenticated_userid. The TODO and other pieces may be removed later.
| gharchive/pull-request | 2023-11-21T14:34:06 | 2025-04-01T06:45:31.349642 | {
"authors": [
"miketheman"
],
"repo": "pypi/warehouse",
"url": "https://github.com/pypi/warehouse/pull/14949",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
2386360616 | Parallelize the unit tests
Opening this o/b/o @DarkaMaul from @miketheman's original work.
On my local machine, this results in a ~2 speedup in testing: from roughly 2 minutes for the entire suite to 1. More speedups may be possible, e.g. in stand-up and coverage merging.
Closes #16178.
Looks like the speedup isn't as significant on CI, which is interesting.
Is there maybe a way to locally disable this? For whatever reason, starting up the xdist workers on my machine made the test suite run take longer than it did before this change. I'm also missing the output which shows which test files failed as the test suite runs, as they're no longer displayed.
Is there maybe a way to locally disable this?
This should disable parallelization (by forcing everything onto one worker): make tests TESTARGS='-n 1'. On my local machine that spawns only one worker, at least.
I'll look into improving the failure render as well.
FWIW, looks like -n 0 fully disables pytest-xdist. Using -n 1 for me was still just as slow.
| gharchive/pull-request | 2024-07-02T14:04:30 | 2025-04-01T06:45:31.352860 | {
"authors": [
"di",
"woodruffw"
],
"repo": "pypi/warehouse",
"url": "https://github.com/pypi/warehouse/pull/16206",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
2536823114 | requirements: bump pypi-attestations to 0.0.12
This bumps pypi-attestations to 0.0.12 to fix a bug we discovered in the previous series (https://github.com/trailofbits/pypi-attestations/pull/48). The TL;DR is that Pydantic's default Base64 encode/decode behavior isn't what we expected (it injects newlines into the encoded value), resulting in the generation of attestations that aren't consistent with PEP740.
This could have been much worse had we begun to persist and serve attestations, but that fortunately hasn't happened yet 🙂.
See https://github.com/pypa/gh-action-pypi-publish/pull/262 for additional context.
xref https://github.com/pypa/gh-action-pypi-publish/issues/263
| gharchive/pull-request | 2024-09-19T16:25:10 | 2025-04-01T06:45:31.356005 | {
"authors": [
"webknjaz",
"woodruffw"
],
"repo": "pypi/warehouse",
"url": "https://github.com/pypi/warehouse/pull/16757",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
109229069 | Getting the unittest module running
I present this for comments and discussion—not to be merged quite yet.
The plan is that everything will merge nicely onto @perkinslr's stdlib patches. I took his signal module as the basis for mine, but I had to add a few extra stub functions to make it work. The cool thing is, once unittest is running, we can start figuring out exactly how much of the stdlib really does work. We don't have to go on a rampage of fixing everything, at least not immediately, but this feels like a much easier way to know whether ___ works.
I included a script to run the unittest module's unit tests in the root of the repository. I know it should be moved, but I wasn't sure where to put it, so it's there. In that script I wrote about two tests that fail on my machine in PyPy.js and PyPy and CPython, so it'd be great if someone else could see what's going on.
+1. We'll put this to use almost right away in our R&D at trinket. @albertjan's been working on a unittest-based autograder for our teachers to give out assignments to their students.
I'm also a huge fan of your instinct to get an overall sense of test passage. I'd even submit that putting a visualization of such up on http://arewepythonyet.com could be a hugely important planning and prioritization tool for this project. The viz itself would take a lot of thinking through but as a quick example, imagine if box size in this viz was LOC in a file and color was % tests passing:
Then maybe click to drill down for more info or to be taken to the relevant source.
</scope_creep>
That's a great idea, adding a visualization to arewepythonyet.com. Maybe the size of the boxes could represent the number of other modules that import the module-in-question? Or some combination of that and LOC. It will also encourage us to ask questions about which modules should eventually be supported, and which we'll omit.
putting a visualization of such up on http://arewepythonyet.com could be a hugely
important planning and prioritization tool for this project.
A big :+1: to this
| gharchive/pull-request | 2015-10-01T04:48:18 | 2025-04-01T06:45:31.387693 | {
"authors": [
"crantila",
"eah13",
"rfk"
],
"repo": "pypyjs/pypyjs",
"url": "https://github.com/pypyjs/pypyjs/pull/168",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
1589943759 | Make the command shorter and easier to remember
Or we may have an alias.
The command names of the other projects.
poe
doit
npm
make
yarn
mvn
ant
...
To me pypyr sounds a little too long and not easy to remember especially for persuading the other team members to use.
🙂
Thanks @hotohoto! Did you have a particular abbreviation in mind for an alias?
Not really. As a non-native speaker, I'm not quite sure what would be nice. Anyway,,
I'd say...p (and we may make it customizable in case it conflicts with another alise a user might already be using) or may be ppr like mvn or npm doesn't sound meaningful that much but it's short.
I guess it would be better to hear more opnions. Or just feel free to close this issue. I'm not super serious at the moment.😅
hehe, I'm pretty lazy with typing myself, so I admit I was a bit surprised to hear someone who wants even shorter than pypyr 😆
I don't know if ppr or pyr or pp (lol) is really all that much more memorable and functionally shorter than pypyr?
That said, I'm not against the idea and happy to hear further thoughts!
Making it customisable is not so easy from the pypyr installer's perspective - we'd have to pick the sorter aliases in advance, it wouldn't be user configurable.
While we think this through, in the meantime you and your team can use console aliases to make the command whatever you want it to be. . . If you're on zsh, this is how: https://zsh.sourceforge.io/Intro/intro_8.html. Bash follows much the same principle if you want to configure an alias there instead.
I'm going to move this off to discussions where we can continue throwing some ideas around!
| gharchive/issue | 2023-02-17T20:50:05 | 2025-04-01T06:45:31.393720 | {
"authors": [
"hotohoto",
"yaythomas"
],
"repo": "pypyr/pypyr",
"url": "https://github.com/pypyr/pypyr/issues/312",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
89660166 | Add users to Travis
adding myself to upstream travis notifications.
Feel free to hop on this if you'd like to get notifications about pull request status
I think the conflict is with https://github.com/pysal/pysal/commit/c06e0160107a0e09295817239915b993c86f0390 but I can't get this to show up clearly on the command line.
We could close this, and do another one to get around this - basically phil.stphns@gmail.com got removed in the commit before this pr, while the pr added ljwolf
At least that is my sense of the conflict?
I think you're right. super weird on the conflict though. I'll close and reup.
added in a #640
| gharchive/pull-request | 2015-06-19T21:02:14 | 2025-04-01T06:45:31.424093 | {
"authors": [
"ljwolf",
"sjsrey"
],
"repo": "pysal/pysal",
"url": "https://github.com/pysal/pysal/pull/638",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
313529519 | Allow state=None in rule patterns
None should be allowed in MonomerPatterns, to allow for models like
the following:
Monomer('A', ['phospho'], {'phospho': ['u', 'p']})
A(phospho=None) + A(phospho=None) >> A(phospho=1) % A(phospho=1)
#348 missed the mark somewhat... my intention was to disallow undefined
states in species, not in patterns. Such patterns are already detected
as un-concrete, so they are forbidden in initials.
Thanks to @bgyori for spotting and reporting this.
Fixes #355
Coverage decreased (-0.9%) to 74.704% when pulling e24ce639494ed436a3528b3627ad52bf37fd34a0 on alubbock:allow_none_in_rulepattern into a0e3d4ebe00ee351a1cc896890d1534663435e94 on pysb:master.
| gharchive/pull-request | 2018-04-12T00:02:38 | 2025-04-01T06:45:31.438942 | {
"authors": [
"alubbock",
"coveralls"
],
"repo": "pysb/pysb",
"url": "https://github.com/pysb/pysb/pull/356",
"license": "bsd-2-clause",
"license_type": "permissive",
"license_source": "bigquery"
} |
1041352431 | Version 2.0.0 incompatible with Google co-lab pip install
The new update fails to pip install on Google co-lab:
...
Building wheel for pyscf (setup.py) ... Destination directory: /tmp/pip-wheel-2ntur_3d
Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pjqr_jb0/pyscf_55ed2d6694074776a124d95f1e592c38/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pjqr_jb0/pyscf_55ed2d6694074776a124d95f1e592c38/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-2ntur_3d
running bdist_wheel
running build
running build_ext
Configuring extensions
cmake -S/tmp/pip-install-pjqr_jb0/pyscf_55ed2d6694074776a124d95f1e592c38/pyscf/lib -Bbuild/temp.linux-x86_64-3.7
CMake Error: The source directory "" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
error: command 'cmake' failed with exit status 1
error
ERROR: Failed building wheel for pyscf
...
The full verbose output is here:
pip_output.txt
@jdwhitfield, thanks for bringing this to our attention! When I tinkered around with this it seems that the default cmake in the Google Colab (mine was version 3.12.0) doesn't support the -S option that's now in PySCF's setup.py file, see below:
https://github.com/pyscf/pyscf/blob/304c4eb6cb513c21576c551289cd739b879ee0aa/setup.py#L87
Running !pip install cmake==3.21.0 before installing pyscf==2.0.0 fixes your problem, but then leads to another.
!pip install cmake==3.21.0
!cmake --version
!pip install pyscf==2.0.0 --verbose
Results in:
....
cmake -S/tmp/pip-install-wdcvklqn/pyscf_50629a7bad874efaac804d1a96963c74/pyscf/lib -Bbuild/temp.linux-x86_64-3.7
CMake Error: The source directory "/tmp/pip-install-wdcvklqn/pyscf_50629a7bad874efaac804d1a96963c74/pyscf/lib" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
error: command 'cmake' failed with exit status 1
Running setup.py install for pyscf ... error
....
Replacing the last line in the commands above with
pip install git+https://github.com/pyscf/pyscf --verbose
Makes it farther in the build process but gets killed for some reason I can't figure out right now. I'll keep looking at this and get back to you (hopefully) soon with a full solution.
As a temporary workaround (if you can do without DFT), you can run the following:
!pip install cmake==3.21.0
!CMAKE_CONFIGURE_ARGS="-DENABLE_XCFUN=OFF -DENABLE_LIBXC=OFF" pip install git+https://github.com/pyscf/pyscf --verbose
The CMAKE_CONFIGURE_ARGS flag tells PySCF not to build XCFUN and LIBXC from scratch.
I think the real problem here is that pip is building PySCF from scratch rather installing a wheel. I don't know about the status of the wheels for 2.0.0, but I imagine they should show up on pip in the near future. @sunqm or @fishjojo do you know their status?
The pipeline to build pip wheel was killed by the github actions. PR #1092 was to fix the issue. pip wheels will be uploaded soon
Gotcha, I hadn't looked at that PR closely enough, thanks @sunqm!
@jdwhitfield , the new wheels for 2.0.0 are on pip so you should be good to go! Let us know if you have any more problems
More wheels were built for pyscf v2.1 . Very likely there's no need to compile from source code
| gharchive/issue | 2021-11-01T16:20:07 | 2025-04-01T06:45:31.446331 | {
"authors": [
"jamesETsmith",
"jdwhitfield",
"sunqm"
],
"repo": "pyscf/pyscf",
"url": "https://github.com/pyscf/pyscf/issues/1093",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
2396513030 | Node Attribute Lifting
This method involves lifting a graph to a hypergraph based on node attributes. Hyperedges are created by grouping nodes with the same attribute. Given (n) attributes of a node, users can choose which attribute to use for constructing the hyperedges. Additionally, users can preprocess the data to add new attributes for grouping. For example, in a social network, hyperedges can represent people from same city, or nodes can be grouped based on domain-specific distances.
This lifting approach is particularly useful for datasets where node attributes are present. For instance, the MUTAG, ENZYMES, and PROTEINS datasets all have this property. We tested our method on these datasets and updated the tutorial accordingly.
Hello @demiqin ! Thank you for your submission. As we near the end of the challenge, I am collecting participant info for the purpose of selecting and announcing winners. Please email me (or have one member of your team email me) at guillermo_bernardez@ucsb.edu so I can share access to the voting form. In your email, please include:
your first and last name (as well as any other team members)
the title of the method you implemented
the input domain of the method you implemented
the output domain of the method you implemented
your pull request number (#40)
Before July 12, make sure that your submission respects all Submission Requirements laid out on the challenge page. Any submission that fails to meet this criteria will be automatically disqualified.
| gharchive/pull-request | 2024-07-08T20:30:37 | 2025-04-01T06:45:31.461914 | {
"authors": [
"demiqin",
"levtelyatnikov"
],
"repo": "pyt-team/challenge-icml-2024",
"url": "https://github.com/pyt-team/challenge-icml-2024/pull/40",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2150730668 | debug wrong results for runtime func
Seems the hash is built from args only, so if it happens that two functions have the same arguments it does not recognise the correct function
Please separate the method-renaming, API-breaking changes into a different PR; it can wait until the next major version.
property usage is in #199
method-renaming is only for protected/private #200 so it shall not be considered as API change
so not sure what the breaking API changes do you mean?
| gharchive/pull-request | 2024-02-23T09:47:04 | 2025-04-01T06:45:31.492974 | {
"authors": [
"Borda"
],
"repo": "python-cachier/cachier",
"url": "https://github.com/python-cachier/cachier/pull/196",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1465113173 | Logging forum post deletions
A couple of changes are required to modlog.py for forum post deletions to be logged properly.
First of all, thread deletion doesn't seem to be getting logged at all. This may simply be a matter of using on_raw_thread_delete rather than on_thread_delete.
Second, for moderation purposes, it would be useful to log the content of the post itself. The ID of the initial message of a forum thread is the same as the ID of the thread itself, so we may be able to acquire the content of this message from the message cache.
I'll start putting together a PR with these changes.
I didn't get around to making the PR for this. I did look into it, but I couldn't actually figure out what was causing thread deletions not to be logged. I think my assumption about replacing on_thread_delete with on_raw_thread_delete was wrong. This probably need someone who understands discord.py and the bot better to look at it.
Haven't looked into this fully but one potential issue could be that we use is_channel_ignored
https://github.com/python-discord/bot/blob/23f4592710853f8cb814fce2bba2f1871a508d68/bot/exts/moderation/modlog.py#L832-L837
which will ignore the post if the post isn't in the cache (get_channel would return None)
https://github.com/python-discord/bot/blob/23f4592710853f8cb814fce2bba2f1871a508d68/bot/exts/moderation/modlog.py#L546-L550
This wouldn't really explain why normal thread deletions are logged correctly, but it could be that discord.py's behaviour of keeping stuff in the cache is different for forum posts? It doesn't seem great to rely on the post being in the cache after being deleted anyway though.
If it's just been deleted then the cache is the only thing we can rely on, since fetching will just 404. Not sure the best approach to fixing this, outside of keeping our own cache or looking to improve upstream.
We have the thread in the on_thread_delete function, but we're trying to get it from the cache again in the is_channel_ignored function. If we passed the thread directly to is_channel_ignored rather than the ID we could avoid this.
That is, unless the on_thread_delete function isn't being called at all, but I can't see why this would be the case without some discord.py bug.
Ahh right, that makes sense. An easy thing to check opened https://github.com/python-discord/bot/pull/2375 for this
seems that worked, nice (tested with normal channel threads + forum channel posts)
| gharchive/issue | 2022-11-26T10:32:40 | 2025-04-01T06:45:31.501622 | {
"authors": [
"ChrisLovering",
"lxnn",
"wookie184"
],
"repo": "python-discord/bot",
"url": "https://github.com/python-discord/bot/issues/2336",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
548746873 | The !docs command is failing as it's unable to make requests
Currently, the !docs command is completely broken as intersphinx is unable to form a proper request. I haven't looked deeply into the issue yet, but it seems like there's an internal error in how intersphinx forms the request. The user_agent of the config it passes does not seem to exist, while requests expects such an attribute to be there:
Jan 13 08:09:17 Bot: | bot.cogs.error_handler | ERROR | Error executing command invoked by Ves Zappa#3787: +docs refresh
Ignoring exception in on_command_error
Traceback (most recent call last):
File "/home/sebastiaan/.local/share/virtualenvs/djangobot-Py5o4YeS/lib/python3.7/site-packages/discord/client.py", line 270, in _run_event
await coro(*args, **kwargs)
File "/home/sebastiaan/pydis/repositories/djangobot/bot/cogs/error_handler.py", line 139, in on_command_error
await self.handle_unexpected_error(ctx, e.original)
File "/home/sebastiaan/pydis/repositories/djangobot/bot/cogs/error_handler.py", line 153, in handle_unexpected_error
raise e
File "/home/sebastiaan/.local/share/virtualenvs/djangobot-Py5o4YeS/lib/python3.7/site-packages/discord/ext/commands/core.py", line 79, in wrapped
ret = await coro(*args, **kwargs)
File "/home/sebastiaan/pydis/repositories/djangobot/bot/cogs/doc.py", line 463, in refresh_command
await self.refresh_inventory()
File "/home/sebastiaan/pydis/repositories/djangobot/bot/cogs/doc.py", line 234, in refresh_inventory
await asyncio.gather(*coros)
File "/home/sebastiaan/pydis/repositories/djangobot/bot/cogs/doc.py", line 181, in update_single
package = await self._fetch_inventory(inventory_url, config)
File "/home/sebastiaan/pydis/repositories/djangobot/bot/cogs/doc.py", line 484, in _fetch_inventory
package = await self.bot.loop.run_in_executor(None, fetch_func)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/sebastiaan/.local/share/virtualenvs/djangobot-Py5o4YeS/lib/python3.7/site-packages/sphinx/ext/intersphinx.py", line 162, in fetch_inventory
f = _read_from_url(inv, config=app.config)
File "/home/sebastiaan/.local/share/virtualenvs/djangobot-Py5o4YeS/lib/python3.7/site-packages/sphinx/ext/intersphinx.py", line 118, in _read_from_url
r = requests.get(url, stream=True, config=config, timeout=config.intersphinx_timeout)
File "/home/sebastiaan/.local/share/virtualenvs/djangobot-Py5o4YeS/lib/python3.7/site-packages/sphinx/util/requests.py", line 129, in get
headers.setdefault('User-Agent', _get_user_agent(config))
File "/home/sebastiaan/.local/share/virtualenvs/djangobot-Py5o4YeS/lib/python3.7/site-packages/sphinx/util/requests.py", line 111, in _get_user_agent
if config.user_agent:
AttributeError: ('intersphinx inventory %r not fetchable due to %s: %s', 'https://docs.python.org/3/objects.inv', <class 'AttributeError'>, "'DummyObject' object has no attribute 'user_agent'")
We've recently merged a PR (#715) relating to the !docs command, so that's worth looking into. Another option would be to look into the versions we're using and if anything has changed there. I'm currently not in a position to do so, but I'll do some probing later if no one else has done so yet.
Another option would be the recent version bump of sphinx to 2.3.1 in the latest commit to master. While our requests version should be compatible (according to the setup.py of sphinx), maybe it actually isn't. I'll try to revert locally to see what happens.
The latest version of sphinx included a default value for the user_agent, making it a required argument of the config.
Our current way to make a config is a simple python object with attributes assigned to it, which wasn't updated accordingly.
https://github.com/python-discord/bot/blob/ae9018eeb7c6470da6b5d157855d2e8c17071051/bot/cogs/doc.py#L105-L114
Thanks. Adding a user_agent attribute does seem to fix this.
| gharchive/issue | 2020-01-13T07:18:00 | 2025-04-01T06:45:31.507062 | {
"authors": [
"Numerlor",
"SebastiaanZ"
],
"repo": "python-discord/bot",
"url": "https://github.com/python-discord/bot/issues/727",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1157343308 | [Suggestion]: Dictionary Command.
Description
A dictionary command, that's about it.
Reasoning
As a small command for the added convenience of not having to search the definition of a word in a separate browser tab.
Proposed Implementation
For the dictionary (API) to use, I suggest to either use Wiktionary (a Wikimedia Foundation project, parent of Wikipedia) or the Oxford Dictionary (which is what Google uses)
It should display multiple definitions, and optionally with examples of it being used in a sentence for extra clarity, displayed as text with formatting to make it a little bit easier to follow. For those with many definitions (and would take up significant screen real estate), it should either span across multiple pages that can be navigated through the use of buttons or to have a button to delete (🗑️) the given definitions.
Would you like to implement this yourself?
[ ] I'd like to implement this feature myself
[x] Anyone can implement this feature
FWIW, you can already do this using the wolfram alpha command. For example: .wolfram define hello or .wolfram short define hello.
can i be assigned
The issue is not approved @MaskDuck (you can tell if it's approved when there's an approved label on it). I'm not sure if we need this given the wolfram command exists.
ok~
That's a duplicate of #917
Hence, I'm going to close this issue.
| gharchive/issue | 2022-03-02T15:23:19 | 2025-04-01T06:45:31.511955 | {
"authors": [
"D0rs4n",
"DenseReptile",
"HassanAbouelela",
"MaskDuck"
],
"repo": "python-discord/sir-lancebot",
"url": "https://github.com/python-discord/sir-lancebot/issues/1044",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1576015993 | Don't commit poetry.lock
As https://github.com/python-poetry/poetry/issues/7488 notes, poetry's own documentation recommends not committing lockfiles for libraries.
This project should practice what it preaches.
(It could be reasonable to reject this MR on the grounds that it's in some way more complicated than that - but then the docs should acknowledge that complication)
I'm a slight -1 for this and +1 for changing the docs because with a lock file you always know which dependencies work for sure. Without a lock file, you will get more failures unrelated to your changes. Then, you'll have to realize the failure has nothing to do with your change, search for a successful CI run, check if some dependency changed, ...
Now that https://github.com/python-poetry/poetry/pull/7506 has been merged I think the documentation is aligned with us keeping the lock file. I would close this PR, and - why not - have a round of dependencies update as the documentation suggests :)
I'll close this for now since no maintainer has expressed agreement so far and the documentation no longer recommends not to commit the lockfile.
| gharchive/pull-request | 2023-02-08T12:16:51 | 2025-04-01T06:45:31.608213 | {
"authors": [
"dimbleby",
"radoering",
"ralbertazzi"
],
"repo": "python-poetry/poetry-core",
"url": "https://github.com/python-poetry/poetry-core/pull/554",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
534516173 | Fix #208: Introduce VersionInfo.isvalid() function
This PR fixes #208 and contains:
VersionInfo.isvalid(cls, version:str) -> bool
Add test case
Describe function in documentation; also clarified in the "Creating a Version" what happens when the user pass an invalid version string.
As I expect some discussions and as this is still WIP, I haven't completed the CHANGELOG entry yet. :wink:
Update: Add entry in CHANGELOG.rst.
I'm fine with both with naming and the fact it's a class method.
Ok, I've updated the commit and inserted an entry for the CHANGELOG.
Waiting some days to have others @python-semver/reviewers feedback before merging.
@ppkt Good point Karol! :+1: I've never thought about this. :smile:
Ok, will amend this PR
@ppkt Karl, I've added this subcommand now and extended the manpage. However, I've realized that I added is as is-valid instead of check. I will fix that.
I've also added testcase to test the check subcommand. Feel free to comment. :wink:
great idea to also add such command to cli also!
@scls19fr, @ppkt I realized, the implementation of the subcommands are a bit suboptimal. I will optimize this in a separate commit. :wink:
Any other wishes, comments, ideas, etc.?
Looks really great, thank you :)
Thanks @tomschr for this new feature. Thanks @ppkt for your review.
| gharchive/pull-request | 2019-12-08T09:39:01 | 2025-04-01T06:45:31.654087 | {
"authors": [
"ppkt",
"scls19fr",
"tomschr"
],
"repo": "python-semver/python-semver",
"url": "https://github.com/python-semver/python-semver/pull/209",
"license": "bsd-3-clause",
"license_type": "permissive",
"license_source": "bigquery"
} |
765520736 | Allow omitting "dirty" from the version string.
NumPy patches its license files with platform appropriate information before building release wheels, consequently all the version strings are marked "dirty". We have fixed that locally by replacing "--dirty" by "--dirty=" in the git describe calls, but it would be nice if there was a setup.cfg option like "show_dirty" that achieved the same result.
There are existing styles that do not include dirty. See How do I select a version style?
Do any of those suffice? If not, I feel like adding an additional style would be conceptually simpler than adding another configuration option.
When you turn an option into an enumeration entry you then just end up with a linear matrix of all the option... combinations? Or just an enumeration of projects that use versioneer.
Do any of those suffice?
What I would like is pep440 style without the [dirty].
| gharchive/issue | 2020-12-13T16:43:04 | 2025-04-01T06:45:31.671791 | {
"authors": [
"altendky",
"charris",
"effigies"
],
"repo": "python-versioneer/python-versioneer",
"url": "https://github.com/python-versioneer/python-versioneer/issues/239",
"license": "Unlicense",
"license_type": "permissive",
"license_source": "github-api"
} |
1391699763 | Add citation for MuST-C dataset in Emformer RNNT pipeline.
The MuST-C reference is added in https://github.com/pytorch/audio/pull/2689. This PR adds the citation to the RNNT pipeline documentation.
I'm thinking of re-training the Emformer models including LibriSpeech, TED-LIUM, and MuST-C datasets using the updated conformer training recipe built by @hwangjeff. Then update the pre-trained weights correspondingly.
What would be the best strategy to make updates on the pre-trained weights for the pipelines? @hwangjeff @mthrok
| gharchive/pull-request | 2022-09-30T01:45:24 | 2025-04-01T06:45:31.942385 | {
"authors": [
"nateanl"
],
"repo": "pytorch/audio",
"url": "https://github.com/pytorch/audio/pull/2728",
"license": "BSD-2-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
537259071 | Trouble with prepare-iwslt14.sh
I am following the tutorial given on this link and running the following:
CUDA_VISIBLE_DEVICES=0 fairseq-train \ data-bin/iwslt14.tokenized.de-en \ --arch transformer_iwslt_de_en --share-decoder-input-output-embed \ --optimizer adam --adam-betas '(0.9, 0.98)' --clip-norm 0.0 \ --lr 5e-4 --lr-scheduler inverse_sqrt --warmup-updates 4000 \ --dropout 0.3 --weight-decay 0.0001 \ --criterion label_smoothed_cross_entropy --label-smoothing 0.1 \ --max-tokens 4096
Getting the following errors, can anyone help?
Namespace(activation_dropout=0.0, activation_fn='relu', adam_betas='(0.9, 0.98)', adam_eps=1e-08, adaptive_input=False, adaptive_softmax_cutoff=None, adaptive_softmax_dropout=0, arch='transformer_iwslt_de_en', attention_dropout=0.0, best_checkpoint_metric='loss', bpe=None, bucket_cap_mb=25, clip_norm=0.0, cpu=False, criterion='label_smoothed_cross_entropy', cross_self_attention=False, curriculum=0, data='data-bin/iwslt14.tokenized.de-en', dataset_impl=None, ddp_backend='c10d', decoder_attention_heads=4, decoder_embed_dim=512, decoder_embed_path=None, decoder_ffn_embed_dim=1024, decoder_input_dim=512, decoder_layerdrop=0, decoder_layers=6, decoder_layers_to_keep=None, decoder_learned_pos=False, decoder_normalize_before=False, decoder_output_dim=512, device_id=0, disable_validation=False, distributed_backend='nccl', distributed_init_method=None, distributed_no_spawn=False, distributed_port=-1, distributed_rank=0, distributed_world_size=1, dropout=0.3, empty_cache_freq=0, encoder_attention_heads=4, encoder_embed_dim=512, encoder_embed_path=None, encoder_ffn_embed_dim=1024, encoder_layerdrop=0, encoder_layers=6, encoder_layers_to_keep=None, encoder_learned_pos=False, encoder_normalize_before=False, fast_stat_sync=False, find_unused_parameters=False, fix_batches_to_gpus=False, fixed_validation_seed=None, fp16=False, fp16_init_scale=128, fp16_scale_tolerance=0.0, fp16_scale_window=None, keep_interval_updates=-1, keep_last_epochs=-1, label_smoothing=0.1, layer_wise_attention=False, layernorm_embedding=False, lazy_load=False, left_pad_source='True', left_pad_target='False', load_alignments=False, log_format=None, log_interval=1000, lr=[0.0005], lr_scheduler='inverse_sqrt', max_epoch=0, max_sentences=None, max_sentences_valid=None, max_source_positions=1024, max_target_positions=1024, max_tokens=4096, max_tokens_valid=4096, max_update=0, maximize_best_checkpoint_metric=False, memory_efficient_fp16=False, min_loss_scale=0.0001, min_lr=-1, no_cross_attention=False, no_epoch_checkpoints=False, no_last_checkpoints=False, no_progress_bar=False, no_save=False, no_save_optimizer_state=False, no_scale_embedding=False, no_token_positional_embeddings=False, num_workers=1, optimizer='adam', optimizer_overrides='{}', raw_text=False, required_batch_size_multiple=8, reset_dataloader=False, reset_lr_scheduler=False, reset_meters=False, reset_optimizer=False, restore_file='checkpoint_last.pt', save_dir='checkpoints', save_interval=1, save_interval_updates=0, seed=1, sentence_avg=False, share_all_embeddings=False, share_decoder_input_output_embed=True, skip_invalid_size_inputs_valid_test=False, source_lang=None, target_lang=None, task='translation', tensorboard_logdir='', threshold_loss_scale=None, tokenizer=None, train_subset='train', truncate_source=False, update_freq=[1], upsample_primary=1, use_bmuf=False, user_dir=None, valid_subset='valid', validate_interval=1, warmup_init_lr=-1, warmup_updates=4000, weight_decay=0.0001)
| [de] dictionary: 40 types
| [en] dictionary: 40 types
Traceback (most recent call last):
File "/home/smpotdar/anaconda3/envs/pytorch/bin/fairseq-train", line 11, in
load_entry_point('fairseq==0.9.0', 'console_scripts', 'fairseq-train')()
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/fairseq_cli/train.py", line 333, in cli_main
main(args)
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/fairseq_cli/train.py", line 48, in main
task.load_dataset(valid_sub_split, combine=False, epoch=0)
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/fairseq/tasks/translation.py", line 219, in load_dataset
truncate_source=self.args.truncate_source,
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/fairseq/tasks/translation.py", line 54, in load_langpair_dataset
src_dataset = data_utils.load_indexed_dataset(prefix + src, src_dict, dataset_impl)
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/fairseq/data/data_utils.py", line 77, in load_indexed_dataset
dictionary=dictionary,
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/fairseq/data/indexed_dataset.py", line 60, in make_dataset
return MMapIndexedDataset(path)
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/fairseq/data/indexed_dataset.py", line 448, in init
self._do_init(path)
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/fairseq/data/indexed_dataset.py", line 461, in _do_init
self._bin_buffer_mmap = np.memmap(data_file_path(self._path), mode='r', order='C')
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/numpy/core/memmap.py", line 264, in new
mm = mmap.mmap(fid.fileno(), bytes, access=acc, offset=start)
ValueError: cannot mmap an empty file
Exception ignored in: <bound method MMapIndexedDataset.del of <fairseq.data.indexed_dataset.MMapIndexedDataset object at 0x7fa53dd9ce10>>
Traceback (most recent call last):
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/fairseq/data/indexed_dataset.py", line 465, in del
self._bin_buffer_mmap._mmap.close()
AttributeError: 'MMapIndexedDataset' object has no attribute '_bin_buffer_mmap'
The error is actually "ValueError: cannot mmap an empty file". Are you sure you preprocessed the data correctly?
Okay I realized there is something wrong with my pre-processing.
I am running the following commands:
TEXT=examples/translation/iwslt14.tokenized.de-en fairseq-preprocess --source-lang de --target-lang en --trainpref $TEXT/train --validpref $TEXT/valid --testpref $TEXT/test --destdir data-bin/iwslt14.tokenized.de-en --workers 2
I get the following output. What am I doing wrong?
Namespace(align_suffix=None, alignfile=None, bpe=None, cpu=False, criterion='cross_entropy', dataset_impl='mmap', destdir='data-bin/iwslt14.tokenized.de-en', empty_cache_freq=0, fp16=False, fp16_init_scale=128, fp16_scale_tolerance=0.0, fp16_scale_window=None, joined_dictionary=False, log_format=None, log_interval=1000, lr_scheduler='fixed', memory_efficient_fp16=False, min_loss_scale=0.0001, no_progress_bar=False, nwordssrc=-1, nwordstgt=-1, only_source=False, optimizer='nag', padding_factor=8, seed=1, source_lang='de', srcdict=None, target_lang='en', task='translation', tensorboard_logdir='', testpref='examples/translation/iwslt14.tokenized.de-en/test', tgtdict=None, threshold_loss_scale=None, thresholdsrc=0, thresholdtgt=0, tokenizer=None, trainpref='examples/translation/iwslt14.tokenized.de-en/train', user_dir=None, validpref='examples/translation/iwslt14.tokenized.de-en/valid', workers=2)
| [de] Dictionary: 39 types
| [de] examples/translation/iwslt14.tokenized.de-en/train.de: 1 sents, 48 tokens, 0.0% replaced by
| [de] Dictionary: 39 types
Traceback (most recent call last):
File "/home/smpotdar/anaconda3/envs/pytorch/bin/fairseq-preprocess", line 11, in
load_entry_point('fairseq==0.9.0', 'console_scripts', 'fairseq-preprocess')()
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/fairseq_cli/preprocess.py", line 346, in cli_main
main(args)
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/fairseq_cli/preprocess.py", line 245, in main
make_all(args.source_lang, src_dict)
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/fairseq_cli/preprocess.py", line 231, in make_all
make_dataset(vocab, validpref, outprefix, lang, num_workers=args.workers)
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/fairseq_cli/preprocess.py", line 223, in make_dataset
make_binary_dataset(vocab, input_prefix, output_prefix, lang, num_workers)
File "/home/smpotdar/anaconda3/envs/pytorch/lib/python3.6/site-packages/fairseq_cli/preprocess.py", line 155, in make_binary_dataset
100 * sum(replaced.values()) / n_seq_tok[1],
ZeroDivisionError: division by zero
It looks like examples/translation/iwslt14.tokenized.de-en/train.de is empty... why is that?
I don't know why that is happening. I used bash prepare-iwslt14.sh. Which in my opinion should download the dataset and I used the above commands to pre-process. I am getting the following sizes of the files. Apparently there is nothing in the train.de and train.en. I don't understand why:
tmp
code 69 B
test.de 1.76 kB
test.en 852 kB
train.de 180 B
train.en 145 B
valid.de 0 B
valid.en 0 B
bash prepare-iwslt14.sh should be enough. Can you please pipe the output of this command into a file and then copy it here?
Are you behind a proxy by any chance?
Here you go. This what I get as output;
Cloning Moses github repository (for tokenization scripts)...
fatal: destination path 'mosesdecoder' already exists and is not an empty directory.
Cloning Subword NMT repository (for BPE pre-processing)...
fatal: destination path 'subword-nmt' already exists and is not an empty directory.
Downloading data from https://wit3.fbk.eu/archive/2014-01/texts/de/en/de-en.tgz...
--2019-12-13 15:27:11-- https://wit3.fbk.eu/archive/2014-01/texts/de/en/de-en.tgz
Resolving wit3.fbk.eu (wit3.fbk.eu)... 217.77.80.8
Connecting to wit3.fbk.eu (wit3.fbk.eu)|217.77.80.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19982877 (19M) [application/x-gzip]
Saving to: 'de-en.tgz.1'
de-en.tgz.1 100%[=================================>] 19.06M 4.71MB/s in 5.1s
2019-12-13 15:27:17 (3.70 MB/s) - 'de-en.tgz.1' saved [19982877/19982877]
Data successfully downloaded.
de-en/
de-en/IWSLT14.TED.dev2010.de-en.de.xml
de-en/IWSLT14.TED.dev2010.de-en.en.xml
de-en/IWSLT14.TED.tst2010.de-en.de.xml
de-en/IWSLT14.TED.tst2010.de-en.en.xml
de-en/IWSLT14.TED.tst2011.de-en.de.xml
de-en/IWSLT14.TED.tst2011.de-en.en.xml
de-en/IWSLT14.TED.tst2012.de-en.de.xml
de-en/IWSLT14.TED.tst2012.de-en.en.xml
de-en/IWSLT14.TEDX.dev2012.de-en.de.xml
de-en/IWSLT14.TEDX.dev2012.de-en.en.xml
de-en/README
de-en/train.en
de-en/train.tags.de-en.de
de-en/train.tags.de-en.en
pre-processing train data...
Tokenizer Version 1.1
Language: de
Number of threads: 8
Tokenizer Version 1.1
Language: en
Number of threads: 8
clean-corpus.perl: processing iwslt14.tokenized.de-en/tmp/train.tags.de-en.tok.de & .en to iwslt14.tokenized.de-en/tmp/train.tags.de-en.clean, cutoff 1-175, ratio 1.5
iwslt14.tokenized.de-en/tmp/train.tags.de-en.tok.en is too long! at mosesdecoder/scripts/training/clean-corpus-n.perl line 154, line 4.
pre-processing valid/test data...
orig/de-en/IWSLT14.TED.dev2010.de-en.de.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.dev2010.de-en.de
Tokenizer Version 1.1
Language: de
Number of threads: 8
orig/de-en/IWSLT14.TED.tst2010.de-en.de.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.tst2010.de-en.de
Tokenizer Version 1.1
Language: de
Number of threads: 8
orig/de-en/IWSLT14.TED.tst2011.de-en.de.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.tst2011.de-en.de
Tokenizer Version 1.1
Language: de
Number of threads: 8
orig/de-en/IWSLT14.TED.tst2012.de-en.de.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.tst2012.de-en.de
Tokenizer Version 1.1
Language: de
Number of threads: 8
orig/de-en/IWSLT14.TEDX.dev2012.de-en.de.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TEDX.dev2012.de-en.de
Tokenizer Version 1.1
Language: de
Number of threads: 8
orig/de-en/IWSLT14.TED.dev2010.de-en.en.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.dev2010.de-en.en
Tokenizer Version 1.1
Language: en
Number of threads: 8
orig/de-en/IWSLT14.TED.tst2010.de-en.en.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.tst2010.de-en.en
Tokenizer Version 1.1
Language: en
Number of threads: 8
orig/de-en/IWSLT14.TED.tst2011.de-en.en.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.tst2011.de-en.en
Tokenizer Version 1.1
Language: en
Number of threads: 8
orig/de-en/IWSLT14.TED.tst2012.de-en.en.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.tst2012.de-en.en
Tokenizer Version 1.1
Language: en
Number of threads: 8
orig/de-en/IWSLT14.TEDX.dev2012.de-en.en.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TEDX.dev2012.de-en.en
Tokenizer Version 1.1
Language: en
Number of threads: 8
creating train, valid, test...
learn_bpe.py on iwslt14.tokenized.de-en/tmp/train.en-de...
no pair has frequency >= 2. Stopping
apply_bpe.py to train.de...
apply_bpe.py to valid.de...
apply_bpe.py to test.de...
apply_bpe.py to train.en...
apply_bpe.py to valid.en...
apply_bpe.py to test.en...
I'm copying my log below. Compared to yours, you seem to have a moses error: iwslt14.tokenized.de-en/tmp/train.tags.de-en.tok.en is too long! at mosesdecoder/scripts/training/clean-corpus-n.perl line 154, line 4.
Can you try cloning a new copy of moses?
Cloning Moses github repository (for tokenization scripts)...
Cloning into 'mosesdecoder'...
remote: Enumerating objects: 181, done.
remote: Counting objects: 100% (181/181), done.
remote: Compressing objects: 100% (99/99), done.
remote: Total 147476 (delta 114), reused 122 (delta 76), pack-reused 147295
Receiving objects: 100% (147476/147476), 129.73 MiB | 21.94 MiB/s, done.
Resolving deltas: 100% (113948/113948), done.
Checking out files: 100% (3467/3467), done.
Cloning Subword NMT repository (for BPE pre-processing)...
Cloning into 'subword-nmt'...
remote: Enumerating objects: 29, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 538 (delta 10), reused 21 (delta 7), pack-reused 509
Receiving objects: 100% (538/538), 226.98 KiB | 1.33 MiB/s, done.
Resolving deltas: 100% (316/316), done.
Downloading data from https://wit3.fbk.eu/archive/2014-01/texts/de/en/de-en.tgz...
--2019-12-16 09:33:43-- https://wit3.fbk.eu/archive/2014-01/texts/de/en/de-en.tgz
Resolving wit3.fbk.eu (wit3.fbk.eu)... 217.77.80.8
Connecting to wit3.fbk.eu (wit3.fbk.eu)|217.77.80.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19982877 (19M) [application/x-gzip]
Saving to: ‘de-en.tgz’
de-en.tgz 100%[=====================================================================================================================================================================================================================================================>] 19.06M 340KB/s in 34s
2019-12-16 09:34:18 (569 KB/s) - ‘de-en.tgz’ saved [19982877/19982877]
Data successfully downloaded.
de-en/
de-en/IWSLT14.TED.dev2010.de-en.de.xml
de-en/IWSLT14.TED.dev2010.de-en.en.xml
de-en/IWSLT14.TED.tst2010.de-en.de.xml
de-en/IWSLT14.TED.tst2010.de-en.en.xml
de-en/IWSLT14.TED.tst2011.de-en.de.xml
de-en/IWSLT14.TED.tst2011.de-en.en.xml
de-en/IWSLT14.TED.tst2012.de-en.de.xml
de-en/IWSLT14.TED.tst2012.de-en.en.xml
de-en/IWSLT14.TEDX.dev2012.de-en.de.xml
de-en/IWSLT14.TEDX.dev2012.de-en.en.xml
de-en/README
de-en/train.en
de-en/train.tags.de-en.de
de-en/train.tags.de-en.en
pre-processing train data...
Tokenizer Version 1.1
Language: de
Number of threads: 8
Tokenizer Version 1.1
Language: en
Number of threads: 8
clean-corpus.perl: processing iwslt14.tokenized.de-en/tmp/train.tags.de-en.tok.de & .en to iwslt14.tokenized.de-en/tmp/train.tags.de-en.clean, cutoff 1-175, ratio 1.5
..........(100000).......
Input sentences: 174443 Output sentences: 167522
pre-processing valid/test data...
orig/de-en/IWSLT14.TED.dev2010.de-en.de.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.dev2010.de-en.de
Tokenizer Version 1.1
Language: de
Number of threads: 8
orig/de-en/IWSLT14.TED.tst2010.de-en.de.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.tst2010.de-en.de
Tokenizer Version 1.1
Language: de
Number of threads: 8
orig/de-en/IWSLT14.TED.tst2011.de-en.de.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.tst2011.de-en.de
Tokenizer Version 1.1
Language: de
Number of threads: 8
orig/de-en/IWSLT14.TED.tst2012.de-en.de.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.tst2012.de-en.de
Tokenizer Version 1.1
Language: de
Number of threads: 8
orig/de-en/IWSLT14.TEDX.dev2012.de-en.de.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TEDX.dev2012.de-en.de
Tokenizer Version 1.1
Language: de
Number of threads: 8
orig/de-en/IWSLT14.TED.dev2010.de-en.en.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.dev2010.de-en.en
Tokenizer Version 1.1
Language: en
Number of threads: 8
orig/de-en/IWSLT14.TED.tst2010.de-en.en.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.tst2010.de-en.en
Tokenizer Version 1.1
Language: en
Number of threads: 8
orig/de-en/IWSLT14.TED.tst2011.de-en.en.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.tst2011.de-en.en
Tokenizer Version 1.1
Language: en
Number of threads: 8
orig/de-en/IWSLT14.TED.tst2012.de-en.en.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TED.tst2012.de-en.en
Tokenizer Version 1.1
Language: en
Number of threads: 8
orig/de-en/IWSLT14.TEDX.dev2012.de-en.en.xml iwslt14.tokenized.de-en/tmp/IWSLT14.TEDX.dev2012.de-en.en
Tokenizer Version 1.1
Language: en
Number of threads: 8
creating train, valid, test...
learn_bpe.py on iwslt14.tokenized.de-en/tmp/train.en-de...
apply_bpe.py to train.de...
apply_bpe.py to valid.de...
apply_bpe.py to test.de...
apply_bpe.py to train.en...
apply_bpe.py to valid.en...
apply_bpe.py to test.en...
I tried that. I am still getting the same statement:
iwslt14.tokenized.de-en/tmp/train.tags.de-en.tok.en is too long! at mosesdecoder/scripts/training/clean-corpus-n.perl line 154, <E> line 4.
It is about multiprocessing. Set number of thread to 1 in prepare.sh file
| gharchive/issue | 2019-12-12T23:00:17 | 2025-04-01T06:45:31.990596 | {
"authors": [
"MovingKyu",
"edunov",
"myleott",
"smpotdar"
],
"repo": "pytorch/fairseq",
"url": "https://github.com/pytorch/fairseq/issues/1493",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
606994804 | How to set multiple reference files for fairseq-preprocess and fairseq-train command-line tools
❓ Questions and Help
I have one-on-one Chinese to English translation training files, where the source language is Chinese and the target language is English.Such as:
train.cn
train.en
And I have one Chinese source file and corresponding four English files for the validation set and test set, e.g.,
valid.cn
valid.en0
valid.en1
valid.en2
valid.en3
The question is that how to set the arguments to add the multiple reference files in the preprocess and training command-line tools?
This isn't possible, you need to have the same number of files for each language. Either valid.cn and valid.en or valid.cn0, valid.cn1, ..., valid.en0, valid.en1, ...
| gharchive/issue | 2020-04-26T11:58:10 | 2025-04-01T06:45:31.995934 | {
"authors": [
"XinzeZhang",
"lematt1991"
],
"repo": "pytorch/fairseq",
"url": "https://github.com/pytorch/fairseq/issues/2066",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
1469944011 | Sequential probabilistic changes
Description
pytorch-labs/tensordict#88 deprecates the get_dist and get_dist_params methods of TensorDictSequential and hence torchrl.modules.SafeSequential which subclasses it. This PR adapts code and tests in TorchRL for that change.
This supercedes an earlier PR https://github.com/tcbegley/rl/pull/5 (rebased onto new commits + targeting TorchRL main rather than a branch on my fork).
@vmoens comment from https://github.com/tcbegley/rl/pull/5 for reference
It feels like we cleaned up one module but made added a lot of complexity elsewhere.
What do you think?
Maybe the the ProbabilisticModule should be constructed above the Sequential in all cases?
e.g. ActorCritic related objects would not care about it, since they would be wrapped by a ProbabilisticModule anyway.
Superceded by #728 + #738
| gharchive/pull-request | 2022-11-30T16:53:20 | 2025-04-01T06:45:32.420267 | {
"authors": [
"tcbegley"
],
"repo": "pytorch/rl",
"url": "https://github.com/pytorch/rl/pull/719",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2680753961 | use hf transfer as default
Context
What is the purpose of this PR? Is it to
[x] add a new feature
[ ] fix a bug
[ ] update tests and/or documentation
[ ] other (please add here)
pip install huggingface_hub[hf_transfer]
HF_HUB_ENABLE_HF_TRANSFER=1 tune download <your model>
For llama 8b: from 2m12s down to 32s.
doc: https://huggingface.co/docs/huggingface_hub/en/guides/download#faster-downloads
Changelog
Had to add it to init, because adding it to /cli/download.py wouldn't work.
User can still disable it by running HF_HUB_ENABLE_HF_TRANSFER=0 tune download <model_config>
Test plan
pip installed torchtune
HF_HUB_ENABLE_HF_TRANSFER=0 tune download <model_config> --> runs without transfer
tune download <model_config> --> runs with transfer
pip uninstall hf_transfer
tune download <model_config> --> runs without transfer
It all looks good to me. I'm just curious if you know how stable this is and if we can reliably tell users to turn it off if it ever runs into issues (ex: https://github.com/huggingface/hf_transfer/issues/30, is it immediately obviously that we need to turn off Hf transfer). Also, do we still get the same speed up if you run on a laptop vs a server?
It all looks good to me. I'm just curious if you know how stable this is and if we can reliably tell users to turn it off if it ever runs into issues (ex: huggingface/hf_transfer#30, is it immediately obviously that we need to turn off Hf transfer). Also, do we still get the same speed up if you run on a laptop vs a server?
Good question! It passes our tests to check for hf_token and gated models. In their website also make it clear that it is not an experimental feature. I also tested it in multiple scenarios, e.g. lib installed/not installed, with/without flag. I think that there is enough evidence that it is safe, but we should keep an eye.
How can I disable this permanently? hf transfer means I can't download any large file at all. And there is no manual way to download files via a browser.
@KLL535 simply use export HF_HUB_ENABLE_HF_TRANSFER=0 from bash
@KLL535 simply use export HF_HUB_ENABLE_HF_TRANSFER=0 from bash
I tried, it doesn't help.
I tried pip uninstall hf-transfer. After which the program writes that it can't find hf-transfer and refuses to work further.
More about my suffering here:
https://github.com/cocktailpeanut/fluxgym/issues/264
How can I disable this permanently? hf transfer means I can't download any large file at all. And there is no manual way to download files via a browser.
@KLL535 at least in torchtune, this is the code: https://github.com/pytorch/torchtune/blob/c2c6f4a5236ba69a8c87dcb1f23ad65daf6e75de/torchtune/init.py#L28
so if you either:
dont have _hf_transfer
set the environment variable
we wont use hf_transfer for you.
Can you share a bit of the problem that you are facing? Is it when using torchtune, or some other library?
How can I disable this permanently? hf transfer means I can't download any large file at all. And there is no manual way to download files via a browser.
@KLL535 at least in torchtune, this is the code:
https://github.com/pytorch/torchtune/blob/c2c6f4a5236ba69a8c87dcb1f23ad65daf6e75de/torchtune/__init__.py#L28
so if you either:
dont have _hf_transfer
set the environment variable
we wont use hf_transfer for you.
Can you share a bit of the problem that you are facing? Is it when using torchtune, or some other library?
Problem with another library fluxgym. Not only me. I posted links in the previous comment.
File 1.54G cannot be downloaded. Never. However, the file can be downloaded from the site by browser without problems.
Usually the download just freeze on a random %.
But sometimes, rarely, it can crash with this text, from which you can perhaps draw some conclusions about the components involved in the download:
pytorch_model.bin: 4%|██▍ | 62.9M/1.54G [01:27<34:25, 717kB/s]
Traceback (most recent call last):
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\huggingface_hub\file_download.py", line 523, in http_get
hf_transfer.download(
Exception: Error while removing corrupted file: (os error 32)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\transformers\modeling_utils.py", line 3557, in from_pretrained
resolved_archive_file = cached_file(
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\transformers\utils\hub.py", line 402, in cached_file
resolved_file = hf_hub_download(
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\huggingface_hub\utils\_deprecation.py", line 101, in inner_f
return f(*args, **kwargs)
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\huggingface_hub\file_download.py", line 1240, in hf_hub_download
return _hf_hub_download_to_cache_dir(
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\huggingface_hub\file_download.py", line 1389, in _hf_hub_download_to_cache_dir
_download_to_tmp_and_move(
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\huggingface_hub\file_download.py", line 1915, in _download_to_tmp_and_move
http_get(
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\huggingface_hub\file_download.py", line 534, in http_get
raise RuntimeError(
RuntimeError: An error occurred while downloading using `hf_transfer`. Consider disabling HF_HUB_ENABLE_HF_TRANSFER for better error handling.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\gradio\queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\gradio\route_utils.py", line 322, in call_process_api
output = await app.get_blocks().process_api(
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\gradio\blocks.py", line 1935, in process_api
result = await self.call_function(
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\gradio\blocks.py", line 1532, in call_function
prediction = await utils.async_iteration(iterator)
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\gradio\utils.py", line 671, in async_iteration
return await iterator.__anext__()
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\gradio\utils.py", line 664, in __anext__
return await anyio.to_thread.run_sync(
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2505, in run_sync_in_worker_thread
return await future
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 1005, in run
result = context.run(func, *args)
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\gradio\utils.py", line 647, in run_sync_iterator_async
return next(iterator)
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\gradio\utils.py", line 809, in gen_wrapper
response = next(iterator)
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\app.py", line 278, in run_captioning
model = AutoModelForCausalLM.from_pretrained(
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\transformers\models\auto\auto_factory.py", line 559, in from_pretrained
return model_class.from_pretrained(
File "C:\webui_forge_cu121_torch21\webui\extensions\fluxgym\venv\lib\site-packages\transformers\modeling_utils.py", line 3644, in from_pretrained
raise EnvironmentError(
OSError: Can't load the model for 'multimodalart/Florence-2-large-no-flash-attn'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'multimodalart/Florence-2-large-no-flash-attn' is the correct path to a directory containing a file named pytorch_model.bin, tf_model.h5, model.ckpt or flax_model.msgpack.
| gharchive/pull-request | 2024-11-21T20:07:24 | 2025-04-01T06:45:32.436340 | {
"authors": [
"KLL535",
"RdoubleA",
"felipemello1",
"winglian"
],
"repo": "pytorch/torchtune",
"url": "https://github.com/pytorch/torchtune/pull/2046",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1438479697 | NEW Feature: DeTR Model to torchvision
🚀 The feature
Adding the first Transformer-based detection model to Torchvision. A draft PR was submitted regarding the model: #5922
but a Github Issue regarding it did not exist. Therefore creating it now.
Paper: here
Official implementation: here
Pinging @xiaohu2015 and @deepwilson if you guys would like to contribute
Motivation, pitch
First Transformer-based detection model to Torchvision, which has been missing until now in torchvision.
Alternatives
No response
Additional context
No response
One problem I do see is that DETR at one step uses scipy.linear_assigment.
How are we going to do that in torchvision? Scipy is not a hard dependency for us
Thanks, I did not know that.
Perhaps, linear_sum_assignment from scipy.optimize has to be ported to torch?
Officially I don't think so. But we can try to port the scipy code
https://github.com/scipy/scipy/blob/v0.18.1/scipy/optimize/_hungarian.py
I can help you with DETR I have some experience on using it.
My other concern is the background class choice
In current torchvision models 0 label is considered as background. But I guess for DETR label 0 is not background.
I don't remember exactly. I need to see a bit.
I think given that the original repo uses scipy.optimize.linear_sum_assignment only for training, it's OK to keep it as optional dependency. This means that we can still make the model work without it during inference and thus be jit-scriptable. Currently there are no plans to adding it on core, and give that Scipy's implementation is in C++, it would be quite slow to do this in pure python.
Looping in @fmassa who is one of the authors of the paper in case he can provide a better recommendation.
| gharchive/issue | 2022-11-07T14:42:32 | 2025-04-01T06:45:32.447628 | {
"authors": [
"ambujpawar",
"datumbox",
"oke-aditya"
],
"repo": "pytorch/vision",
"url": "https://github.com/pytorch/vision/issues/6922",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
504862098 | Change all torch::nn::init::Nonlinearity::{name} and torch::nn::init::FanMode::{name} to torch::k{name}
Re-opening https://github.com/pytorch/vision/pull/1394. We can merge it after the release.
Superseeded by https://github.com/pytorch/vision/pull/1918
Thanks Will!
| gharchive/pull-request | 2019-10-09T19:59:57 | 2025-04-01T06:45:32.450065 | {
"authors": [
"fmassa",
"yf225"
],
"repo": "pytorch/vision",
"url": "https://github.com/pytorch/vision/pull/1444",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
521441378 | fix for rotation transformation's fill option error when image is PIL's L mode
Current implementation errors when the image is in 'L' mode (ie. two dimensional) because the argument fill of dtype int is always converted to a list of length 3. This expansion should not happen when image is in 'L' mode.
I think you operated on an outdated version of the master branch. Most of your changes revert recently merged changes such as #1388.
| gharchive/pull-request | 2019-11-12T09:51:15 | 2025-04-01T06:45:32.451304 | {
"authors": [
"cocoaaa",
"pmeier"
],
"repo": "pytorch/vision",
"url": "https://github.com/pytorch/vision/pull/1567",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1147097572 | call tensor-only kernels from prototype kernels if possible
Addresses the first part of https://github.com/pytorch/vision/pull/5421#discussion_r811798298. The idea behind this change is to make it more clear that our low-level kernels are tensor only and thus cannot use the same route as PIL images in the dispatch. There are two caveats:
Some old kernels are only implemented for tensors and thus the kernel is implemented in torchvision.transforms.functional directly:
erase
normalize
Some kernels are composite and thus don't have a PIL or tensor implementation and thus are also only implemented in torchvision.transforms.functional
center_crop
resized_crop
ten_crop
five_crop
As discussed offline with @pmeier we will close this PR and move it to the changes directly to #5421 so that everything is in one place.
| gharchive/pull-request | 2022-02-22T16:08:25 | 2025-04-01T06:45:32.454821 | {
"authors": [
"datumbox",
"pmeier"
],
"repo": "pytorch/vision",
"url": "https://github.com/pytorch/vision/pull/5455",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
325583254 | clobber and safety errors during environment creation
At least on linux, I see a lot of clobber errors when creating the env on current master.
Many may be harmless; at some point we should probably follow them up and report to maintainers.
But some may actually be related to the problems I've been having on linux...
SafetyError: The package for bokeh located at /cio/mc3/pkgs/bokeh-0.12.16-pyh48623ea_0
appears to be corrupted. The path 'site-packages/bokeh/server/static/js/compiler.js'
has a sha256 mismatch.
reported sha256: 36c6738161767550254a3a8e508bce7ce2b88d0848ea238a32e58dbb937a6a39
actual sha256: 544d85ff40991c0a5cfe84dd144c0b7c4e10897dac68ab6053a48a04f0cb92a4
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::gettext-0.19.8.1-0, defaults::libgcc-ng-7.2.0-hdf63c60_3, conda-forge::readline-7.0-0
path: 'share/info/dir'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libasan.so'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libatomic.so'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libatomic.so.1'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libgcc_s.so'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libgcc_s.so.1'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, conda-forge::openmp-6.0.0-0, defaults::gcc-4.8.5-7
path: 'lib/libgomp.so'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libgomp.so.1'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libgomp.so.1.0.0'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libitm.so'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libitm.so.1'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libitm.so.1.0.0'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libquadmath.so'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libquadmath.so.0'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libquadmath.so.0.0.0'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libtsan.so'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libtsan.so.0'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libtsan.so.0.0.0'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'share/info/libgomp.info'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgcc-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'share/info/libquadmath.info'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgfortran-3.0.0-1, defaults::libgcc-7.2.0-h69d50b8_2, defaults::gcc-4.8.5-7
path: 'lib/libgfortran.so.3'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libgfortran-3.0.0-1, defaults::libgcc-7.2.0-h69d50b8_2, defaults::gcc-4.8.5-7
path: 'lib/libgfortran.so.3.0.0'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libstdcxx-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libstdc++.so'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults::libstdcxx-ng-7.2.0-hdf63c60_3, defaults::gcc-4.8.5-7
path: 'lib/libstdc++.so.6'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/accumulators.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/accumulators_fwd.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/accumulator_base.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/accumulator_concept.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/accumulator_set.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/accumulators/droppable_accumulator.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/accumulators/external_accumulator.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/accumulators/reference_accumulator.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/accumulators/value_accumulator.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/depends_on.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/external.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/extractor.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/features.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/parameters/accumulator.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/parameters/sample.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/parameters/weight.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/framework/parameters/weights.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/numeric/detail/function1.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/numeric/detail/function2.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/numeric/detail/function3.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/numeric/detail/function4.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/numeric/detail/function_n.hpp'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: conda-forge::boost-cpp-1.66.0-1, defaults::libboost-1.65.1-habcd387_4
path: 'include/boost/accumulators/numeric/detail/pod_singleton.hpp'
...
(see attached file for all...there are lots: env-errs.txt)
I get a lot of ClobberErrors too when I create the env on Windows.
Related: https://github.com/ContinuumIO/EarthSim/issues/124
| gharchive/issue | 2018-05-23T07:34:06 | 2025-04-01T06:45:32.472416 | {
"authors": [
"ceball",
"kcpevey"
],
"repo": "pyviz/EarthSim",
"url": "https://github.com/pyviz/EarthSim/issues/97",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
339432018 | Missing Point in display
import holoviews as hv
hv.extension('bokeh')
import geoviews
from shapely.geometry import Point
import pandas as pd
import geopandas as gpd
from geopandas import GeoSeries, GeoDataFrame
import hvplot.pandas
from geopandas import GeoSeries, GeoDataFrame
from shapely.geometry import Point
data = {'name': ['House', 'Work', 'Pet Store'],
'lat': [ 45, 46, 47.5],
'lon': [-120, -121.2, -122.9]}
df = pd.DataFrame(data)
geo = [Point(xy) for xy in zip(data['lon'], data['lat'])]
gdf = GeoDataFrame(df, geometry=geo)
gdf.hvplot().options(size=15,color='green',marker='*')
The plot correctly sizes the axis ranges,
but the third point is not displayed
{'matplotlib': '2.2.2', 'pandas': '0.23.2', 'geopandas': '0.3.0', 'holoviews': '1.11.0a1.post3+g103daf59-dirty'}
hvplot from master v0.2.1 (july 9)
Thanks, the example is not working for me, could you make it fully reproducible and define df?
oops, fixed in the example above!
Found that I needed to import geoviews as well for some reason having to do with
kdims Longitude,Latitude
The GeopandasInterface lives in geoviews so without importing it HoloViews does not understand the geometries.
great! Thank you! Did I miss the geoviews dependency in the documentation?
No, that's a bug, when you use geopandas it should import geoviews for you.
Fixed, it will now import geoviews automatically and error if it isn't available.
| gharchive/issue | 2018-07-09T12:38:53 | 2025-04-01T06:45:32.476298 | {
"authors": [
"ea42gh",
"philippjfr"
],
"repo": "pyviz/hvplot",
"url": "https://github.com/pyviz/hvplot/issues/56",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
381328312 | Added collage
Right now, the collage items link to the Anaconda.org rendered notebook, but @philippjfr, you may want to edit this PR to make it link to a live notebook? Seems like the code is also important to show, though.
I'm working on getting these served as apps on mybinder, i.e. no notebooks and therefore no code. I think that's fine for a landing page and we can have a gallery page which links to the code and the app versions.
I've added separate titles for each thumbnail, so if you want we could have the image link to the running app, and the name link to the notebook. We can also have each running app link back to the notebook...
In the meantime, consider just merging it so that the website has these examples, and updating in a separate PR.
| gharchive/pull-request | 2018-11-15T20:33:52 | 2025-04-01T06:45:32.478869 | {
"authors": [
"jbednar",
"philippjfr"
],
"repo": "pyviz/panel",
"url": "https://github.com/pyviz/panel/pull/156",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
421761389 | Add a KaTeX based LaTeX pane
I think this should probably replace the LaTeX pane because it is much more capable. That said I still need to assess how expensive it would be to load KaTeX all the time, if it's too large I will likely have to let the user request it explicitly using pn.extension('katex') (not required on bokeh server or when saving).
katex.min.js + katex.min.css are ~137 KB combined. Is it worth it to always bundle that or should I require the user to run pn.extension('katex') before using the component in the notebook? A helpful warning would tell the user they forgot to do so. I'm on the edge, I don't quite think using LaTeX is common enough to make everyone pay a 137 KB penalty. If I make it optional I could also allow toggling between MathJax and KaTeX and use whichever one is loaded.
I'd say it's worth saving the 137KB at a cost of having to load the extension explicitly
Okay, I've now implemented MathJax as well and refactored in such a way that the LaTeX pane will use either the MathJax or the KaTeX model depending on which was loaded. If an explicit renderer is defined on the pane it will use that and if neither is loaded it will warn.
Codecov Report
Merging #311 into master will increase coverage by <.01%.
The diff coverage is 92.59%.
@@ Coverage Diff @@
## master #311 +/- ##
==========================================
+ Coverage 89.28% 89.29% +<.01%
==========================================
Files 65 67 +2
Lines 6617 6622 +5
==========================================
+ Hits 5908 5913 +5
Misses 709 709
Impacted Files
Coverage Δ
panel/models/katex.py
100% <100%> (ø)
panel/io.py
66.77% <100%> (ø)
:arrow_up:
panel/pane/markup.py
92.85% <100%> (+0.1%)
:arrow_up:
panel/tests/test_panes.py
93.84% <100%> (+0.4%)
:arrow_up:
panel/models/mathjax.py
100% <100%> (ø)
panel/pane/equation.py
77.08% <84.61%> (-6.5%)
:arrow_down:
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18c71b6...2d11048. Read the comment docs.
| gharchive/pull-request | 2019-03-16T02:47:52 | 2025-04-01T06:45:32.491137 | {
"authors": [
"codecov-io",
"jbednar",
"philippjfr"
],
"repo": "pyviz/panel",
"url": "https://github.com/pyviz/panel/pull/311",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
2038211403 | 🛑 nitter.in.projectsegfau.lt is down
In c2f6965, nitter.in.projectsegfau.lt (https://nitter.in.projectsegfau.lt) was down:
HTTP code: 503
Response time: 792 ms
Resolved: nitter.in.projectsegfau.lt is back up in 79f9b03 after 27 minutes.
| gharchive/issue | 2023-12-12T17:08:54 | 2025-04-01T06:45:32.540426 | {
"authors": [
"qallen028"
],
"repo": "qallen028/nitter-instances",
"url": "https://github.com/qallen028/nitter-instances/issues/12841",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2042067596 | 🛑 nitter.privacydev.net is down
In c04a4c3, nitter.privacydev.net (https://nitter.privacydev.net) was down:
HTTP code: 502
Response time: 345 ms
Resolved: nitter.privacydev.net is back up in e69175c after 1 hour, 54 minutes.
| gharchive/issue | 2023-12-14T16:41:22 | 2025-04-01T06:45:32.543572 | {
"authors": [
"qallen028"
],
"repo": "qallen028/nitter-instances",
"url": "https://github.com/qallen028/nitter-instances/issues/13009",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2066230780 | 🛑 nitter.us.projectsegfau.lt is down
In e6724a5, nitter.us.projectsegfau.lt (https://nitter.us.projectsegfau.lt) was down:
HTTP code: 503
Response time: 210 ms
Resolved: nitter.us.projectsegfau.lt is back up in dd7a88e after 21 minutes.
| gharchive/issue | 2024-01-04T19:39:07 | 2025-04-01T06:45:32.546764 | {
"authors": [
"qallen028"
],
"repo": "qallen028/nitter-instances",
"url": "https://github.com/qallen028/nitter-instances/issues/14898",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2080685836 | 🛑 nitter.tiekoetter.com is down
In b3510fa, nitter.tiekoetter.com (https://nitter.tiekoetter.com) was down:
HTTP code: 502
Response time: 752 ms
Resolved: nitter.tiekoetter.com is back up in f651fc5 after 5 minutes.
| gharchive/issue | 2024-01-14T11:18:19 | 2025-04-01T06:45:32.549869 | {
"authors": [
"qallen028"
],
"repo": "qallen028/nitter-instances",
"url": "https://github.com/qallen028/nitter-instances/issues/15610",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2154658117 | 🛑 nitter.domain.glass is down
In 9227268, nitter.domain.glass (https://nitter.domain.glass) was down:
HTTP code: 503
Response time: 220 ms
Resolved: nitter.domain.glass is back up in 949c980 after 1 hour, 17 minutes.
| gharchive/issue | 2024-02-26T16:58:29 | 2025-04-01T06:45:32.552558 | {
"authors": [
"qallen028"
],
"repo": "qallen028/nitter-instances",
"url": "https://github.com/qallen028/nitter-instances/issues/17292",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1855021118 | 🛑 nitter.tiekoetter.com is down
In 69eedec, nitter.tiekoetter.com (https://nitter.tiekoetter.com) was down:
HTTP code: 502
Response time: 952 ms
Resolved: nitter.tiekoetter.com is back up in f1d014b.
| gharchive/issue | 2023-08-17T13:36:23 | 2025-04-01T06:45:32.555621 | {
"authors": [
"qallen028"
],
"repo": "qallen028/nitter-instances",
"url": "https://github.com/qallen028/nitter-instances/issues/3775",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1858758629 | 🛑 nitter.ir is down
In 6c51c60, nitter.ir (https://nitter.ir) was down:
HTTP code: 0
Response time: 0 ms
Resolved: nitter.ir is back up in 26b11a1 after 46 days, 22 hours, 13 minutes.
| gharchive/issue | 2023-08-21T07:18:17 | 2025-04-01T06:45:32.558651 | {
"authors": [
"qallen028"
],
"repo": "qallen028/nitter-instances",
"url": "https://github.com/qallen028/nitter-instances/issues/4157",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1878492977 | 🛑 notabird.site is down
In ebc53fa, notabird.site (https://notabird.site) was down:
HTTP code: 520
Response time: 51 ms
Resolved: notabird.site is back up in 8bd702b after 12 minutes.
| gharchive/issue | 2023-09-02T08:50:28 | 2025-04-01T06:45:32.561234 | {
"authors": [
"qallen028"
],
"repo": "qallen028/nitter-instances",
"url": "https://github.com/qallen028/nitter-instances/issues/5058",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1955560048 | 🛑 notabird.site is down
In 47ab357, notabird.site (https://notabird.site) was down:
HTTP code: 520
Response time: 77 ms
Resolved: notabird.site is back up in 9a7b4d5 after 22 minutes.
| gharchive/issue | 2023-10-21T16:22:44 | 2025-04-01T06:45:32.563617 | {
"authors": [
"qallen028"
],
"repo": "qallen028/nitter-instances",
"url": "https://github.com/qallen028/nitter-instances/issues/8120",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1802382078 | 🛑 nitter.pw is down
In 538d886, nitter.pw (https://nitter.pw) was down:
HTTP code: 404
Response time: 506 ms
Resolved: nitter.pw is back up in 5a0fd9a.
| gharchive/issue | 2023-07-13T07:28:37 | 2025-04-01T06:45:32.566847 | {
"authors": [
"qallen028"
],
"repo": "qallen028/nitter-instances",
"url": "https://github.com/qallen028/nitter-instances/issues/974",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1125558316 | M1无法正常编译
M1 Mac无法成功编译。
环境信息:
node v17.3.1
npm v8.3.0
yarn v1.22.17
日志如下:
➜ ~ cd code/YesPlayMusic
➜ YesPlayMusic git:(master) ✗ yarn electron:build --macos dir:arm64
yarn run v1.22.17
$ vue-cli-service electron:build -p never --macos dir:arm64
INFO Bundling render process:
⠇ Building modern bundle for production...
DONE Compiled successfully in 3251ms 下午2:07:36
File Size Gzipped
dist_electron/bundled/js/chunk-vendors 514.00 KiB 163.72 KiB
.acc5afce.js
dist_electron/bundled/js/index.c7f37fd 150.84 KiB 43.22 KiB
a.js
dist_electron/bundled/js/chunk-5052355 121.74 KiB 34.72 KiB
3.c379ad90.js
dist_electron/bundled/js/chunk-ea3a679 85.55 KiB 29.27 KiB
8.757e5cfa.js
dist_electron/bundled/js/chunk-4bbc70d 38.38 KiB 13.32 KiB
a.d9c82d76.js
dist_electron/bundled/js/chunk-aeb9052 37.44 KiB 10.95 KiB
6.6a163a74.js
dist_electron/bundled/js/chunk-69189b5 17.94 KiB 5.14 KiB
4.32b3c390.js
dist_electron/bundled/js/chunk-bb63446 17.09 KiB 4.97 KiB
6.1c4c9638.js
dist_electron/bundled/js/chunk-370f106 16.47 KiB 5.15 KiB
e.ff5a1193.js
dist_electron/bundled/js/chunk-7ee04bd 15.34 KiB 4.87 KiB
b.6462e9b2.js
dist_electron/bundled/js/chunk-1fd82bc 14.85 KiB 4.81 KiB
3.126dce7c.js
dist_electron/bundled/js/chunk-4958cc4 13.29 KiB 4.16 KiB
3.4a1a1764.js
dist_electron/bundled/js/chunk-7764825 13.10 KiB 4.46 KiB
e.5796f810.js
dist_electron/bundled/js/chunk-35a3e37 12.04 KiB 4.03 KiB
a.124230bd.js
dist_electron/bundled/precache-manifes 7.50 KiB 1.91 KiB
t.b2f80b0948ee22d45af3f23dfdfc8400.js
dist_electron/bundled/js/chunk-7f28686 6.76 KiB 2.46 KiB
c.a86d6751.js
dist_electron/bundled/js/chunk-269b39c 5.41 KiB 2.19 KiB
4.60ea25e5.js
dist_electron/bundled/js/chunk-0f7b5fa 4.52 KiB 1.81 KiB
a.0f0a700c.js
dist_electron/bundled/js/chunk-0db2d82 3.26 KiB 1.35 KiB
8.94791235.js
dist_electron/bundled/js/chunk-44d086a 2.03 KiB 1.11 KiB
7.436aea7c.js
dist_electron/bundled/js/chunk-d2c8691 1.76 KiB 0.70 KiB
e.f7ea25e6.js
dist_electron/bundled/js/chunk-b10ef4b 1.49 KiB 0.84 KiB
6.1d7f9dd6.js
dist_electron/bundled/service-worker.j 1.05 KiB 0.61 KiB
s
dist_electron/bundled/css/chunk-505235 37.14 KiB 5.69 KiB
53.b1450359.css
dist_electron/bundled/css/index.5378c8 27.83 KiB 5.47 KiB
e1.css
dist_electron/bundled/css/chunk-vendor 17.14 KiB 3.44 KiB
s.c5cef460.css
dist_electron/bundled/css/chunk-370f10 8.91 KiB 2.02 KiB
6e.46d705af.css
dist_electron/bundled/css/chunk-69189b 7.63 KiB 1.72 KiB
54.66db2955.css
dist_electron/bundled/css/chunk-bb6344 7.02 KiB 1.63 KiB
66.a3178235.css
dist_electron/bundled/css/chunk-7ee04b 6.33 KiB 1.62 KiB
db.2b52654f.css
dist_electron/bundled/css/chunk-aeb905 5.54 KiB 1.36 KiB
26.7a8b5767.css
dist_electron/bundled/css/chunk-1fd82b 5.13 KiB 1.31 KiB
c3.acf9b80c.css
dist_electron/bundled/css/chunk-35a3e3 4.90 KiB 1.27 KiB
7a.858a5528.css
dist_electron/bundled/css/chunk-776482 4.78 KiB 1.24 KiB
5e.d6cf6181.css
dist_electron/bundled/css/chunk-4958cc 4.69 KiB 1.25 KiB
43.e6384f91.css
dist_electron/bundled/css/chunk-ea3a67 3.91 KiB 0.97 KiB
98.95290812.css
dist_electron/bundled/css/chunk-4bbc70 3.24 KiB 0.88 KiB
da.c268d7db.css
dist_electron/bundled/css/chunk-7f2868 2.58 KiB 0.86 KiB
6c.e16bee2b.css
dist_electron/bundled/css/chunk-0f7b5f 2.29 KiB 0.65 KiB
aa.02b2a624.css
dist_electron/bundled/css/chunk-269b39 2.24 KiB 0.77 KiB
c4.0b5d1add.css
dist_electron/bundled/css/chunk-b10ef4 1.45 KiB 0.46 KiB
b6.1fdf5d5e.css
dist_electron/bundled/css/chunk-d2c869 1.20 KiB 0.46 KiB
1e.d21ac2a1.css
dist_electron/bundled/css/chunk-44d086 0.77 KiB 0.36 KiB
a7.f8604c20.css
dist_electron/bundled/css/chunk-0db2d8 0.45 KiB 0.26 KiB
28.c5b60726.css
Images and other types of assets omitted.
DONE Build complete. The dist_electron/bundled directory is ready to be deployed.
INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
⠹ Bundling main process...
WARNING Compiled with 5 warnings 下午2:07:38
warning in ./node_modules/NeteaseCloudMusicApi/server.js
Critical dependency: the request of a dependency is an expression
warning in ./node_modules/dbus-next/lib/connection.js
Module not found: Error: Can't resolve 'abstract-socket' in '/Users/lizewen/Code/YesPlayMusic/node_modules/dbus-next/lib'
warning in ./node_modules/discord-rpc/node_modules/ws/lib/buffer-util.js
Module not found: Error: Can't resolve 'bufferutil' in '/Users/lizewen/Code/YesPlayMusic/node_modules/discord-rpc/node_modules/ws/lib'
warning in ./node_modules/discord-rpc/src/util.js
Module not found: Error: Can't resolve 'register-scheme' in '/Users/lizewen/Code/YesPlayMusic/node_modules/discord-rpc/src'
warning in ./node_modules/discord-rpc/node_modules/ws/lib/validation.js
Module not found: Error: Can't resolve 'utf-8-validate' in '/Users/lizewen/Code/YesPlayMusic/node_modules/discord-rpc/node_modules/ws/lib'
File Size Gzipped
dist_electron/bundled/background.js 2648.59 KiB 854.69 KiB
dist_electron/bundled/1.js 25.40 KiB 8.72 KiB
Images and other types of assets omitted.
INFO Building app with electron-builder:
• electron-builder version=22.10.5 os=21.3.0
• writing effective config file=dist_electron/builder-effective-config.yaml
• packaging platform=darwin arch=arm64 electron=13.6.7 appOutDir=dist_electron/mac-arm64
• Unpacking electron zip zipPath=undefined
Error: editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:317:21)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
↳ Error: editions-autoloader-none-suitable: Unable to determine a suitable edition, as none were suitable.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:327:19)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript source code made to be compatible with Deno] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 12 || 14 || 15 with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ESNext for Node.js 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for web browsers with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: The edition [TypeScript source code with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:252:19)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
↳ Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEngines (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:183:19)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:250:10)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18) {
klass: [Function: Errlop] {
create: [Function (anonymous)],
isErrlop: [Function (anonymous)],
ensure: [Function (anonymous)]
},
parent: Error: editions-autoloader-none-suitable: Unable to determine a suitable edition, as none were suitable.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:327:19)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript source code made to be compatible with Deno] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 12 || 14 || 15 with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ESNext for Node.js 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for web browsers with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: The edition [TypeScript source code with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:252:19)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
↳ Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEngines (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:183:19)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:250:10)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18) {
klass: [Function: Errlop] {
create: [Function (anonymous)],
isErrlop: [Function (anonymous)],
ensure: [Function (anonymous)]
},
parent: Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript source code made to be compatible with Deno] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 12 || 14 || 15 with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ESNext for Node.js 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for web browsers with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: The edition [TypeScript source code with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:252:19)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
↳ Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEngines (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:183:19)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:250:10)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18) {
klass: [Function],
parent: [Error],
ancestors: [Array],
orphanStack: 'Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript source code made to be compatible with Deno] is not compatible with this environment.\n' +
' at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)\n' +
' at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)\n' +
' at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)\n' +
' at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)',
code: 'editions-autoloader-edition-incompatible'
},
ancestors: [
[Error], [Error],
[Error], [Error],
[Error], [Error],
[Error]
],
orphanStack: 'Error: editions-autoloader-none-suitable: Unable to determine a suitable edition, as none were suitable.\n' +
' at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)\n' +
' at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:327:19)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)\n' +
' at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)\n' +
' at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)',
code: 'editions-autoloader-none-suitable'
},
ancestors: [
Error: editions-autoloader-none-suitable: Unable to determine a suitable edition, as none were suitable.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:327:19)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript source code made to be compatible with Deno] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 12 || 14 || 15 with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ESNext for Node.js 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for web browsers with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: The edition [TypeScript source code with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:252:19)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
↳ Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEngines (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:183:19)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:250:10)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18) {
klass: [Function],
parent: [Error],
ancestors: [Array],
orphanStack: 'Error: editions-autoloader-none-suitable: Unable to determine a suitable edition, as none were suitable.\n' +
' at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)\n' +
' at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:327:19)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)\n' +
' at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)\n' +
' at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)',
code: 'editions-autoloader-none-suitable'
},
Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript source code made to be compatible with Deno] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 12 || 14 || 15 with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ESNext for Node.js 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for web browsers with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: The edition [TypeScript source code with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:252:19)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
↳ Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEngines (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:183:19)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:250:10)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18) {
klass: [Function],
parent: [Error],
ancestors: [Array],
orphanStack: 'Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript source code made to be compatible with Deno] is not compatible with this environment.\n' +
' at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)\n' +
' at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)\n' +
' at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)\n' +
' at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)',
code: 'editions-autoloader-edition-incompatible'
},
Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 12 || 14 || 15 with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ESNext for Node.js 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for web browsers with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: The edition [TypeScript source code with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:252:19)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
↳ Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEngines (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:183:19)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:250:10)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18) {
klass: [Function],
parent: [Error],
ancestors: [Array],
orphanStack: 'Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 12 || 14 || 15 with Import for modules] is not compatible with this environment.\n' +
' at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)\n' +
' at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)\n' +
' at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)\n' +
' at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)',
code: 'editions-autoloader-edition-incompatible'
},
Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ESNext for Node.js 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for web browsers with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: The edition [TypeScript source code with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:252:19)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
↳ Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEngines (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:183:19)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:250:10)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18) {
klass: [Function],
parent: [Error],
ancestors: [Array],
orphanStack: 'Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 15 with Require for modules] is not compatible with this environment.\n' +
' at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)\n' +
' at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)\n' +
' at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)\n' +
' at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)',
code: 'editions-autoloader-edition-incompatible'
},
Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ESNext for Node.js 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for web browsers with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: The edition [TypeScript source code with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:252:19)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
↳ Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEngines (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:183:19)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:250:10)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18) {
klass: [Function],
parent: [Error],
ancestors: [Array],
orphanStack: 'Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ESNext for Node.js 14 || 15 with Require for modules] is not compatible with this environment.\n' +
' at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)\n' +
' at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)\n' +
' at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)\n' +
' at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)',
code: 'editions-autoloader-edition-incompatible'
},
Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for web browsers with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
↳ Error: editions-autoloader-edition-incompatible: The edition [TypeScript source code with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:252:19)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
↳ Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEngines (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:183:19)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:250:10)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18) {
klass: [Function],
parent: [Error],
ancestors: [Array],
orphanStack: 'Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for web browsers with Import for modules] is not compatible with this environment.\n' +
' at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)\n' +
' at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:301:25)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)\n' +
' at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)\n' +
' at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)',
code: 'editions-autoloader-edition-incompatible'
},
Error: editions-autoloader-edition-incompatible: The edition [TypeScript source code with Import for modules] is not compatible with this environment.
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:252:19)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)
↳ Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEngines (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:183:19)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:250:10)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18) {
klass: [Function],
parent: [Error],
ancestors: [Array],
orphanStack: 'Error: editions-autoloader-edition-incompatible: The edition [TypeScript source code with Import for modules] is not compatible with this environment.\n' +
' at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)\n' +
' at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)\n' +
' at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:252:19)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)\n' +
' at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)\n' +
' at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)',
code: 'editions-autoloader-edition-incompatible'
},
Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment
at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEngines (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:183:19)
at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:250:10)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18) {
klass: [Function],
parent: undefined,
ancestors: [],
orphanStack: 'Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment\n' +
' at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)\n' +
' at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)\n' +
' at isCompatibleEngines (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:183:19)\n' +
' at isCompatibleEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:250:10)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:287:4)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:312:12)\n' +
' at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)\n' +
' at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)',
code: 'editions-autoloader-invalid-engines'
}
],
orphanStack: 'Error: editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening.\n' +
' at new Errlop (/Users/lizewen/Code/YesPlayMusic/node_modules/errlop/edition-es5/index.js:61:18)\n' +
' at Object.errtion (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/util.js:23:14)\n' +
' at determineEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:317:21)\n' +
' at solicitEdition (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:350:16)\n' +
' at Object.requirePackage (/Users/lizewen/Code/YesPlayMusic/node_modules/editions/edition-es5/index.js:364:9)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/istextorbinary/index.cjs:4:38)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
' at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
' at require (node:internal/modules/cjs/helpers:102:18)\n' +
' at Object.<anonymous> (/Users/lizewen/Code/YesPlayMusic/node_modules/app-builder-lib/electron-osx-sign/sign.js:11:14)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1097:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)',
code: 'editions-autoloader-none-broadened'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
应该是node版本高了,ypm当前使用electron13,根据官方文档,需要搭配node v14
nvm install 14
nvm use 14
| gharchive/issue | 2022-02-07T06:16:36 | 2025-04-01T06:45:33.003858 | {
"authors": [
"imoasislee",
"memorydream",
"pan93412"
],
"repo": "qier222/YesPlayMusic",
"url": "https://github.com/qier222/YesPlayMusic/issues/1297",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
800886167 | 树莓派安装可正常运行,点击反应迟钝,不知是否是硬件不支持还是我没有配置好
尽量每个 issue 只提一个 bug 或新功能
提新 issue 前请确认 👉
没人提过这个 issue(这里看所有 issue)
项目的 Todo 里没有与你 issue 相关的内容(这里看 Todo)
反馈 bug 需要的信息
用的是网页版还是客户端
浏览器名称或电脑操作系统
控制台 Console 页面的截图(按 F12 可打开控制台)
使用的是raspiberry4B,安装armv7deb包,程序运行时响应需要十几秒,不知是哪里出问题了
没树莓派没办法测试😅
能打开吗?我的白屏
可以打开 正常使用 我安装的是 deb 版的 依赖不全需要dpkg安装后sudo apt-get -f install
GreenTeodoro839 notifications@github.com 于2021年2月7日周日 上午6:18写道:
能打开吗?我的白屏
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/qier222/YesPlayMusic/issues/225#issuecomment-774551887,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI67JUAAEMYUM7XPIN5EM23S5W53XANCNFSM4XCALQNA
.
树莓派 4B 4G 版本,安装 YesPlayMusic_0.3.3_armv7l.deb 包,测试使用没有问题,你是不是尝试检查一下网络故障之类的,白屏可能内置 api 没有返回数据
谢谢 我看看
久治明千树汐 notifications@github.com 于2021年2月13日周六 上午2:04写道:
树莓派 4B 4G 版本,安装 YesPlayMusic_0.3.3_armv7l.deb
包,测试使用没有问题,你是不是尝试检查一下网络故障之类的,白屏可能内置 api 没有返回数据
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/qier222/YesPlayMusic/issues/225#issuecomment-778351489,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI67JUEN73SU34WS3SJMEZLS6VURZANCNFSM4XCALQNA
.
| gharchive/issue | 2021-02-04T03:08:24 | 2025-04-01T06:45:33.016380 | {
"authors": [
"GreenTeodoro839",
"qier222",
"yanranxiaoxi",
"zhangyiming748"
],
"repo": "qier222/YesPlayMusic",
"url": "https://github.com/qier222/YesPlayMusic/issues/225",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2355356544 | 360X快速瀏覽器無法新建文件夾和書簽
您好。
問題1: 在360X快速瀏覽器上無法新建文件夾和書簽
問題2:
如何打開中鍵新建書簽的功能。(已在設置里也改了fastCreate 2)
請問扩展控制台是在哪里打開的?
我是在F12 > 控制台輸入 BM.set('fastCreate', 2) ,但是命令無效。
https://github.com/qinxs/Ease-Bookmarks/issues/15
首先謝謝作者的這個插件。
我目前在嘗試從360X換到EDGE上(因為360X最近經常崩潰),但是EDGE的收藏夾邏輯真的用得想哭了 T^T。
(尤其用了這麼多年的360X收藏夾的方便)。
所以現在被迫又用回360X快速瀏覽器。
幸好找到作者這個插件(B站留言看到的,找了很多書簽插件)。
現在主要是先用用,看看能不能代替360的書簽習慣。謝謝
Q1:
这个360浏览器对扩展做了改动或限制导致的,官方没有任何文档说明,不能修复
比如创建书签代码:
chrome.bookmarks.create({
'parentId': '1',
'index': 0,
'title': 'Ease-Bookmarks',
'url': 'https://github.com/qinxs/Ease-Bookmarks'
});
在360的书签管理器页面的控制台 能够创建书签,但在本扩展的控制台就报错了
作为对比 在chrome和edge里 本扩展都能正常创建书签和文件夹
Q2:
chrome-extension://jnlhiobkddpipmgjkpkhiefaahibkeke/options.html#configTable
扩展的内置参数 直接在这个页面修改就可以了 不用去控制台执行
(由于Q1问题的存在 改了后 还是不能创建书签和文件夹)
最后 如果方便 建议去360社区反馈此兼容问题(并附带此 issue 链接)
感谢反馈~
Q1: 既然是360的問題,那就沒辦法。
Q2: 請問意思只需要在插件的内置参数修改嗎? (Chrome/Edge)
0:默认值,不启用
2:启用,只对文件夹有效,书签添加到该文件夹中
(EDGE如下) extension://addbgeibeffkokpabpbpmdpehfbegchl/options.html#configTable
功能:中键点击书签favicon图标,快速把当前网址添加到书签(详见 https://github.com/qinxs/Ease-Bookmarks/issues/15)
然後,只需要在EDGE里,CTRL+Q打開插件的收藏視窗,在里面按中鍵點擊一個文件夾圖標,就可以把書簽加到里面去嗎?
因為我在EDGE里也改了配置參數-2,也是用不了中鍵添加書簽。所以好奇我是不是漏掉什麼步驟
@hxhwing0522 操作和理解都没问题
但无论何种方式添加书签、文件夹 最终还是要调用chrome.bookmarks.create这个API
这又回到问题1了 所以添加不了
我试了 还包括编辑、删除都有问题 所以最好还是反馈给360社区
我电脑上测试了chrome、edge、chromium 扩展都没问题 所有功能正常 UI页比较一致
但第三方 360(还有Vivaldi)都有或多或少的兼容问题
其根本原因就是他们修改或限制了API 但官方没有文档 所以我也处理不了
@hxhwing0522 操作和理解都没问题
但无论何种方式添加书签、文件夹 最终还是要调用chrome.bookmarks.create这个API 这又回到问题1了 所以添加不了
我试了 还包括编辑、删除都有问题 所以最好还是反馈给360社区
我电脑上测试了chrome、edge、chromium 扩展都没问题 所有功能正常 UI页比较一致 但第三方 360(还有Vivaldi)都有或多或少的兼容问题 其根本原因就是他们修改或限制了API 但官方没有文档 所以我也处理不了
360X已經放棄了這個功能。
但我在EDGE和chrome上都測試過,都是無法使用。
我这儿可以的 你看操作是不是一样的
我这儿可以的 你看操作是不是一样的
可以了,謝謝作者。
打開插件的設置,進入在右上角的内置参数頁面
把fastCreate的參數改成2
回到網頁
打開插件的收藏夾視窗,將鼠標移到文件夾圖標上,鼠標會變成十字型移動圖標
按中鍵,即可收藏頁面
| gharchive/issue | 2024-06-16T00:55:32 | 2025-04-01T06:45:33.047722 | {
"authors": [
"hxhwing0522",
"qinxs"
],
"repo": "qinxs/Ease-Bookmarks",
"url": "https://github.com/qinxs/Ease-Bookmarks/issues/28",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1927056379 | Fix CI: Stack overflow with new pylint 3.0.0
Summary
Nightly CI has been failing lint across the board for a couple of nights eg. this job. pylint 3.0.0 was released a couple of days ago and linting the code ends up with a stack overflow (recursion error) that did not occur on earlier versions. For now this one line change to a test case circumvents the issue and gets CI running again without the need to pin pylint.
Details and comments
pylint -rn qiskit_machine_learning test tools
Exception on node <Attribute.shape l.77 at 0x7f1824a4aad0> in file '/home/runner/work/qiskit-machine-learning/qiskit-machine-learning/test/utils/loss_functions/test_loss_functions.py'
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/astroid/decorators.py", line 90, in inner
yield next(generator)
File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/astroid/decorators.py", line 44, in wrapped
if context.push(node):
RecursionError: maximum recursion depth exceeded
Pull Request Test Coverage Report for Build 6412034251
0 of 0 changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.689%
Totals
Change from base Build 6353865571:
0.0%
Covered Lines:
1851
Relevant Lines:
1997
💛 - Coveralls
| gharchive/pull-request | 2023-10-04T22:10:30 | 2025-04-01T06:45:33.054701 | {
"authors": [
"coveralls",
"woodsp-ibm"
],
"repo": "qiskit-community/qiskit-machine-learning",
"url": "https://github.com/qiskit-community/qiskit-machine-learning/pull/695",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
453370670 | Multiple Hypercubes
Is it possible to provide example how we can use this will multiple hypercubes?
I am ideally looking for one hypercube for chart data and another to be used for the tooltip.
We do not currently have that but it is an interesting idea. Can you elaborate more with an example?
I was thinking maybe something like a line chart where you hover over a data point and a pie chart or table appear with data for that point. Can try think.of simpler example if you would.like.
| gharchive/issue | 2019-06-07T07:12:37 | 2025-04-01T06:45:33.059178 | {
"authors": [
"alangrn",
"yianni-ververis"
],
"repo": "qlik-demo-team/qdt-components",
"url": "https://github.com/qlik-demo-team/qdt-components/issues/93",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1432221130 | feat(md-3351): row count android
Adds a position indicator to the bottom of the Table
:tada: This PR is included in version 1.1.0-alpha.39 :tada:
The release is available on:
npm package (@alpha dist-tag)
GitHub release
Your semantic-release bot :package::rocket:
| gharchive/pull-request | 2022-11-01T23:05:58 | 2025-04-01T06:45:33.063512 | {
"authors": [
"enell",
"gruskal"
],
"repo": "qlik-oss/react-native-simple-grid",
"url": "https://github.com/qlik-oss/react-native-simple-grid/pull/105",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1665938257 | test: add and update
Add test for single grid layout.
Add test for RTL.
Update test to cover height calculation of listboxes when dense or no-title.
@DanielS-Qlik Nice!
| gharchive/pull-request | 2023-04-13T08:12:06 | 2025-04-01T06:45:33.064717 | {
"authors": [
"DanielS-Qlik",
"pernyl"
],
"repo": "qlik-oss/sn-list-objects",
"url": "https://github.com/qlik-oss/sn-list-objects/pull/267",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1348108085 | Test Issue - lqzfn
Test Body - ldbiyfydcg
Test Comment - cgquf
| gharchive/issue | 2022-08-23T15:05:53 | 2025-04-01T06:45:33.065684 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/10910",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1378848407 | Test Issue - atggi
Test Body - ghureprhob
Test Comment - ewnlf
| gharchive/issue | 2022-09-20T05:40:47 | 2025-04-01T06:45:33.066418 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/12961",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1386502295 | Test Issue - myptu
Test Body - ncugdgdqku
Test Comment - nmxau
| gharchive/issue | 2022-09-26T18:06:48 | 2025-04-01T06:45:33.067240 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/13538",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1404008834 | Test Issue - ybmzi
Test Body - caursojtht
Test Comment - jqpmn
| gharchive/issue | 2022-10-11T05:03:41 | 2025-04-01T06:45:33.068068 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/14677",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1439080252 | Test Issue - uymnr
Test Body - vdvwuocevb
Test Comment - wpksw
| gharchive/issue | 2022-11-07T22:15:50 | 2025-04-01T06:45:33.068796 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/16408",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1472360851 | Test Issue - zqgky
Test Body - nmczwyfkvf
Test Comment - uazfd
| gharchive/issue | 2022-12-02T06:03:33 | 2025-04-01T06:45:33.069520 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/17956",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1223425791 | Test Issue - oekoy
Test Body - gtwjdjbrdi
Test Comment - gckwu
| gharchive/issue | 2022-05-02T22:27:06 | 2025-04-01T06:45:33.070238 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/1960",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1515986728 | Test Issue - xeyhn
Test Body - uacssauymz
Test Comment - buqex
| gharchive/issue | 2023-01-02T03:14:50 | 2025-04-01T06:45:33.071407 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/19725",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1531618738 | Test Issue - lsbxv
Test Body - zpbiohywub
Test Comment - lpgbt
| gharchive/issue | 2023-01-13T02:30:01 | 2025-04-01T06:45:33.072171 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/20484",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1552915303 | Test Issue - ppsdg
Test Body - yrpfptdcqh
Test Comment - mamde
| gharchive/issue | 2023-01-23T11:14:21 | 2025-04-01T06:45:33.072978 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/20932",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1586971414 | Test Issue - xpyfd
Test Body - oxsqlyxgux
Test Comment - vtwjo
| gharchive/issue | 2023-02-16T04:06:35 | 2025-04-01T06:45:33.073836 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/22041",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1695712855 | Test Issue - eurve
Test Body - utyqtjecuq
Test Comment - rxqbm
| gharchive/issue | 2023-05-04T10:14:31 | 2025-04-01T06:45:33.074560 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/25394",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1726914003 | Test Issue - tvpvd
Test Body - cbaoytyarr
Test Comment - urrbx
| gharchive/issue | 2023-05-26T05:06:20 | 2025-04-01T06:45:33.075279 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/26365",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1764601219 | Test Issue - rfjlx
Test Body - awyrkbfqro
Test Comment - huszd
| gharchive/issue | 2023-06-20T04:14:55 | 2025-04-01T06:45:33.076015 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/27400",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1830342919 | Test Issue - ncuuw
Test Body - uxktzxfjjg
Test Comment - nzyae
| gharchive/issue | 2023-08-01T02:22:53 | 2025-04-01T06:45:33.076754 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/29208",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1982181748 | Test Issue - qwrku
Test Body - iixbonunkt
Test Comment - rswyo
| gharchive/issue | 2023-11-07T20:36:45 | 2025-04-01T06:45:33.077470 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/34369",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1200410642 | Test Issue - dtzbp
Test Body - tnxzmclytl
Test Comment - raibi
| gharchive/issue | 2022-04-11T19:05:11 | 2025-04-01T06:45:33.078197 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/355",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2060373013 | Test Issue - rtpzo
Test Body - zvgamrhvgx
Test Comment - gxfqm
| gharchive/issue | 2023-12-29T20:06:58 | 2025-04-01T06:45:33.078930 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/37105",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2115506477 | Test Issue - zbfro
Test Body - kjabddjqbu
Test Comment - goegh
| gharchive/issue | 2024-02-02T18:15:07 | 2025-04-01T06:45:33.079668 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/38765",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2199217769 | Test Issue - acher
Test Body - phpsuzqcdx
Test Comment - fqrst
| gharchive/issue | 2024-03-21T06:07:14 | 2025-04-01T06:45:33.080608 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/41599",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2221356662 | Test Issue - nyoae
Test Body - yhyglumgzt
Test Comment - sifde
| gharchive/issue | 2024-04-02T20:05:40 | 2025-04-01T06:45:33.081338 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/42325",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2238666058 | Test Issue - fieww
Test Body - hyeheriwhq
Test Comment - ueqdb
| gharchive/issue | 2024-04-11T21:41:10 | 2025-04-01T06:45:33.082063 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/42920",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2375642777 | Test Issue - clqub
Test Body - ktbjwwnofw
Test Comment - fqnmc
| gharchive/issue | 2024-06-26T15:19:51 | 2025-04-01T06:45:33.082764 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/47426",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2474588244 | Test Issue - cudlf
Test Body - sxjgonmius
Test Comment - ezxqk
| gharchive/issue | 2024-08-20T02:26:36 | 2025-04-01T06:45:33.083467 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/50656",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2503588843 | Test Issue - pogkw
Test Body - yygspykzcu
Test Comment - ysavn
| gharchive/issue | 2024-09-03T19:14:19 | 2025-04-01T06:45:33.084193 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/51545",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2639783333 | Test Issue - nxmvi
Test Body - boqwivalyb
Test Comment - utshf
| gharchive/issue | 2024-11-07T03:45:24 | 2025-04-01T06:45:33.085354 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/55360",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2743794759 | Test Issue - ihygq
Test Body - wrlsfurpso
Test Comment - pakqd
| gharchive/issue | 2024-12-17T02:39:29 | 2025-04-01T06:45:33.086076 | {
"authors": [
"qlikqaa"
],
"repo": "qlikqaa/dummyrepo",
"url": "https://github.com/qlikqaa/dummyrepo/issues/56711",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.