Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] PermissionError at Initialisation #107

Open
Gruftgrabbler opened this issue Apr 27, 2022 · 0 comments
Open

[BUG] PermissionError at Initialisation #107

Gruftgrabbler opened this issue Apr 27, 2022 · 0 comments

Comments

@Gruftgrabbler
Copy link

Gruftgrabbler commented Apr 27, 2022

Hello. I am trying to setup the the ColabCode Server by following the Readme.
Unfortunately I get a PermissionError and have no idea wether it is even possible to solve this issue since on Colab I can not even open a terminal.

The Traceback is:

---------------------------------------------------------------------------
PermissionError                           Traceback (most recent call last)
[<ipython-input-3-9c5ec4fb81b5>](https://pqb4vzehmyi-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20220426-060050-RC00_444516321#) in <module>()
----> 1 ColabCode(port=10000, password="abhishek", mount_drive=True)

7 frames
[/usr/lib/python3.7/subprocess.py](https://pqb4vzehmyi-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20220426-060050-RC00_444516321#) in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, start_new_session)
<img width="1440" alt="Screenshot 2022-04-27 at 23 12 06" src="https://user-images.githubusercontent.com/24829851/165632065-4f9e8f2d-03e6-4592-820c-6b26c182860c.png">

   1549                         if errno_num == errno.ENOENT:
   1550                             err_msg += ': ' + repr(err_filename)
-> 1551                     raise child_exception_type(errno_num, err_msg, err_filename)
   1552                 raise child_exception_type(err_msg)
   1553 

PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/dist-packages/pyngrok/bin/ngrok'
``
<img width="1440" alt="Screenshot 2022-04-27 at 23 12 06" src="https://user-images.githubusercontent.com/24829851/165632029-8966cb53-b40a-4637-be9a-bea7695976ac.png">

For Reference my Notebook looks like:

!pip install -q colabcode

from colabcode import ColabCode

ColabCode(port=10000, password="abhishek", mount_drive=True)

Just calling ColabCode()yields the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant