Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 05 23:59
    oppiabot[bot] commented #13970
  • Dec 05 23:59
    oppiabot[bot] commented #14274
  • Dec 05 23:59
    oppiabot[bot] commented #14279
  • Dec 05 23:59
    oppiabot[bot] commented #14326
  • Dec 05 23:59
    oppiabot[bot] commented #14287
  • Dec 05 23:59
    oppiabot[bot] labeled #13970
  • Dec 05 23:59
    oppiabot[bot] labeled #14274
  • Dec 05 23:59
    oppiabot[bot] commented #14301
  • Dec 05 23:59
    oppiabot[bot] labeled #14279
  • Dec 05 23:59
    oppiabot[bot] commented #14337
  • Dec 05 23:59
    oppiabot[bot] labeled #14326
  • Dec 05 23:59
    oppiabot[bot] commented #14338
  • Dec 05 23:59
    oppiabot[bot] labeled #14287
  • Dec 05 23:59
    oppiabot[bot] labeled #14301
  • Dec 05 23:59
    oppiabot[bot] commented #14361
  • Dec 05 23:59
    oppiabot[bot] labeled #14337
  • Dec 05 23:59
    oppiabot[bot] labeled #14338
  • Dec 05 23:59
    oppiabot[bot] commented #14363
  • Dec 05 23:59
    oppiabot[bot] labeled #14361
  • Dec 05 23:59
    oppiabot[bot] commented #14364
Vishal Teotia
@vashuteotia123
because I tried to install with pip and I got some error regarding NoModuleFound: _ctypes. Is _ctypes is sub-package of any other package ?
5 replies
Vishal Teotia
@vashuteotia123
image.png
this is what I'm getting when installing future inside my virtualenv
10 replies
Mohd salman ansari
@salmanansari14
can anyone guide me that how can i run its code
3 replies
please help me
ruinan-liu
@ruinan-liu

Hey team!
I was working the backend linter fix(oppia/oppia#11496) and I was able to successfully run the test prompt python -m scripts.run_custom_eslint_tests

---------------------------
All tests passed
---------------------------

so I think it means that the linter test is working as intended. However when I was later running the three python command

python -m scripts.linters.pre_commit_linter --path core/tests/protractor
python -m scripts.linters.pre_commit_linter --path core/tests/protractor_desktop
python -m scripts.linters.pre_commit_linter --path core/tests/protractor_utils
I received an error message like this
./.python-version is not listed in the .github/CODEOWNERS file.
./package-lock.json is not listed in the .github/CODEOWNERS file.
I am not sure I am supposed to fix those two bugs as it seems not related to linter check?
6 replies
Any guidance will be very appreciated
Vishal Teotia
@vashuteotia123
Can anyone please help me with the error, it has been two days since I'm stuck at the same thing.
8 replies
patrycjapraczyk
@patrycjapraczyk

After upgrading Python version to 3.7.10 I am getting this error when trying to run 'python3 -m scripts.start'. Does anyone know why this could be? Thank you for your help!

image.png

11 replies
Mahendra
@mahendra1290
@DubeySandeep please review my oppia/oppia#13772 so that it can be merged.
2 replies
Shivam
@heyimShivam

Hey coders, I am new to the open-source world, while installing the Oppia project in my local environment I am getting this error after using the command python -m scripts.start. can anyone help me to resolve this issue?

-> python -m scripts.start

---log---

some xyz Text

toml==0.10.2

# via pytest

typing-extensions==3.7.4.3

# via
#   apache-beam
#   importlib-metadata

uritemplate==3.0.1

# via google-api-python-client

urllib3==1.26.6

# via
#   -r requirements.in
#   elasticsearch
#   requests

webapp2==3.0.0b1

# via -r requirements.in

webencodings==0.5.1

# via
#   -r requirements.in
#   bleach
#   html5lib

webob==1.8.7

# via webapp2

zipp==3.4.1

# via importlib-metadata

The following packages are considered to be unsafe in a requirements file:

setuptools

All third-party Python libraries are already installed correctly.
Downloading and unzipping file bootstrap-4.3.1-dist to ./third_party/static ...
Traceback (most recent call last):
File "/home/shivam/.pyenv/versions/3.7.10/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/shivam/.pyenv/versions/3.7.10/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/shivam/Desktop/opensource/oppia/scripts/start.py", line 31, in <module>
install_third_party_libs.main()
File "/home/shivam/Desktop/opensource/oppia/scripts/install_third_party_libs.py", line 251, in main
install_third_party.main(args=[])
File "/home/shivam/Desktop/opensource/oppia/scripts/install_third_party.py", line 457, in main
download_manifest_files(MANIFEST_FILE_PATH)
File "/home/shivam/Desktop/opensource/oppia/scripts/install_third_party.py", line 331, in download_manifest_files
dependency_zip_root_name, dependency_target_root_name)
File "/home/shivam/Desktop/opensource/oppia/scripts/install_third_party.py", line 133, in download_and_unzip_files
python_utils.url_retrieve(source_url, filename=TMP_UNZIP_PATH)
File "/home/shivam/Desktop/opensource/oppia/python_utils.py", line 409, in url_retrieve
return urlrequest.urlretrieve(source_url, filename=filename)
File "/home/shivam/.pyenv/versions/3.7.10/lib/python3.7/urllib/request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/home/shivam/.pyenv/versions/3.7.10/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/home/shivam/.pyenv/versions/3.7.10/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/home/shivam/.pyenv/versions/3.7.10/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/home/shivam/.pyenv/versions/3.7.10/lib/python3.7/urllib/request.py", line 563, in error
result = self._call_chain(args)
File "/home/shivam/.pyenv/versions/3.7.10/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(
args)
File "/home/shivam/.pyenv/versions/3.7.10/lib/python3.7/urllib/request.py", line 755, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/home/shivam/.pyenv/versions/3.7.10/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/home/shivam/.pyenv/versions/3.7.10/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/home/shivam/.pyenv/versions/3.7.10/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(args)
File "/home/shivam/.pyenv/versions/3.7.10/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(
args)
File "/home/shivam/.pyenv/versions/3.7.10/lib/python3.7/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

5 replies
Vishal Teotia
@vashuteotia123
image.png
Vishal Teotia
@vashuteotia123
Can anyone explain to me what's going wrong?
Vishal Teotia
@vashuteotia123
image.png
Can someone help me out point the mistake I'm doing, I was writing the spec.js file for my lint check.
5 replies
Shiqi Wu
@sophiewu6
Screen Shot 2021-09-06 at 11.38.34 AM.png
Is anyone else's frontend tests also failing? The errors are not relevant to my changes, and I have tested it on the develop branch.
3 replies
Mahendra
@mahendra1290

Not able to push changes to branch can anybody help?

Screenshot from 2021-09-07 17-39-25.png

3 replies
Shivam Jha
@ShivamJhaa
Can anyone help me!
7 replies
Screenshot from 2021-09-08 15-21-19.png
Why push is not working further
ruinan-liu
@ruinan-liu
Hey Team,
I was working on adding the no .filter() linting rule and although it passes the python -m scripts.run_custom_eslint_tests test (Which means the lint I wrote is accurate?), it was showed error on the check python -m scripts.linters.pre_commit_linter --path core/tests/protractor_utils. It verified that some files in protractor_utils directory is using the .filter() function. Do we have an alternative for .filter()? And as part of the PR, should I also fix the files in /tests/protractor_utils?
Any guidance will be much appropriated.
Thanks Team!
2 replies
Mahendra
@mahendra1290

Screenshot from 2021-09-09 15-11-14.png

fron-tend tests failing while pushing can anybody help. I also tried to run tests on develop branch head these are also failing there

1 reply
Mahendra
@mahendra1290
Screenshot from 2021-09-09 18-37-49.png
Vishal Teotia
@vashuteotia123
chromeHeadless have not captured in 60000ms, killing
Facing this error and a bunch of lines after this, while pushing my code to my own branch.
10 replies
Shivam Jha
@ShivamJhaa
I am also getting the same error
ruinan-liu
@ruinan-liu
Same, getting the same error as above, attaching screenshot
I'm not sure, but the error seems to be that the expectations for the exceptions that are thrown are different?
ruinan-liu
@ruinan-liu
Screen Shot 2021-09-09 at 2.27.53 PM.png
3 replies
U8N WXD
@U8NWXD
A number of you have reported frontend test failures due to thrown errors that don’t match the expected errors. We are in the middle of trying to debug these problems right now. These errors are happening on lots of PRs and on develop, so if you see one of them, it’s probably not a problem with your code
1 reply
Shivam
@heyimShivam
done.png
project finally installed @U8NWXD thanks
1 reply
Vishal Teotia
@vashuteotia123
Those who were facing the error with frontend cases just update the develop branch and try again. As it is resolved for me.
Vishal Teotia
@vashuteotia123
I just created a PR, but I didn't had CLA signed. So I signed the CLA, now can anyone tell how I can trigger the checks again.
2 replies
Akshay Nandwana
@anandwana001

I am getting a python linter error on following line of code

                content=self.to_subtitled_html_proto(
                    self, state.content),

Error

Too many positional arguments for method call
6 replies
Akshay Nandwana
@anandwana001
    @classmethod
    def to_exploration_proto(
            cls, exploration_id, title, version, init_state_name, states):
        """Calculate the exploration size by setting exploration proto.

        Args:
            exploration_id: str. The id of the exploration.
            title: str. The exploration title.
            version: int. The version of the exploration.
            init_state_name: str. The name of the initial state.
            states: State. The state domain object.

        Returns:
            exploration_proto: Exploration. The exploration
                proto object.
        """
The above code giving error
4 space indentation in docstring.
5 replies
ruinan-liu
@ruinan-liu
Hey Team, Sorry to bring this up again, but I don't think the PR fixes my problem. I did a git fetch upstream develop and then git merge, so I do have the updated PR for the frontend test fix. However, when I run git push origin develop I encountered a similar error, I don't think this is related to my code, but could anyone double check?
Thanks!
1 reply
Screen Shot 2021-09-10 at 1.25.40 PM.png
Mahendra
@mahendra1290

Screenshot from 2021-09-11 02-46-05.png

unable to push even after updating with develop and passing all tests. Please help!

19 replies
Vishal Teotia
@vashuteotia123
image.png
Anyone know what this error states ?
1 reply
Vishal Teotia
@vashuteotia123
image.png
Shiqi Wu
@sophiewu6
Screen Shot 2021-09-11 at 5.44.07 PM.png
1 reply
I pulled the newest changes, but these two tests are still failing for me
Shivam Jha
@ShivamJhaa
image.png
How to remove this error?
2 replies
Mahendra
@mahendra1290
@ShivamJhaa just activate environment and start the project it will update any dependencies