Comments (13)
see the broken </info>
tag in the output and the tput cols output
from recipes.
@mjrider it's effectly a symfony bug. I'll check
from recipes.
Can you send PR with fix?
from recipes.
oke, some more debugging, i think it is maybe not related to deployer
it only breaks when your terminal is between 72 and 134 columns
( test script )
https://gist.github.com/mjrider/9bd6bc981b11f1ab37fc4d059293fa4e
from recipes.
Maybe delete =>
at all?
<info>set('newrelic', ['api_key', 'application_id']);</info>
from recipes.
yes that would work around the problem.
i think that we just found a bug in symfony, but my symfony knowledge is to small to create a small reproduction script so i could file a bug with symfony
from recipes.
I think, lets fix this recipe first. Maybe someone get this too.
from recipes.
oke, made a reproduction and a bugreport
symfony/symfony#22021
https://github.com/mjrider/break-symfony-console
from recipes.
@mjrider , I have this in local
from recipes.
@jordscream did you try it on different terminal sizes ? because if the terminal is small or big enough, it will not fail
from recipes.
@mjrider , Indeed I reproduce the problem after 74 columns :-/
from recipes.
Looks like symfony is going for the option of removing formatting from exceptions.
symfony/symfony#22142
from recipes.
In fact, the exception message will stay raw, for instance <info>Exception!</info>
will stay as is in the output. I suggest you to don't throw the exception, but use the SymfonyStyle API instead (see SymfonyStyle::block()
, SymfonyStyle::error()
), returning an appropriated error code. The patch has been merged in Symfony from 2.7 up to master and will be part of the next maintenance releases.
from recipes.
Related Issues (20)
- Email recipe HOT 4
- [Error] Call to undefined method Symfony\Component\Console\Helper\QuestionHelper::getInputStream() HOT 5
- What about merging recipes and deployer? HOT 7
- Issue with recipe/sentry HOT 3
- [slack] No branch or commit name HOT 2
- add npm build to npm recipe
- Rsync filterperdir wrong variable HOT 2
- RocketChat Integration HOT 2
- Sentry recipe fails when there's no .git directory HOT 2
- MS Teams notification integration HOT 1
- Website recipes documentation is not aligned with repository docs
- Problems configuring cachetool
- Sentry Release/Deploy fails due to server response HOT 4
- Segmentation Fault / Slack Recipe / PHP 7.3
- Problem resolving CacheTool binary
- Catch-22: Deployer installs composer dependencies, but deployer/recipes is a dependency HOT 3
- Zulip recipe HOT 1
- releaseIsGitDirectory() needs to return 0 if it's not a git repo
- Rollbar notify do not work with --hosts option
- New cachetool release (5.X) breaks cachetool recipe expectations for PHP 7.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recipes.