Comments (5)
It had no error after I uninstall json gem, do not know why... QQ
from seeing_is_believing.
uninstall json gem will solve error above, but it comes another error when I run code below in vim with hwartig/vim-seeing-is-believing:
require 'roo'
s = Roo::Excelx.new("XXX.xlsx")
error:
It blew up >.< Please log an issue at: https://github.com/JoshCheek/seeing_is_believing/issues
SeeingIsBelieving::VERSION "2.2.0"
Parser::VERSION "2.2.0.3"
RUBY_VERSION "2.2.0"
ENV['RUBY_VERSION'] "ruby-2.2.0"
Also include the source code of program that caused this behaviour.
p.s. It works fine in irb.
from seeing_is_believing.
Try running this against the latest release (as of right now: gem install seeing_is_believing -v 3.0.0.beta.5
) I suspect the issue is fixed there, due to #46 Its possible that Roo::Excelx
has the same flaw (raises an exception whose message has characters that are invalid, given the encoding).
As an aside, you may have issues with your Ruby install. Looks like it's installed to /usr/local/Cellar/ruby/2.2.0/lib/ruby/2.2.0
. I know that Homebrew installs things to /usr/local/Cellar
, so I'd assume that this Ruby is installed with Homebrew. But the gem is from /Users/crokobit/.rvm/gems/ruby-2.2.0/gems/seeing_is_believing-2.2.0
, which is clearly an rvm location. Then again, maybe rvm installs gems globally to /usr/local/Cellar
, but that'd be strange IMO.
from seeing_is_believing.
It's probably that, the JSON gem has a C extension, where it's easy to fuck up the encoding, and the Roo gem is working with binary data, which it could include in an inspection on an error message (eg shows the binary data to help you understand why it couldn't parse the file).
from seeing_is_believing.
Thanks~
from seeing_is_believing.
Related Issues (20)
- Multiple inspects HOT 1
- Printing tabs replaces the output with "\t"
- Output is horrible when run against a moved file
- Thoughts after reading the help screen
- Uuhhhmm, add an in-place update flag
- Remove custom String#pp
- Should handle missing constants
- cross-invocation state HOT 1
- Outdated parser runtime dependency generates deprecation warning in Ruby 2.7 HOT 6
- VSCode Description isn't complete HOT 1
- Feature request: line which updates obviously to confirm file was reevaluated
- Endless method support
- Let errors in inspect raise
- Getting WARN -- : posix_spawn is not yet supported on x86_64-cygwin (x86_64-cygwin), falling back to default implementation. HOT 4
- Relaxing the FFI dependency version constraint HOT 9
- Ruby3 endless method bug
- Something funky with frozen string literals
- segfault *sigh*
- in `find_type': unable to resolve type 'intptr_t' (TypeError) HOT 3
- New release to support Apple Silicon (M1) Macs? HOT 3
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 seeing_is_believing.