Skip to content

Commit

Permalink
THE NASTY BUGS ARE SQUASHED (Tyelab#4)
Browse files Browse the repository at this point in the history
* update environment.yml

* new file:   SLEAPyExample.ipynb
	new file:   environment.yml
	modified:   sleapyfaces/__about__.py
	modified:   sleapyfaces/__init__.py
	modified:   sleapyfaces/docstring.py

* add pip packages to environment

* This is a working commit

---------

Co-authored-by: Laurelrr <[email protected]>
  • Loading branch information
annie444 and laurelrr authored Jan 31, 2023
1 parent bb6bfc8 commit d3025b4
Show file tree
Hide file tree
Showing 7 changed files with 319 additions and 10 deletions.
161 changes: 161 additions & 0 deletions .pyre/pyre.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -1700,3 +1700,164 @@ Traceback (most recent call last):
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 60, in create
raise configuration_module.InvalidConfiguration(
pyre_check.client.configuration.exceptions.InvalidConfiguration: Invalid configuration: Cannot locate a Pyre binary to run.
2023-01-31 15:18:49,293 [PID 76056] DEBUG Using selector: KqueueSelector
2023-01-31 15:18:49,294 [PID 76056] INFO Reading Pyre server configurations...
2023-01-31 15:18:49,294 [PID 76056] INFO No binary specified, looking for `pyre.bin` in PATH
2023-01-31 15:18:49,296 [PID 76056] ERROR Uncaught error in persistent.run
Traceback (most recent call last):
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/persistent.py", line 502, in run
return asyncio.get_event_loop().run_until_complete(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.pyenv/versions/3.11.1/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/persistent.py", line 436, in run_persistent
initial_server_options = launch_and_subscribe_handler.PyreDaemonLaunchAndSubscribeHandler.read_server_options(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/launch_and_subscribe_handler.py", line 120, in read_server_options
return server_options_reader()
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 93, in read
return PyreServerOptions.create(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 60, in create
raise configuration_module.InvalidConfiguration(
pyre_check.client.configuration.exceptions.InvalidConfiguration: Invalid configuration: Cannot locate a Pyre binary to run.
2023-01-31 15:19:22,752 [PID 76343] DEBUG Using selector: KqueueSelector
2023-01-31 15:19:22,753 [PID 76343] INFO Reading Pyre server configurations...
2023-01-31 15:19:22,753 [PID 76343] INFO No binary specified, looking for `pyre.bin` in PATH
2023-01-31 15:19:22,754 [PID 76343] ERROR Uncaught error in persistent.run
Traceback (most recent call last):
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/persistent.py", line 502, in run
return asyncio.get_event_loop().run_until_complete(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.pyenv/versions/3.11.1/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/persistent.py", line 436, in run_persistent
initial_server_options = launch_and_subscribe_handler.PyreDaemonLaunchAndSubscribeHandler.read_server_options(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/launch_and_subscribe_handler.py", line 120, in read_server_options
return server_options_reader()
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 93, in read
return PyreServerOptions.create(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 60, in create
raise configuration_module.InvalidConfiguration(
pyre_check.client.configuration.exceptions.InvalidConfiguration: Invalid configuration: Cannot locate a Pyre binary to run.
2023-01-31 15:23:46,994 [PID 79588] DEBUG Using selector: KqueueSelector
2023-01-31 15:23:46,995 [PID 79588] INFO Reading Pyre server configurations...
2023-01-31 15:23:46,995 [PID 79588] INFO No binary specified, looking for `pyre.bin` in PATH
2023-01-31 15:23:46,996 [PID 79588] ERROR Uncaught error in persistent.run
Traceback (most recent call last):
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/persistent.py", line 502, in run
return asyncio.get_event_loop().run_until_complete(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.pyenv/versions/3.11.1/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/persistent.py", line 436, in run_persistent
initial_server_options = launch_and_subscribe_handler.PyreDaemonLaunchAndSubscribeHandler.read_server_options(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/launch_and_subscribe_handler.py", line 120, in read_server_options
return server_options_reader()
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 93, in read
return PyreServerOptions.create(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 60, in create
raise configuration_module.InvalidConfiguration(
pyre_check.client.configuration.exceptions.InvalidConfiguration: Invalid configuration: Cannot locate a Pyre binary to run.
2023-01-31 15:27:26,718 [PID 81160] DEBUG Using selector: KqueueSelector
2023-01-31 15:27:26,718 [PID 81160] INFO Reading Pyre server configurations...
2023-01-31 15:27:26,718 [PID 81160] INFO No binary specified, looking for `pyre.bin` in PATH
2023-01-31 15:27:26,719 [PID 81160] ERROR Uncaught error in persistent.run
Traceback (most recent call last):
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/persistent.py", line 502, in run
return asyncio.get_event_loop().run_until_complete(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.pyenv/versions/3.11.1/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/persistent.py", line 436, in run_persistent
initial_server_options = launch_and_subscribe_handler.PyreDaemonLaunchAndSubscribeHandler.read_server_options(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/launch_and_subscribe_handler.py", line 120, in read_server_options
return server_options_reader()
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 93, in read
return PyreServerOptions.create(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 60, in create
raise configuration_module.InvalidConfiguration(
pyre_check.client.configuration.exceptions.InvalidConfiguration: Invalid configuration: Cannot locate a Pyre binary to run.
2023-01-31 15:27:44,750 [PID 81512] DEBUG Using selector: KqueueSelector
2023-01-31 15:27:44,750 [PID 81512] INFO Reading Pyre server configurations...
2023-01-31 15:27:44,750 [PID 81512] INFO No binary specified, looking for `pyre.bin` in PATH
2023-01-31 15:27:44,752 [PID 81512] ERROR Uncaught error in persistent.run
Traceback (most recent call last):
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/persistent.py", line 502, in run
return asyncio.get_event_loop().run_until_complete(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.pyenv/versions/3.11.1/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/persistent.py", line 436, in run_persistent
initial_server_options = launch_and_subscribe_handler.PyreDaemonLaunchAndSubscribeHandler.read_server_options(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/launch_and_subscribe_handler.py", line 120, in read_server_options
return server_options_reader()
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 93, in read
return PyreServerOptions.create(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 60, in create
raise configuration_module.InvalidConfiguration(
pyre_check.client.configuration.exceptions.InvalidConfiguration: Invalid configuration: Cannot locate a Pyre binary to run.
2023-01-31 15:29:49,772 [PID 83731] DEBUG Using selector: KqueueSelector
2023-01-31 15:29:49,772 [PID 83731] INFO Reading Pyre server configurations...
2023-01-31 15:29:49,773 [PID 83731] INFO No binary specified, looking for `pyre.bin` in PATH
2023-01-31 15:29:49,774 [PID 83731] ERROR Uncaught error in persistent.run
Traceback (most recent call last):
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/persistent.py", line 502, in run
return asyncio.get_event_loop().run_until_complete(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.pyenv/versions/3.11.1/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/persistent.py", line 436, in run_persistent
initial_server_options = launch_and_subscribe_handler.PyreDaemonLaunchAndSubscribeHandler.read_server_options(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/launch_and_subscribe_handler.py", line 120, in read_server_options
return server_options_reader()
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 93, in read
return PyreServerOptions.create(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 60, in create
raise configuration_module.InvalidConfiguration(
pyre_check.client.configuration.exceptions.InvalidConfiguration: Invalid configuration: Cannot locate a Pyre binary to run.
2023-01-31 15:30:36,219 [PID 85451] DEBUG Using selector: KqueueSelector
2023-01-31 15:30:36,219 [PID 85451] INFO Reading Pyre server configurations...
2023-01-31 15:30:36,219 [PID 85451] INFO No binary specified, looking for `pyre.bin` in PATH
2023-01-31 15:30:36,220 [PID 85451] ERROR Uncaught error in persistent.run
Traceback (most recent call last):
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/persistent.py", line 502, in run
return asyncio.get_event_loop().run_until_complete(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.pyenv/versions/3.11.1/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/persistent.py", line 436, in run_persistent
initial_server_options = launch_and_subscribe_handler.PyreDaemonLaunchAndSubscribeHandler.read_server_options(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/launch_and_subscribe_handler.py", line 120, in read_server_options
return server_options_reader()
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 93, in read
return PyreServerOptions.create(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/annieehler/.local/share/nvim/mason/packages/pyre/venv/lib/python3.11/site-packages/pyre_check/client/commands/pyre_server_options.py", line 60, in create
raise configuration_module.InvalidConfiguration(
pyre_check.client.configuration.exceptions.InvalidConfiguration: Invalid configuration: Cannot locate a Pyre binary to run.
12 changes: 7 additions & 5 deletions SLEAPyExample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
}
],
"source": [
"from sleapyfaces import Experiment"
"from sleapyfaces.base import Experiment\n",
"\n",
"expr = Experiment(\n",
")"
]
},
{
Expand All @@ -33,18 +36,17 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "sleapyfaces",
"language": "python",
"name": "python3"
},
"language_info": {
"name": "python",
"version": "3.11.1 (main, Dec 23 2022, 09:28:24) [Clang 14.0.0 (clang-1400.0.29.202)]"
"version": "3.11.0 | packaged by conda-forge | (main, Jan 14 2023, 12:26:40) [Clang 14.0.6 ]"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "5c7b89af1651d0b8571dde13640ecdccf7d5a6204171d6ab33e7c296e100e08a"
"hash": "b0ea88426352522f750fe5516728f15656e2289bf25c218d2f74ad9754db936f"
}
}
},
Expand Down
21 changes: 21 additions & 0 deletions SLEAPyExample.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# ---
# jupyter:
# jupytext:
# text_representation:
# extension: .py
# format_name: percent
# format_version: '1.3'
# jupytext_version: 1.14.4
# kernelspec:
# display_name: sleapyfaces
# language: python
# name: python3
# ---

# %%
from sleapyfaces.base import Experiment

expr = Experiment(
)

# %%
Loading

0 comments on commit d3025b4

Please sign in to comment.