tools.linux.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bhaskar Chowdhury <unixbhaskar@gmail.com>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: tools@linux.kernel.org
Subject: b4 trouble!
Date: Wed, 1 Jul 2020 07:59:34 +0530	[thread overview]
Message-ID: <20200701022934.GA11489@Gentoo> (raw)

[-- Attachment #1: Type: text/plain, Size: 1446 bytes --]

Kai,

The story goes like this :

Once cloned the git repo and as suggested in README in the cloned repo
,I made an alias in .bashrc like this :

alias b4="The path to the b4.sh"

source .bashrc 


But...I got this ...I tried this from within the dir and outside of it..

✔ ~/git-linux/b4 [master|✔]
07:53 $ b4
Traceback (most recent call last):
   File "/home/bhaskar/git-linux/b4/b4/command.py", line 10, in <module>
     import b4
   File "/home/bhaskar/git-linux/b4/b4/__init__.py", line 15, in <module>
     import requests
ModuleNotFoundError: No module named 'requests'
✘-1 ~/git-linux/b4 [master|✔]
07:53 $ cd ~
bhaskar@Gentoo_07:53:29_Wed Jul 01:~> b4
Traceback (most recent call last):
   File "/home/bhaskar/git-linux/b4/b4/command.py", line 10, in <module>
     import b4
   File "/home/bhaskar/git-linux/b4/b4/__init__.py", line 15, in <module>
     import requests
ModuleNotFoundError: No module named 'requests'


Is this a expected behavior of it??? I know what it is missing, but the
point is ,why the end user have to take care of this?? 

OR, this is tool made for certain people and those people know what
exactly do with this kind of return???

I am lost ...and can we make some sanity check to before running . Will
that be costly enough or bring more maintenance headache. I am not sure,
because I lack knowledge ,probably.

Kindly , shed some light.

Thanks,
Bhaskar

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 499 bytes --]

             reply	other threads:[~2020-07-01  2:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-01  2:29 Bhaskar Chowdhury [this message]
2020-07-01  2:38 ` b4 trouble! Bhaskar Chowdhury

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200701022934.GA11489@Gentoo \
    --to=unixbhaskar@gmail.com \
    --cc=konstantin@linuxfoundation.org \
    --cc=tools@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).