gunvantsr

gunvantsr

building stuff.

Member Since 6 years ago

Emertech.io, Nashik

Experience Points
13
follower
Lessons Completed
16
follow
Lessons Completed
381
stars
Best Reply Awards
29
repos

58 contributions in the last year

Pinned
⚡ :books: Books that will blow your mind
⚡ A simple boilerplate generator for your node express backend project! 🚀
Activity
Jan
19
5 days ago
started
started time in 5 days ago
Jan
13
1 week ago
Dec
21
1 month ago
Dec
20
1 month ago
started
started time in 1 month ago
Dec
16
1 month ago
Dec
15
1 month ago
started
started time in 1 month ago
started
started time in 1 month ago
Dec
14
1 month ago
Dec
10
1 month ago
started
started time in 1 month ago
Dec
4
1 month ago
started
started time in 1 month ago
Dec
1
1 month ago
started
started time in 1 month ago
Activity icon
fork

gunvantsr forked amazingandyyy/mern

⚡ 🌐 MERN stack 2.0 - MongoDB, Express, React/Redux, Node
gunvantsr MIT License Updated
fork time in 1 month ago
Nov
27
1 month ago
started
started time in 1 month ago
started
started time in 1 month ago
Nov
23
2 months ago
Activity icon
issue

gunvantsr issue sferik/t

gunvantsr
gunvantsr

`force_encoding': can't modify frozen String: "" (FrozenError)

Hi everyone,

i'm trying to setup t on my ubuntu 20.04 system. I'm using ruby 2.7.0 version.

here is my error log. could someone please help out?

t list create following-date "+%Y-%m-%d"Traceback (most recent call last): 20: from /usr/local/bin/t:23:in

' 19: from /usr/local/bin/t:23:in load' 18: from /var/lib/gems/2.7.0/gems/t-3.1.0/bin/t:20:in <top (required)>' 17: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor/base.rb:485:in start' 16: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor.rb:392:in dispatch' 15: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in invoke_command' 14: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor/command.rb:27:in run' 13: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor.rb:243:in block in subcommand' 12: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor/invocation.rb:116:in invoke' 11: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor.rb:392:in dispatch' 10: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in invoke_command' 9: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor/command.rb:27:in run' 8: from /var/lib/gems/2.7.0/gems/t-3.1.0/lib/t/list.rb:46:in create' 7: from /var/lib/gems/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/lists.rb:328:in create_list' 6: from /var/lib/gems/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/utils.rb:64:in perform_post_with_object' 5: from /var/lib/gems/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/utils.rb:72:in perform_request_with_object' 4: from /var/lib/gems/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/utils.rb:50:in perform_request' 3: from /var/lib/gems/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/request.rb:37:in perform' 2: from /usr/lib/ruby/2.7.0/forwardable.rb:229:in empty?' 1: from /var/lib/gems/2.7.0/gems/http-3.3.0/lib/http/response/body.rb:52:in to_s' /var/lib/gems/2.7.0/gems/http-3.3.0/lib/http/response/body.rb:52:in force_encoding': can't modify frozen String: "" (FrozenError) `

Activity icon
issue

gunvantsr issue comment sferik/t

gunvantsr
gunvantsr

can't modify frozen String: ""

I'm using Ubuntu 20.04 with the distribution provided ruby package, which is ruby 2.7.0. Any attempt to use t now gives a traceback similar to the following:

$ t followers
Traceback (most recent call last):
        18: from /home/ryanc/.gem/ruby/2.7.0/bin/t:23:in `<main>'
        17: from /home/ryanc/.gem/ruby/2.7.0/bin/t:23:in `load'
        16: from /home/ryanc/.gem/ruby/2.7.0/gems/t-3.1.0/bin/t:20:in `<top (required)>'
        15: from /home/ryanc/.gem/ruby/2.7.0/gems/thor-1.1.0/lib/thor/base.rb:485:in `start'
        14: from /home/ryanc/.gem/ruby/2.7.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
        13: from /home/ryanc/.gem/ruby/2.7.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
        12: from /home/ryanc/.gem/ruby/2.7.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
        11: from /home/ryanc/.gem/ruby/2.7.0/gems/t-3.1.0/lib/t/cli.rb:365:in `followers'
        10: from /home/ryanc/.gem/ruby/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/friends_and_followers.rb:48:in `follower_ids'
         9: from /home/ryanc/.gem/ruby/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/utils.rb:161:in `cursor_from_response_with_user'
         8: from /home/ryanc/.gem/ruby/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/utils.rb:166:in `user_id'
         7: from /home/ryanc/.gem/ruby/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/users.rb:53:in `verify_credentials'
         6: from /home/ryanc/.gem/ruby/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/utils.rb:57:in `perform_get_with_object'
         5: from /home/ryanc/.gem/ruby/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/utils.rb:72:in `perform_request_with_object'
         4: from /home/ryanc/.gem/ruby/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/utils.rb:50:in `perform_request'
         3: from /home/ryanc/.gem/ruby/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/request.rb:37:in `perform'
         2: from /usr/lib/ruby/2.7.0/forwardable.rb:229:in `empty?'
         1: from /home/ryanc/.gem/ruby/2.7.0/gems/http-3.3.0/lib/http/response/body.rb:52:in `to_s'
/home/ryanc/.gem/ruby/2.7.0/gems/http-3.3.0/lib/http/response/body.rb:52:in `force_encoding': can't modify frozen String: "" (FrozenError)
gunvantsr
gunvantsr

Hello, i'm also getting the same error. don't know how to solve this.

Nov
18
2 months ago
started
started time in 2 months ago
started
started time in 2 months ago
started
started time in 2 months ago