Ember Upgrade from 3.23 to 3.24 failing at build - ember.js

Was planning to migrate ember application from 3.23 to 3.24. During ember serve the following error is coming:
I have tried upgrading broccoli and babels libs to the latest version. Still the issue persists.
ERROR Summary:
- broccoliBuilderErrorStack: TypeError: /home/abc/dev/sample-ui/ngcoreui/#ember/test-helpers/-internal/debug-info.js: path.isStaticBlock is not a function
at PluginPass.ClassBody (/home/abc/dev/sample-ui/node_modules/#babel/plugin-proposal-class-static-block/lib/index.js:56:21)
at newFn (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/visitors.js:177:21)
at NodePath._call (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/path/context.js:53:20)
at NodePath.call (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/path/context.js:40:17)
at NodePath.visit (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/path/context.js:100:31)
at TraversalContext.visitQueue (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/context.js:103:16)
at TraversalContext.visitSingle (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/context.js:77:19)
at TraversalContext.visit (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/context.js:131:19)
at Function.traverse.node (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/index.js:82:17)
at NodePath.visit (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/path/context.js:108:18)
- code: [undefined]
- codeFrame: /home/abc/dev/sample-ui/ngcoreui/#ember/test-helpers/-internal/debug-info.js: path.isStaticBlock is not a function
- errorMessage: #ember/test-helpers/-internal/debug-info.js: /home/abc/dev/sample-ui/ngcoreui/#ember/test-helpers/-internal/debug-info.js: path.isStaticBlock is not a function
in /home/abc/dev/sample-ui/node_modules/#ember/test-helpers/addon-test-support
at broccoli-persistent-filter:Babel > [Babel: #ember/test-helpers] (Babel: #ember/test-helpers)
- errorType: Build Error
- location:
- column: [undefined]
- file: #ember/test-helpers/-internal/debug-info.js
- line: [undefined]
- treeDir: /home/abc/dev/sample-ui/node_modules/#ember/test-helpers/addon-test-support
- message: #ember/test-helpers/-internal/debug-info.js: /home/abc/dev/sample-ui/ngcoreui/#ember/test-helpers/-internal/debug-info.js: path.isStaticBlock is not a function
in /home/abc/dev/sample-ui/node_modules/#ember/test-helpers/addon-test-support
at broccoli-persistent-filter:Babel > [Babel: #ember/test-helpers] (Babel: #ember/test-helpers)
- name: Error
- nodeAnnotation: Babel: #ember/test-helpers
- nodeName: broccoli-persistent-filter:Babel > [Babel: #ember/test-helpers]
- originalErrorMessage: /home/abc/dev/sample-ui/ngcoreui/#ember/test-helpers/-internal/debug-info.js: path.isStaticBlock is not a function
- stack: TypeError: /home/abc/dev/sample-ui/ngcoreui/#ember/test-helpers/-internal/debug-info.js: path.isStaticBlock is not a function
at PluginPass.ClassBody (/home/abc/dev/sample-ui/node_modules/#babel/plugin-proposal-class-static-block/lib/index.js:56:21)
at newFn (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/visitors.js:177:21)
at NodePath._call (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/path/context.js:53:20)
at NodePath.call (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/path/context.js:40:17)
at NodePath.visit (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/path/context.js:100:31)
at TraversalContext.visitQueue (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/context.js:103:16)
at TraversalContext.visitSingle (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/context.js:77:19)
at TraversalContext.visit (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/context.js:131:19)
at Function.traverse.node (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/index.js:82:17)
at NodePath.visit (/home/abc/dev/sample-ui/node_modules/#babel/traverse/lib/path/context.js:108:18)

Related

Cloud build export cloud sql add date in filename

Here is my pipeline :
steps:
- name: 'gcr.io/cloud-builders/gcloud'
args: ['sql', 'export', 'sql', $_DB_INSTANCE_NAME, gs://$_BUCKET_NAME/$_FILENAME.sql, '--database=$_DB_DATABASE']
options:
dynamic_substitutions: true
substitution_option: 'ALLOW_LOOSE'
timeout: 3600s
I declared my variable $_FILENAME inside cloud build pipline and I set this value Cloud_Export_$(date +%Y-%m-%d)
But I got this error : Compilation failed: [_FILENAME -> Cloud_Export_$(date +%Y-%m-%d)]: generic::invalid_argument: unable to fetch payload for date +%Y-%m-%d
So I tried to remove $() to my $_FILENAME = Cloud_Export_date +%Y-%m-%d
Exporting Cloud SQL instance...
...failed.
ERROR: (gcloud.sql.export.sql) [ERROR_RDBMS] GCS URI "gs://export_bdd/Cloud_Export_date +%Y-%m-%d.sql" is empty or invalid
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/gcloud" failed: step exited with non-zero status: 1
How can I do to add the current date to my filename ?
Edit
I tried to create another variable _CURRENT_DATE with value date +%Y-%m-%d. Then I changed my $_FILENAME variable to Cloud_Export_${_CURRENT_DATE}
Now I don't have any errors but the date is empty the filename is Cloud_Export_.sql
I found a solution I removed the $_FILENAME variable then I'm using sh entrypoint and I added double $ to the date function $$(date +%Y-%m-%d) and it works :
steps:
- name: 'gcr.io/cloud-builders/gcloud'
entrypoint: 'sh'
args: ['-c', 'gcloud sql export sql $_DB_INSTANCE gs://$_BUCKET_NAME/filename_$$(date +%Y-%m-%d).sql --database=$_DB_NAME']

ID apache-service-running in SLS apache.service.running is not a dictionary

I'm trying to install and configure apache using the v1.2.2 saltstack apache-formula
salt server-test state.apply apache test=true
But keep getting the following error:
server-test:
Data failed to compile:
ID apache-service-running in SLS apache.service.running is not a dictionary
my master salt path looks like that:
file_roots:
base:
- /srv/salt/states
- /srv/salt/formulas/php
- /srv/salt/formulas/nginx
- /srv/salt/formulas/apache-formula
- /srv/salt/formulas/mysql-formula
- /srv/salt/files
pillar_roots:
base:
- /srv/salt/pillar/base
dev:
- /srv/salt/pillar/dev
prod:
- /srv/salt/pillar/prod
I can't figure out where the problem is! any hints?
pillar/base/apache/server-test.sls
apache:
manage_service_states: False
lookup:
version: '2.4'
# for each site name there must be a config in salt://configs/webserver/apache2/sites/
site_names: [ 'server-test' ]
security:
ServerTokens: Prod
modules:
enabled:
- ssl
- alias
- rewrite
- headers
- shib
- http2
#disabled:
# - php7.3
# others are managed elsewhere
# - status
# - proxy
#- proxy_fcgi
mpm:
module: mpm_event
params:
start_servers: 3
min_spare_threads: 50
max_spare_threads: 100
thread_limit: 64
threads_per_child: 25
max_request_workers: 2000
server_limit: 80
max_connections_per_child: 0
The formula is broken: #383
manage_service_states: False doesn't work.

I have a problem with the 9.2 version of kettle

When using the kettle cluster, an error was reported for the conversion data, and the error format is as follows:
2021/12/29 10:28:57 - step1 - ERROR (version 9.2.0.0-290, build 9.2.0.0-290 from 2021-06-02 06.36.08 by buildguy) : Unexpected error
2021/12/29 10:28:57 - step1- ERROR (version 9.2.0.0-290, build 9.2.0.0-290 from 2021-06-02 06.36.08 by buildguy) : org.pentaho.di.core.exception.KettleException:
2021/12/29 10:28:57 - step1 - This step will block all incoming rows until at least all defined steps finish! You must define at least one step.
2021/12/29 10:28:57 - step1-
2021/12/29 10:28:57 - step1 - at org.pentaho.di.trans.steps.blockuntilstepsfinish.BlockUntilStepsFinish.processRow(BlockUntilStepsFinish.java:71)
2021/12/29 10:28:57 - step1 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2021/12/29 10:28:57 - step1- at java.lang.Thread.run(Thread.java:748)
2021/12/29 10:28:57 -step1 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=1)

codeclimate validate-config Error

Am new to code climate and am facing this error when i run my github project on codeclimate.
codeclimate validate-config
ERROR: Unable to parse: (<unknown>): found unexpected end of stream while scanning a quoted scalar at line 23 column 5
Below is my .codeclimate.yml file :
---
machine:
environment:
CODECLIMATE_REPO_TOKEN: ab24b326dac817e772c5246823b67af66e2358e51134c33e20aaf7fb228088b0
engines:
duplication:
enabled: false
config:
languages:
- python
fixme:
enabled: true
pep8:
enabled: true
radon:
enabled: true
ratings:
paths:
- "**.py"
exclude_paths:
- "docs/*"
- "examples/*
-*api/songs/models*
-*/site-packages/*
-*markupsafe/*
-*psycopg2/*
-*six.py*
-*sqlalchemy/*
-*werkzeug/*
-*stringprep.py*
-*uuid.py*
-*ctypes/*
-*decimal.py*
-*encodings/*
-*hmac.py*
-*asyncio/*
-*concurrent/*
-*multiprocessing/*
-*mimetypes.py*
-*numbers.py*
-*pydoc.py*
-*http/*
-*app/api/user/__init__.py*
-*app/api/request/__init__.py*
-*app/api/__init__.py*
-*app/__init__.py*
-*app/config.py*
-*app/model/*
-*test/*
-*html/*
-*_bootlocale.py*
-*typing.py*
The line line 23 which is in the error message is as below in the file above:
- "examples/*
What should i do to correct this?
The problem with that line is it's missing the closing quotation mark. However, all of the exclude_paths patterns will need to be enclosed in quotes; i.e. the config should look like this:
---
machine:
environment:
CODECLIMATE_REPO_TOKEN: ab24b326dac817e772c5246823b67af66e2358e51134c33e20aaf7fb228088b0
engines:
duplication:
enabled: false
config:
languages:
- python
fixme:
enabled: true
pep8:
enabled: true
radon:
enabled: true
ratings:
paths:
- "**.py"
exclude_paths:
- "docs/*"
- "examples/*"
- "*api/songs/models*"
- "*/site-packages/*"
- "*markupsafe/*"
- "*psycopg2/*"
- "*six.py*"
- "*sqlalchemy/*"
- "*werkzeug/*"
- "*stringprep.py*"
- "*uuid.py*"
- "*ctypes/*"
- "*decimal.py*"
- "*encodings/*"
- "*hmac.py*"
- "*asyncio/*"
- "*concurrent/*"
- "*multiprocessing/*"
- "*mimetypes.py*"
- "*numbers.py*"
- "*pydoc.py*"
- "*http/*"
- "*app/api/user/__init__.py*"
- "*app/api/request/__init__.py*"
- "*app/api/__init__.py*"
- "*app/__init__.py*"
- "*app/config.py*"
- "*app/model/*"
- "*test/*"
- "*html/*"
- "*_bootlocale.py*"
- "*typing.py*"
Note: You'll still see some deprecation warnings because you're using the old .codeclimate.yml format. There is information about converting from the old format to version 2 in the CodeClimate docs:
https://docs.codeclimate.com/docs/advanced-configuration#section-analysis-configuration-versions

Unclassifiable statement and Fatal Error: Invalid character '$' at (1)

I am encountering errors when I try to compile an old Fortran code. I don't wish to change the program, but just to be able to run it.
I tried Simply Fortran and I am attempting to build the file, but I get these errors:
==============================================================================
Generating Makefile... Okay
==============================================================================
Compiling .\tmod9502.f
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
.\tmod9502.f:97:6:
INCLUDE TMCOMMON.FOR
1
Error: Unclassifiable statement at (1)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
.\tmod9502.f:98:25:
CHARACTER*15 INPUTS$,SUBCAT$,PARAMS$,OUTPUT$
1
Fatal Error: Invalid character '$' at (1). Use '-fdollar-ok' to allow it as an extension
compilation terminated.
Error(E42): Last command making (build\tmod9502.o) returned a bad status
Error(E02): Make execution terminated
Based on this initial bit of code:
INCLUDE TMCOMMON.FOR
CHARACTER*15 INPUTS$,SUBCAT$,PARAMS$,OUTPUT$