Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

ref: remove outdated instructions about uwsgi #1119

Merged
merged 1 commit into from
Jan 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions src/docs/environment/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -187,36 +187,6 @@ brew upgrade --cask chromedriver

---

**Problem:**

```shell
--- snip ---
00:51:27 server | ImportError: cannot import name _remove_dead_weakref
00:51:27 server | unable to load app 0 (mountpoint='') (callable not found or import error)
```

This is caused by uwsgi running the wrong version of Python. When starting up, you'll see something like

```shell
uwsgi socket 0 bound to TCP address 127.0.0.1:8889 fd 3
Python version: 2.7.10 (default, Feb 22 2019, 21:17:52) [GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)]
Set PythonHome to /Users/dfuller/code/sentry/.venv
```

The Python version here should be 2.7.16, but will be a lower version, likely your system Python. This is because uwsgi was
compiled against a stale Python and the resultant wheel has been cached by pip.

**Solution:**

In your sentry virtualenv:

```shell
pip uninstall uwsgi
pip install --no-cache-dir uwsgi
```

---

**Problem:** You see `DoesNotExist: Subscription matching query does not exist`

**Solution:** In getsentry, run the following to mock a subscription:
Expand Down
Loading