Comments (9)
Adding gem 'rb-readline'
before gem "fastlane"
in the Gemfile resolved the issue for me.
xcode:
macos:
xcode: '15.3.0'
Ruby 3.3.0
from fastlane.
We found a workaround, the issue seems to come from a ruby update on version 3.3.0 that removes ext/readline
.
The solution is to freeze ruby version to 3.2
or install yourself the removed dependency with gem install readline-ext
.
Maybe there is something to update on fastlane
codebase ? π
from fastlane.
@jRichardeau Why was this closed? Still seeing this issue in our setup.
from fastlane.
Updated macos-orb
to 2.4.1 and ruby-orb
to 2.1.1 fixed problem.
from fastlane.
just hit the same issue, and macos orb 2.4.1 and ruby orb 2.1.1 did not get around the issue..
"setup_circle_ci
step fails with error "The terminfo database could not be found"
from fastlane.
just hit the same issue, and macos orb 2.4.1 and ruby 2.1.1 did not get around the issue..
"
setup_circle_ci
step fails with error "The terminfo database could not be found"
Ruby version should be fixed to 3.2, not 2.1.1 (that's the version of the Ruby orb).
from fastlane.
Locking ruby version to 3.2 works, if anyone is wondering, this can be done through macOS orb:
- macos/switch-ruby:
version: "3.2"
This does seem like a temporary solution to this problem though.
After my quick investigation it indeed seems like tty-screen gem uses readline on line 356:
ruby/3.3.0/gems/tty-screen-0.8.2/lib/tty/screen.rb:356:in
size_from_readline'`
which s being retired on ruby 3.3.
It seems like the best approach to it would be to fix it in tty-screen gem and then bump this fastlane dependency, is that right?
This is my first time trying to contribute to open source in any way, so I don't really know my way around these problems :D
Edit:
I created a following issue in tty-screen repo
piotrmurach/tty-screen#18
from fastlane.
Use the previous macos machine 15.2.0 on CircleCI. It worked for me.
https://circleci.com/docs/using-macos/
from fastlane.
The tty-screen
when attempting to detect size from readline
attempts to load this standard gem. Loading the readline
gem on Ruby 3.3
will first attempt to load the readline-ext
C extension when present or fall back to using the pure Ruby reline
gem.
Therefore, by default tty-screen
doesn't install or rely on the readline-ext
gem on Ruby 3.3
as it is no longer part of the installation as noted by @jRichardeau, however, given the log output, it uses reline
to try to detect terminal size. In turn, the Reline::TermInfo
module setupterm
tries to find out if a terminal is attached via the curses
extension and fails.
I've noticed that the Circle CI setup uses tty-screen
version 0.8.1
. There is a newer release of tty-screen
, version 0.8.2
. In this release, I check if the terminal is attached before attempting to load readline
and following that reline
dependency. Therefore, my suggestion would be to upgrade tty-screen
to 0.8.2
on Ruby 3.3
and see if that resolves the issue.
from fastlane.
Related Issues (20)
- Fastlane is not reading macros from Package.Swift (SPM)
- fastlane sigh download_all and "Error parsing provisioning profile at path..."
- fastlane match HOT 4
- bundler: command not found: fastlane
- Individual API Key not supported HOT 3
- fastlane deliver init is not working in CLI
- JEG2/highline should be updated to avoid warning of abbrev missing in standard lib for ruby 3.3.0
- How to get raw exit code from Fastlane HOT 1
- Match import to s3 Crash on encrypting. HOT 2
- Provisioning profile expiration comparison compares Time and DateTime
- AvailableTerritories is deprecated and fastlane is not upgraded to new api endpoints HOT 5
- Match managing provisioning profiles for DriverKit
- curb-1.0.0/lib/curl/easy.rb - Failed to read/open file
- `match` behaves differently in v2.220.0: `wrong final block length` HOT 12
- Can't upload build to Test Flight; [!] undefined method `refresh!' HOT 2
- A parameter has an invalid value - 'prices' is not a valid relationship name HOT 9
- I run the command 'fastlane match development'. and i got the following error: Looking for related GitHub issues on fastlane/fastlane... Found no similar issues. To create a new issue, please visit: https://github.com/fastlane/fastlane/issues/new Run fastlane env to append the fastlane environment to your issue [!] The request could not be completed because: This request is forbidden for security reasons - You currently don't have access to this membership resource. Contact your team's Account Holder, or an Admin.
- Build_for_testing fails sporadically with error 'Could not find or use auto-linked framework' HOT 2
- Can fastlane support filling in Chinaβs ICP registration number?
- [match] provisioning profile generated via match blocks release installation on TestFlight (or on device) HOT 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 fastlane.