Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 20:16
    SanjaySajuJacob labeled #16596
  • 20:13
    SanjaySajuJacob labeled #16596
  • 20:09
    Shivkant-Chauhan edited #16661
  • 20:09
    Shivkant-Chauhan edited #16661
  • 20:09
    Shivkant-Chauhan edited #16661
  • 20:09
    Shivkant-Chauhan edited #16661
  • 20:09
    Shivkant-Chauhan commented #16661
  • 20:07
    Shivkant-Chauhan synchronize #16661
  • 20:07
    Shivkant-Chauhan unassigned #16661
  • 20:07
    Shivkant-Chauhan assigned #16661
  • 20:07
    oppiabot[bot] commented #16661
  • 20:07
    Shivkant-Chauhan review_requested #16661
  • 20:07
    Shivkant-Chauhan review_request_removed #16661
  • 20:07
    oppiabot[bot] assigned #16661
  • 20:07
    oppiabot[bot] commented #16661
  • 20:07
    Shivkant-Chauhan review_requested #16661
  • 20:07
    Shivkant-Chauhan review_requested #16661
  • 20:07
    Shivkant-Chauhan opened #16661
  • 19:58
    kevintab95 commented #16588
  • 19:52
    Priyansh61 assigned #16588
SatyarajRana
@SatyarajRana
Screenshot 2022-10-22 at 4.00.41 PM.png
4 replies
Getting this error on running python -m scripts.start
Saksham Singh
@Saksham294
Hi, I am Saksham Singh, a sophomore and a full stack dev. Apart from full stack dev, I know languages like Java, Python, C++. I would like to contribute to this organisation. How can I get started?
2 replies
Ini Dickson
@inidicksonjr_twitter
Hi everyone
1 reply
tobiasesko
@tobiasesko
Hello, I am running into issues with scripts.start
1 reply
MattiasErlingson
@MattiasErlingson
Hi community, I've worked on some issues already (SchemaHandlers, etc.) but am currently looking for a new "Good first issue" that's prioritized at the moment. Any suggestions?
1 reply
balogun14
@balogun14
I don’t Know which icons to change the icon is not displaying
Reina Ades
@reiades
hello! I am currently trying to download and build oppia on an ec2 instance (I had more issues when I tried to download it on mac) and when running scripts.start, I keep getting the error " [Errno 28] No space left on device". does anyone know what to do in this case? my ec2 instance has 8 GiB
Kaicheng-Han
@Kaicheng-Han
Hello! I'm trying to get started and tried to install oppia, but when I'm doing scripts.start, it showed some syntax error and failed. (I have both python2 and python3 installed properly and have done the setup works) What could be the possible situation? Thank you. The error happens on "def alert on exit() -> Iterator[None]:" on that arrow...
azhou0104
@azhou0104
Hi @Kaicheng-Han , how did you resolve the def alert on exit() -> iterator[None] error? I am getting the same one
Kaicheng-Han
@Kaicheng-Han
Hi @Kaicheng-Han , how did you resolve the def alert on exit() -> iterator[None] error? I am getting the same one
Hi, that was probably because of the difference between python3 and 2, make sure to set up the environment using python3! Hope it helps
1 reply
Sachin Kumar
@sk-2809

Everything up-to-date
Traceback (most recent call last):
File "/home/skadmin/.pyenv/versions/3.7.10/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/skadmin/.pyenv/versions/3.7.10/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/skadmin/opensource/oppia/scripts/start.py", line 29, in <module>
from . import install_third_party_libs
File "/home/skadmin/opensource/oppia/scripts/install_third_party_libs.py", line 30, in <module>
from . import common # isort:skip pylint: disable=wrong-import-position, wrong-import-order
File "/home/skadmin/opensource/oppia/scripts/common.py", line 44, in <module>
from core import utils # pylint: disable=wrong-import-position
File "/home/skadmin/opensource/oppia/core/utils.py", line 38, in <module>
from core import feconf
File "/home/skadmin/opensource/oppia/core/feconf.py", line 28, in <module>
from typing import Callable, Dict, Final, List, TypedDict, Union
ImportError: cannot import name 'Final' from 'typing' (/home/skadmin/.pyenv/versions/3.7.10/lib/python3.7/typing.py)

I am getting this error when "python -m scripts.start" is given. Please help!

2 replies
Ashism766
@Ashism766
Hi, everyone I'm Ashis Maity a backend developer have experience in node, fastapi, python also work on frontend,
1 reply
I like to contribute in oppia
It'll be very helpful if you help me to get started.
Han Trinh
@walnuthanhan
image.png
Hello, I am running "python -m scripts.start," it runs for a while but ends with a message "Please use Python 3.7" before the Traceback part. So should we use Python 3.7 or 3.8?
1 reply
Candace Williams
@teacherc
I have a similar question. The scripts run, but I'm seeing errors related to pip. Which version of pip should I have installed to the environment?
Candace Williams
@teacherc

Here are my errors:

Installing third-party JS libraries and zip files.
Checking if pip is installed on the local machine
Regenerating "requirements.txt" file...
ERROR:pip.subprocessor:[present-rich] pip subprocess to install build dependencies exited with 1
Traceback (most recent call last):
File "/Users/candacewilliams/.pyenv/versions/oppia/bin/pip-compile", line 8, in <module>
sys.exit(cli())
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/click/core.py", line 1130, in call
return self.main(args, kwargs)
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(args, kwargs)
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, kwargs)
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/piptools/scripts/compile.py", line 466, in cli
results = resolver.resolve(max_rounds=max_rounds)
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/piptools/resolver.py", line 175, in resolve
has_changed, best_matches = self._resolve_one_round()
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/piptools/resolver.py", line 319, in _resolve_one_round
their_constraints.extend(self._iter_dependencies(best_match))
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/piptools/resolver.py", line 428, in _iter_dependencies
dependencies = self.repository.get_dependencies(ireq)
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/piptools/repositories/local.py", line 79, in get_dependencies
return self.repository.get_dependencies(ireq)
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/piptools/repositories/pypi.py", line 247, in get_dependencies
self._dependencies_cache[ireq] = self.resolve_reqs(
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/piptools/repositories/pypi.py", line 210, in resolve_reqs
results = resolver._resolve_one(reqset, ireq)
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/pip/_internal/resolution/legacy/resolver.py", line 500, in _resolve_one
dist = self._get_dist_for(req_to_install)
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/pip/_internal/resolution/legacy/resolver.py", line 453, in _get_dist_for
dist = self.preparer.prepare_linked_requirement(req)
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 428, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 497, in _prepare_linked_requirement
dist = _get_prepared_distribution(
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 58, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/pip/_internal/distributions/sdist.py", line 38, in prepare_distribution_metadata
self._prepare_build_backend(finder)
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/pip/_internal/distributions/sdist.py", line 70, in _prepare_build_backend
self.req.build_env.install_requirements(
File "/Users/candacewilliams/.pyenv/versions/oppia/lib/python3.8/site-packages/pip/_internal/build_env.

I also have this warning a few times: WARNING: There was an error checking the latest version of pip.

I've tried to upgrade pip a few different ways. I have also tried to uninstall pip and reinstall it. I'm on Mac OS M1 chip (I'm using Rosetta).
Candace Williams
@teacherc
I also tried uninstalling pyenv and starting over.
sambhavgupta0705
@sambhavgupta0705
I am getting error of start.py command not found
2 replies
any fix of it
sambhavgupta0705
@sambhavgupta0705
Screenshot from 2022-11-20 14-40-57.png
2 replies
Mohamed Bilal
@dmdbilal
Hey Hi Guys!, I'm currently working in a issue in Oppia android app. i.e. To merge the 4 layout files. In there I've some doubts. How can i merge the fields like style, layout_width, layout_height... with respect to the orientation of the screen ?.
dorvo
@dorvo:matrix.org
[m]
hi there
dorvo
@dorvo:matrix.org
[m]
is it problematic to run the prerequisite packages out of pydev, seems it's not being active. I've followed the instructions for it
Shivkant Chauhan
@Shivkant-Chauhan
Hi @sambhavgupta0705, please try python -m scripts
.start. The start.py is not the correct command to start the dev server!
python -m scripts.start
Athena Ding
@athenading
oppia/oppia#16346 Hey! If anyone has time, I would love some pointers on how to identify this issue in the codebase. Thanks!
dorvo
@dorvo:matrix.org
[m]
Guuys, I am getting no suitable pyhton version found when try to run python -m scripts.start
not sure what i am doing wrong
followed the instructions on the github
dorvo
@dorvo:matrix.org
[m]
nevermind, this gave some guidance over the problem oppia/oppia#16436
Aakarsh00
@Aakarsh00
Hello folks, I wanna contribute to GSoC 2023 how can I start?
1 reply
azhou0104
@azhou0104
oppia/oppia#16458 Hi! I am working on sorting reviewable questions based on topic. However, I am having trouble finding a way to test this on localhost. How can I find or create reviewable questions on Oppia?
4 replies
dorvo
@dorvo:matrix.org
[m]
i am getting an error to push on my fork and then eventually create the pr and push into the develop. anyone could help me?
3 replies
sfayyad
@sfayyad

Hi everyone! I was wondering if someone could help me with setting up the project? Everytime I run "python -m scripts.start," I get a "ModuleNotFoundError: No module named 'firebase_admin'" error. This is the full output:

Symlink already exists
Making pre-push hook file executable ...
pre-push hook file is now executable!
Traceback (most recent call last):
  File "/Users/sfayyad/.pyenv/versions/3.8.12/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Users/sfayyad/.pyenv/versions/3.8.12/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/sfayyad/Desktop/college/senior year/eecs481/opensource/oppia/scripts/start.py", line 40, in <module>
    from scripts import contributor_dashboard_debug # isort:skip  pylint: disable=wrong-import-position, wrong-import-order
  File "/Users/sfayyad/Desktop/college/senior year/eecs481/opensource/oppia/scripts/contributor_dashboard_debug.py", line 41, in <module>
    import firebase_admin
ModuleNotFoundError: No module named 'firebase_admin'

I would really appreciate any help!

4 replies
dorvo
@dorvo:matrix.org
[m]
found something not similar but with maybe same root indicator
but change the remote to https doesn't work anymore so it's possible to use it
azhou0104
@azhou0104
Hi! I am working with creating filters for questions to review. However, I am having trouble finding how to view questions that need reviewing. Does anyone have an idea of how I might be able to view questions in general, or questions to review? I think it has something to do with "suggestions", but not sure. Thanks !
Zainab Lawal
@Zeesky-code
Hello everyone, I'm Zainab. A backend dev experienced in node and Django looking forward to contributing to Oppia
SUBHASH THENUA
@SubhashThenua
hi @Zeesky-code
Welcome to oppia
you can start from here
https://github.com/oppia/oppia/wiki

Annoucement:
For queries, we encourage contributors to create a GitHub Discussion. Members of the Oppia organization will be able to help you there.

Thank you,

SUBHASH THENUA
@SubhashThenua
github discussion is more useful during setup of oppia on your local machine.