sfdo-tooling / metecho Goto Github PK
View Code? Open in Web Editor NEWWeb-based tool for collaborating on Salesforce projects
License: BSD 3-Clause "New" or "Revised" License
Web-based tool for collaborating on Salesforce projects
License: BSD 3-Clause "New" or "Revised" License
On my personal install of Metecho, on Heroku, I received the following error message while trying to create a scratch org :
Uh oh. There was an error creating your new Scratch Org for Epic “My Epic.” click.exceptions.UsageError: This project requires CumulusCI version 3.48.1 or later. To upgrade, please run this command: pip install --upgrade cumulusci
Please upgrade Metecho to the latest version of Cumulus CI.
I'm having some trouble creating a dev org in metecho. We don't use metecho too often, but I believe it started occurring after we upgraded to stack 'heroku-22'.
Traceback (most recent call last):
File "/app/.heroku/python/lib/python3.10/site-packages/rq/worker.py", line 1061, in perform_job
rv = job.perform()
File "/app/.heroku/python/lib/python3.10/site-packages/rq/job.py", line 821, in perform
self._result = self._execute()
File "/app/.heroku/python/lib/python3.10/site-packages/rq/job.py", line 844, in _execute
result = self.func(*self.args, **self.kwargs)
File "/app/metecho/api/jobs.py", line 479, in create_branches_on_github_then_create_scratch_org
_create_org_and_run_flow(
File "/app/metecho/api/jobs.py", line 414, in _create_org_and_run_flow
run_flow(
File "/app/metecho/api/sf_run_flow.py", line 425, in run_flow
raise SubcommandException(
metecho.exceptions.SubcommandException: /app/.heroku/python/bin/python: error while loading shared libraries: libpython3.10.so.1.0: cannot open shared object file: No such file or director
Something else I found in the logs.
{
"app_name": "heroku",
"dt": "2022-12-16T22:15:10.858390Z",
"host": "host",
"message": "Starting process with command sh .heroku/start_worker.sh
",
"platform": "Heroku",
"proc_id": "worker.1",
"source_type": "heroku_logs"
}
{
"app_name": "app",
"dt": "2022-12-16T22:15:11.923774Z",
"host": "host",
"message": "mkdir: cannot create directory ‘/opt’: Read-only file system",
"platform": "Heroku",
"proc_id": "worker.1",
"source_type": "heroku_logs"
}
i m trying to setup metecho but unfortunately while i try to login i am getting an error like
Social Network Login Failure
An error occurred while attempting to login via your social network account.
can you please provide more details about the github app we create , i believe it is causing the issue while login.
appreciate any help, thanks in advance.
NB:i m not an expert in python
Metadeploy runs CumulusCI in a subprocess so it can control the environment. However, this results in install keys stored in Heroku Config Variables not being passed over to CumulusCI
Salesforce Dev Hubs limits at 6 the number of scratch orgs created per day.
Can I implement Dev Hub pooling in Metecho to work around this limit ?
The "Deploy to Heroku" button fails silently.
After developer is assigned to a task and made the changes on a scratch org;
'Retrieve changes from dev org' is able to retrieve the changes but cannot commit to the branch, with below error:
There seems no commits to the branch on github.
<class 'requests.exceptions.ReadTimeout'>: A connection-level exception occurred: HTTPSConnectionPool(host='api.github.com', port=443): Read timed out. (read timeout=10)
CumulusCI version: 3.43.0
Python version: 3.9.0
2021-09-23T11:44:51.639498+00:00 app[web.1]: 10.1.26.17:26863 - - [23/Sep/2021:11:44:51] "POST /api/scratch-orgs/R2o6Zo1/commit/" 202 1441
2021-09-23T11:44:51.630958+00:00 app[worker.1]: id=no-job-id at=INFO time="2021-09-23 11:44:51.630778" tag=external module=worker msg="default: metecho.api.jobs.commit_changes_from_org(commit_message='sda', desired_changes={'CustomField': ['Testcustomobject__c.Newtestfield__c']}, originating_user_id='NadbxgP', scratch_org=<ScratchOrg: ScratchOrg object (R2o6Zo1)>, target_directory='unpackaged/post', user=<SimpleLazyObject: <User: emregunel>>) (3f88b97b-acca-45f6-9e1e-9b27994bc1bb)"
2021-09-23T11:45:02.450714+00:00 app[worker.1]: === Retrieved Source
2021-09-23T11:45:02.453349+00:00 app[worker.1]: FULL NAME TYPE PROJECT PATH
2021-09-23T11:45:02.453492+00:00 app[worker.1]: ───────────────────────────────── ─────────── ────────────────────────────────────────────────────────────────────────────────────────────
2021-09-23T11:45:02.453913+00:00 app[worker.1]: Testcustomobject__c.Newtestfield__c CustomField unpackaged/post/main/default/objects/Testcustomobject__c/fields/Newtestfield__c.field-meta.xml
2021-09-23T11:42:17.000000+00:00 app[heroku-redis]: source=REDIS addon=redis-angular-17477 sample#active-connections=7 sample#load-avg-1m=0.185 sample#load-avg-5m=0.395 sample#load-avg-15m=0.41 sample#read-iops=0 sample#write-iops=0.071038 sample#memory-total=15624048kB sample#memory-free=10038132kB sample#memory-cached=2871164kB sample#memory-redis=596704bytes sample#hit-rate=0.082814 sample#evicted-keys=0
2021-09-23T11:45:14.797509+00:00 app[worker.1]: Traceback (most recent call last):
2021-09-23T11:45:14.797531+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/urllib3/connectionpool.py", line 445, in _make_request
2021-09-23T11:45:14.797531+00:00 app[worker.1]: six.raise_from(e, None)
2021-09-23T11:45:14.797531+00:00 app[worker.1]: File "<string>", line 3, in raise_from
2021-09-23T11:45:14.797532+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/urllib3/connectionpool.py", line 440, in _make_request
2021-09-23T11:45:14.797532+00:00 app[worker.1]: httplib_response = conn.getresponse()
2021-09-23T11:45:14.797532+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/http/client.py", line 1347, in getresponse
2021-09-23T11:45:14.797532+00:00 app[worker.1]: response.begin()
2021-09-23T11:45:14.797533+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/http/client.py", line 307, in begin
2021-09-23T11:45:14.797533+00:00 app[worker.1]: version, status, reason = self._read_status()
2021-09-23T11:45:14.797534+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/http/client.py", line 268, in _read_status
2021-09-23T11:45:14.797534+00:00 app[worker.1]: line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
2021-09-23T11:45:14.797534+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/socket.py", line 704, in readinto
2021-09-23T11:45:14.797534+00:00 app[worker.1]: return self._sock.recv_into(b)
2021-09-23T11:45:14.797535+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/ssl.py", line 1241, in recv_into
2021-09-23T11:45:14.797535+00:00 app[worker.1]: return self.read(nbytes, buffer)
2021-09-23T11:45:14.797535+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/ssl.py", line 1099, in read
2021-09-23T11:45:14.797535+00:00 app[worker.1]: return self._sslobj.read(len, buffer)
2021-09-23T11:45:14.797535+00:00 app[worker.1]: socket.timeout: The read operation timed out
2021-09-23T11:45:14.797535+00:00 app[worker.1]:
2021-09-23T11:45:14.797536+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
2021-09-23T11:45:14.797536+00:00 app[worker.1]:
2021-09-23T11:45:14.797536+00:00 app[worker.1]: Traceback (most recent call last):
2021-09-23T11:45:14.797536+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
2021-09-23T11:45:14.797536+00:00 app[worker.1]: resp = conn.urlopen(
2021-09-23T11:45:14.797536+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
2021-09-23T11:45:14.797537+00:00 app[worker.1]: retries = retries.increment(
2021-09-23T11:45:14.797537+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/urllib3/util/retry.py", line 532, in increment
2021-09-23T11:45:14.797537+00:00 app[worker.1]: raise six.reraise(type(error), error, _stacktrace)
2021-09-23T11:45:14.797537+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/urllib3/packages/six.py", line 770, in reraise
2021-09-23T11:45:14.797537+00:00 app[worker.1]: raise value
2021-09-23T11:45:14.797538+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
2021-09-23T11:45:14.797538+00:00 app[worker.1]: httplib_response = self._make_request(
2021-09-23T11:45:14.797538+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/urllib3/connectionpool.py", line 447, in _make_request
2021-09-23T11:45:14.797538+00:00 app[worker.1]: self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
2021-09-23T11:45:14.797538+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
2021-09-23T11:45:14.797538+00:00 app[worker.1]: raise ReadTimeoutError(
2021-09-23T11:45:14.797539+00:00 app[worker.1]: urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.github.com', port=443): Read timed out. (read timeout=10)
2021-09-23T11:45:14.797539+00:00 app[worker.1]:
2021-09-23T11:45:14.797539+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
2021-09-23T11:45:14.797539+00:00 app[worker.1]:
2021-09-23T11:45:14.797539+00:00 app[worker.1]: Traceback (most recent call last):
2021-09-23T11:45:14.797540+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/github3/models.py", line 195, in _request
2021-09-23T11:45:14.797540+00:00 app[worker.1]: return request_method(*args, **kwargs)
2021-09-23T11:45:14.797540+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/requests/sessions.py", line 590, in post
2021-09-23T11:45:14.797540+00:00 app[worker.1]: return self.request('POST', url, data=data, json=json, **kwargs)
2021-09-23T11:45:14.797540+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/github3/session.py", line 174, in request
2021-09-23T11:45:14.797540+00:00 app[worker.1]: response = super(GitHubSession, self).request(*args, **kwargs)
2021-09-23T11:45:14.797541+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
2021-09-23T11:45:14.797541+00:00 app[worker.1]: resp = self.send(prep, **send_kwargs)
2021-09-23T11:45:14.797541+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
2021-09-23T11:45:14.797541+00:00 app[worker.1]: r = adapter.send(request, **kwargs)
2021-09-23T11:45:14.797541+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/requests/adapters.py", line 529, in send
2021-09-23T11:45:14.797541+00:00 app[worker.1]: raise ReadTimeout(e, request=request)
2021-09-23T11:45:14.797541+00:00 app[worker.1]: requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.github.com', port=443): Read timed out. (read timeout=10)
2021-09-23T11:45:14.797542+00:00 app[worker.1]:
2021-09-23T11:45:14.797542+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
2021-09-23T11:45:14.797542+00:00 app[worker.1]:
2021-09-23T11:45:14.797542+00:00 app[worker.1]: Traceback (most recent call last):
2021-09-23T11:45:14.797542+00:00 app[worker.1]: File "/app/metecho/api/jobs.py", line 439, in commit_changes_from_org
2021-09-23T11:45:14.797542+00:00 app[worker.1]: commit_changes_to_github(
2021-09-23T11:45:14.797543+00:00 app[worker.1]: File "/app/metecho/api/sf_org_changes.py", line 172, in commit_changes_to_github
2021-09-23T11:45:14.797543+00:00 app[worker.1]: CommitDir(repo, author=author)(
2021-09-23T11:45:14.797543+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/cumulusci/tasks/github/util.py", line 65, in __call__
2021-09-23T11:45:14.797543+00:00 app[worker.1]: new_tree = self._create_tree(self.new_tree_list)
2021-09-23T11:45:14.797543+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/cumulusci/tasks/github/util.py", line 167, in _create_tree
2021-09-23T11:45:14.797548+00:00 app[worker.1]: new_tree = self.repo.create_tree(new_tree_list, None)
2021-09-23T11:45:14.797549+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/github3/decorators.py", line 26, in auth_wrapper
2021-09-23T11:45:14.797549+00:00 app[worker.1]: return func(self, *args, **kwargs)
2021-09-23T11:45:14.797549+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/github3/repos/repo.py", line 1375, in create_tree
2021-09-23T11:45:14.797549+00:00 app[worker.1]: json = self._json(self._post(url, data=data), 201)
2021-09-23T11:45:14.797550+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/github3/models.py", line 220, in _post
2021-09-23T11:45:14.797550+00:00 app[worker.1]: return self._request("post", url, data, **kwargs)
2021-09-23T11:45:14.797550+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/github3/models.py", line 200, in _request
2021-09-23T11:45:14.797550+00:00 app[worker.1]: raise exceptions.ConnectionError(exc)
2021-09-23T11:45:14.797551+00:00 app[worker.1]: github3.exceptions.ConnectionError: <class 'requests.exceptions.ReadTimeout'>: A connection-level exception occurred: HTTPSConnectionPool(host='api.github.com', port=443): Read timed out. (read timeout=10)
2021-09-23T11:45:14.797551+00:00 app[worker.1]:
2021-09-23T11:45:14.802145+00:00 app[worker.1]: id=no-job-id at=ERROR time="2021-09-23 11:45:14.801929" tag=external module=worker msg="Traceback (most recent call last):
2021-09-23T11:45:14.802145+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 445, in _make_request
2021-09-23T11:45:14.802145+00:00 app[worker.1]: six.raise_from(e, None)
2021-09-23T11:45:14.802145+00:00 app[worker.1]: File \"<string>\", line 3, in raise_from
2021-09-23T11:45:14.802146+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 440, in _make_request
2021-09-23T11:45:14.802146+00:00 app[worker.1]: httplib_response = conn.getresponse()
2021-09-23T11:45:14.802146+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/http/client.py\", line 1347, in getresponse
2021-09-23T11:45:14.802146+00:00 app[worker.1]: response.begin()
2021-09-23T11:45:14.802147+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/http/client.py\", line 307, in begin
2021-09-23T11:45:14.802147+00:00 app[worker.1]: version, status, reason = self._read_status()
2021-09-23T11:45:14.802147+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/http/client.py\", line 268, in _read_status
2021-09-23T11:45:14.802147+00:00 app[worker.1]: line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")
2021-09-23T11:45:14.802148+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/socket.py\", line 704, in readinto
2021-09-23T11:45:14.802148+00:00 app[worker.1]: return self._sock.recv_into(b)
2021-09-23T11:45:14.802149+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/ssl.py\", line 1241, in recv_into
2021-09-23T11:45:14.802149+00:00 app[worker.1]: return self.read(nbytes, buffer)
2021-09-23T11:45:14.802149+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/ssl.py\", line 1099, in read
2021-09-23T11:45:14.802149+00:00 app[worker.1]: return self._sslobj.read(len, buffer)
2021-09-23T11:45:14.802150+00:00 app[worker.1]: socket.timeout: The read operation timed out
2021-09-23T11:45:14.802150+00:00 app[worker.1]:
2021-09-23T11:45:14.802150+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
2021-09-23T11:45:14.802150+00:00 app[worker.1]:
2021-09-23T11:45:14.802151+00:00 app[worker.1]: Traceback (most recent call last):
2021-09-23T11:45:14.802151+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/requests/adapters.py\", line 439, in send
2021-09-23T11:45:14.802151+00:00 app[worker.1]: resp = conn.urlopen(
2021-09-23T11:45:14.802151+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 755, in urlopen
2021-09-23T11:45:14.802151+00:00 app[worker.1]: retries = retries.increment(
2021-09-23T11:45:14.802151+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/urllib3/util/retry.py\", line 532, in increment
2021-09-23T11:45:14.802152+00:00 app[worker.1]: raise six.reraise(type(error), error, _stacktrace)
2021-09-23T11:45:14.802152+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/urllib3/packages/six.py\", line 770, in reraise
2021-09-23T11:45:14.802152+00:00 app[worker.1]: raise value
2021-09-23T11:45:14.802152+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 699, in urlopen
2021-09-23T11:45:14.802152+00:00 app[worker.1]: httplib_response = self._make_request(
2021-09-23T11:45:14.802153+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 447, in _make_request
2021-09-23T11:45:14.802153+00:00 app[worker.1]: self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
2021-09-23T11:45:14.802153+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 336, in _raise_timeout
2021-09-23T11:45:14.802153+00:00 app[worker.1]: raise ReadTimeoutError(
2021-09-23T11:45:14.802160+00:00 app[worker.1]: urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.github.com', port=443): Read timed out. (read timeout=10)
2021-09-23T11:45:14.802160+00:00 app[worker.1]:
2021-09-23T11:45:14.802160+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
2021-09-23T11:45:14.802160+00:00 app[worker.1]:
2021-09-23T11:45:14.802161+00:00 app[worker.1]: Traceback (most recent call last):
2021-09-23T11:45:14.802161+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/github3/models.py\", line 195, in _request
2021-09-23T11:45:14.802161+00:00 app[worker.1]: return request_method(*args, **kwargs)
2021-09-23T11:45:14.802161+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/requests/sessions.py\", line 590, in post
2021-09-23T11:45:14.802161+00:00 app[worker.1]: return self.request('POST', url, data=data, json=json, **kwargs)
2021-09-23T11:45:14.802162+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/github3/session.py\", line 174, in request
2021-09-23T11:45:14.802162+00:00 app[worker.1]: response = super(GitHubSession, self).request(*args, **kwargs)
2021-09-23T11:45:14.802162+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/requests/sessions.py\", line 542, in request
2021-09-23T11:45:14.802162+00:00 app[worker.1]: resp = self.send(prep, **send_kwargs)
2021-09-23T11:45:14.802162+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/requests/sessions.py\", line 655, in send
2021-09-23T11:45:14.802162+00:00 app[worker.1]: r = adapter.send(request, **kwargs)
2021-09-23T11:45:14.802162+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/requests/adapters.py\", line 529, in send
2021-09-23T11:45:14.802163+00:00 app[worker.1]: raise ReadTimeout(e, request=request)
2021-09-23T11:45:14.802163+00:00 app[worker.1]: requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.github.com', port=443): Read timed out. (read timeout=10)
2021-09-23T11:45:14.802163+00:00 app[worker.1]:
2021-09-23T11:45:14.802165+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
2021-09-23T11:45:14.802165+00:00 app[worker.1]:
2021-09-23T11:45:14.802165+00:00 app[worker.1]: Traceback (most recent call last):
2021-09-23T11:45:14.802165+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/rq/worker.py\", line 1031, in perform_job
2021-09-23T11:45:14.802165+00:00 app[worker.1]: rv = job.perform()
2021-09-23T11:45:14.802166+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/rq/job.py\", line 749, in perform
2021-09-23T11:45:14.802166+00:00 app[worker.1]: self._result = self._execute()
2021-09-23T11:45:14.802166+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/rq/job.py\", line 772, in _execute
2021-09-23T11:45:14.802168+00:00 app[worker.1]: result = self.func(*self.args, **self.kwargs)
2021-09-23T11:45:14.802169+00:00 app[worker.1]: File \"/app/metecho/api/jobs.py\", line 439, in commit_changes_from_org
2021-09-23T11:45:14.802169+00:00 app[worker.1]: commit_changes_to_github(
2021-09-23T11:45:14.802169+00:00 app[worker.1]: File \"/app/metecho/api/sf_org_changes.py\", line 172, in commit_changes_to_github
2021-09-23T11:45:14.802169+00:00 app[worker.1]: CommitDir(repo, author=author)(
2021-09-23T11:45:14.802169+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/cumulusci/tasks/github/util.py\", line 65, in __call__
2021-09-23T11:45:14.802170+00:00 app[worker.1]: new_tree = self._create_tree(self.new_tree_list)
2021-09-23T11:45:14.802170+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/cumulusci/tasks/github/util.py\", line 167, in _create_tree
2021-09-23T11:45:14.802170+00:00 app[worker.1]: new_tree = self.repo.create_tree(new_tree_list, None)
2021-09-23T11:45:14.802170+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/github3/decorators.py\", line 26, in auth_wrapper
2021-09-23T11:45:14.802170+00:00 app[worker.1]: return func(self, *args, **kwargs)
2021-09-23T11:45:14.802170+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/github3/repos/repo.py\", line 1375, in create_tree
2021-09-23T11:45:14.802171+00:00 app[worker.1]: json = self._json(self._post(url, data=data), 201)
2021-09-23T11:45:14.802171+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/github3/models.py\", line 220, in _post
2021-09-23T11:45:14.802171+00:00 app[worker.1]: return self._request(\"post\", url, data, **kwargs)
2021-09-23T11:45:14.802171+00:00 app[worker.1]: File \"/app/.heroku/python/lib/python3.9/site-packages/github3/models.py\", line 200, in _request
2021-09-23T11:45:14.802171+00:00 app[worker.1]: raise exceptions.ConnectionError(exc)
2021-09-23T11:45:14.802172+00:00 app[worker.1]: github3.exceptions.ConnectionError: <class 'requests.exceptions.ReadTimeout'>: A connection-level exception occurred: HTTPSConnectionPool(host='api.github.com', port=443): Read timed out. (read timeout=10)
2021-09-23T11:45:14.802172+00:00 app[worker.1]: "
Is there a Django setting or something to make button SVG icons not get rejected by a CORS constraint ?
Here is the error message on loading any Metecho page which displays a button/menu :
Unsafe attempt to load URL data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' display='none'%3e%3csymbol viewBox='0 0 52 52' id='activity' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M37.618 11.67c-1.54.5-2.783.98-3.723 1.438-.747.364-1.687.901-2.814 1.61.086 1.882.084 3.463-.009 4.754-.094 1.304-.342 3.173-.746 5.63l-.001.003c2.815 2.028 4.848 3.56 6.11 4.604.163.135.633.584.856.783l4.344-1.82.028-.074c.627-1.347 1.145-3.186 1.54-5.507.322-1.899.376-3.99.159-6.276l-5.744-5.14...-14-14S14.3 8 22 8s14 6.3 14 14-6.3 14-14 14z'/%3e%3c/symbol%3e%3csymbol viewBox='0 0 52 52' id='zoomout' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M19 25h12c.6 0 1-.4 1-1v-4c0-.6-.4-1-1-1H19M19 19h-6c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h6'/%3e%3cpath d='M49.6 45.3L38.1 33.8C40.5 30.5 42 26.4 42 22c0-11-9-20-20-20S2 11 2 22s9 20 20 20c4.4 0 8.5-1.5 11.8-3.9l11.5 11.5c.6.6 1.5.6 2.1 0l2.1-2.1c.6-.6.6-1.6.1-2.2zM22 36c-7.7 0-14-6.3-14-14S14.3 8 22 8s14 6.3 14 14-6.3 14-14 14z'/%3e%3c/symbol%3e%3c/svg%3e#down from origin https://mymetecho.herokuapp.com. Domains, protocols and ports must match
I am receiving an error when creating a scratch org.
The last line of the log is “/app/.heroku/python/bin/python: error while loading shared libraries: libpython3.10.so.1.0: cannot open shared object file: No such file or directory”
To replicate:
Create an empty project via Metecho
Try to spawn a scratch org.
Error on initial push to Heroku after running git push heroku main
django.core.exceptions.ImproperlyConfigured: Missing environment variable: SFDX_CLIENT_CALLBACK_URL
Line 179 in the setup documentation heroku-setup.md says to use SF_CALLBACK_URL
however looks like it needs SFDX_CLIENT_CALLBACK_URL instead.
A user encountered difficulties while using Metecho on Docker, specifically in creating projects and authenticating. Despite correctly configuring permissions and populating the .env file, they received error messages:
The problem was identified as an additional newline character \n
in the DOCKER_GITHUB_APP_KEY
, leading to authentication issues.
Occasionally, developers incorrectly format other private keys, resulting in similar problems. This indicates a wider issue related to key handling.
Suggested Improvement:
Improve error messaging related to the GitHub app to provide more descriptive and helpful guidance for identifying potential problems with key formatting or content. The messages should include checks for common mistakes like extra characters, spaces, or newline characters.
Add support for Base64 encoded keys to help avoid the problem of incorrect formatting. This improvement would make the integration more resilient and tolerant of minor formatting errors in private keys, ultimately reducing user frustration and the need for support assistance.
Love this tool. I connected it to my Github https://github.com/rsoesemann?tab=projects which has a public project but I can't see anything in Metecho.
What am I doing wrong?
Describe the bug
Unable to see any projects.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After logging in to Metecho no projects show up and an error appears at the top of the page. Another error appears after a minute or so.
Desktop (please complete the following information):
This may be related to the Keep my email addresses private
option at https://github.com/settings/emails
I'm updating my Heroku installation of Metecho for the first time since several months.
Using Heroku build from my Metecho fork, I get this strange error :
-----> Installing pip 21.3.1, setuptools 57.5.0 and wheel 0.37.0 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. cumulusci 3.36.0 requires setuptools==57.0.0, but you have setuptools 57.5.0 which is incompatible.
Here is the whole build log :
build.log
As a user of Metecho with a moderately complex org I need a faster way to create scratch orgs for work. It currently takes ~60-80 minutes for one of our scratch orgs to be spun up and ready for development. This is almost entirely time spent installing managed packages. This becomes an impediment when the work being done only takes 45 minutes (say, adding a flow). Our solution, here at Chief, is to utilize scratch org pooling. Our CI system maintains a pool of 15 pre-created scratch orgs with all our managed packages pre-installed. Our developers and Admins can 'adopt' a scratch org from the pool and are given the user/pass when they adopt it. If Metecho allowed us to add an org without having to create the scratch org, this would allow us to use our pool'd orgs. It would also allow users to authorize source-tracking enabled sandboxes for use in Metecho.
Issue:
When on the main Metecho page for a project, attempting to create a new scratch org within the "My Project Scratch Org" section is not initially possible if someone else is already creating a scratch org using that option. Button is removed and replaced with the "Creating Org..." notification.
Steps to repro:
Log into Metecho ensuring you have write access to at least one project, and navigate to that project page. For example https://metecho.herokuapp.com/projects/summit-events-app.
Ask another use to also log in and navigate to that same project page.
Ask the other person to click the Create Scratch Org button within the My Project Scratch Org section to kick off creating a scratch org for the project.
Note that on your screen the creation option is replaced with a message that the scratch org is being created, preventing you from creating your own scratch org.
Refresh your browser, and you should see the create button again. This will remain on your screen for a short time before being replaced with the creation message again (even if you don't click the button to create a new scratch org).
Workaround:
Refresh your browser, then quickly click the Create Scratch Org button.
As a Metecho user with a moderately complex org, it can take ~90 minutes for a scratch org to be spun up. Our internal solution to this at Chief is to use scratch org pooling. I would love to be able to configure how Metecho acquires a scratch org, so that I can direct Metecho to 'adopt' a scratch org, rather than create a net new one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.