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

Pr alpha test 0.1.33a2 #101

Closed

Conversation

milochen0418
Copy link
Contributor

@milochen0418 milochen0418 commented Jun 7, 2023

(Just for testing and put testing result on this pr page, plz don't merge)

It's still in the testing for every example code
According to the issue #55
Update requriement.txt for latest version pynecone==0.1.33a2 on PyPI

The previous alpha test report is here

The testing task is the following.

  • chatroom --> same bug as 0.1.33a1 .will have a update version from pynecone team
  • clock --> same bug as 0.1.33a1
  • counter
  • crm
  • dalle
  • fragments
  • gpt
  • nba
  • quiz
  • sales -- all bugs reported by 0.1.33a1 have been solved
  • snakegame
  • todo
  • translator
  • traversal
  • twitter -- all bugs reported by 0.1.33a1 have been solved
  • upload same bug as 0.1.33a1

The box with the check icon is the code we have done the testing for pynecone==0.1.33a2

**We have the bugs on these example: ... **

Notes

0.1.33a2

New bugs

Old bugs

Bug solved
...

My Testing Environment

I run all example codes by the following one-line command. one-line cmd ?? doc --help

pip install -r requirements.txt && rm -f pynecone.db && rm -rf .web && for i in $(find ./ | grep __pycache__$); do rm -rf $i; done && echo -e "\033[1;92mMy Testing Environment\033[0m" && echo -e "\t"OS $(uname) $(uname -r) && echo -e "\t"Pynecone $(pc version) && echo -e "\t"$(python --version) && echo -e "\t"Node $(node --version) && echo -e "\t"Bun $(~/.bun/bin/bun --version) && pc init && pc run --loglevel=debug

And the test environment is

My Testing Environment
        OS Darwin 22.4.0
        Pynecone 0.1.33a2
        Python 3.11.3
        Node v16.8.0
        Bun 0.5.9

On my computer, my Python version is 3.11.3.
If some examples here cannot run well, you can use python 3.11.3

The related issues that have been close from these PR updating

None

@milochen0418
Copy link
Contributor Author

milochen0418 commented Jun 7, 2023

crm example

When you click Sign up button, there is the following error
Screen Shot 2023-06-07 at 5 46 52 PM

My Testing Environment
	OS Darwin 20.2.0
	Pynecone 0.1.33a2
	Python 3.11.3
	Node v16.8.0
	Bun 0.5.9

@milochen0418
Copy link
Contributor Author

milochen0418 commented Jun 7, 2023

fragments example

New Bug
Screen Shot 2023-06-07 at 5 50 54 PM

My Testing Environment
	OS Darwin 20.2.0
	Pynecone 0.1.33a2
	Python 3.11.3
	Node v16.8.0
	Bun 0.5.9
My Testing Environment
	OS Darwin 20.2.0
	Pynecone 0.1.33a2
	Python 3.11.3
	Node v16.14.0
	Bun 0.5.9
My Testing Environment
	OS Darwin 20.2.0
	Pynecone 0.1.33a2
	Python 3.11.3
	Node v16.14.0
	Bun 0.6.0
My Testing Environment
	OS Darwin 20.2.0
	Pynecone 0.1.33a2
	Python 3.11.3
	Node v16.14.0
	Bun 0.6.1
My Testing Environment
	OS Darwin 20.2.0
	Pynecone 0.1.33a2
	Python 3.11.3
	Node v18.16.0
	Bun 0.6.1

Above is my testing on old mac
Just change my new mac (2018) to test and the following are still failed

My Testing Environment
	OS Darwin 22.4.0
	Pynecone 0.1.33a2
	Python 3.11.3
	Node v16.8.0
	Bun 0.5.9

This issue is not because of the version.
The reason for making this bug is

@milochen0418
Copy link
Contributor Author

upload example

New Bug run failed with the following message

Traceback (most recent call last):
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/bin/pc", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/typer/main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/typer/main.py", line 532, in wrapper
    return callback(**use_params)  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/pynecone/pc.py", line 126, in run
    app = prerequisites.get_app()
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/pynecone/utils/prerequisites.py", line 105, in get_app
    return __import__(module, fromlist=(constants.APP_VAR,))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milochen/git/py-webapp/upload/upload/upload.py", line 89, in <module>
    app.compile()
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/pynecone/app.py", line 445, in compile
    compiler.compile_page(
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/pynecone/compiler/compiler.py", line 149, in wrapper
    path, code = fn(*args)
                 ^^^^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/pynecone/compiler/compiler.py", line 220, in compile_page
    code = _compile_page(component, state, connect_error_component)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/pynecone/compiler/compiler.py", line 91, in _compile_page
    initial_state=utils.compile_state(state),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/pynecone/compiler/utils.py", line 104, in compile_state
    initial_state = state().dict()
                    ^^^^^^^^^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/pynecone/state.py", line 853, in dict
    {
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/pynecone/state.py", line 855, in <dictcomp>
    prop_name: self.get_value(getattr(self, prop_name))
                              ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/pynecone/state.py", line 549, in __getattribute__
    return super().__getattribute__(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milochen/opt/anaconda3/envs/alpha-test-0.1.33a2/lib/python3.11/site-packages/pynecone/vars.py", line 842, in __get__
    return super().__get__(instance, owner)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milochen/git/py-webapp/upload/upload/upload.py", line 17, in file_str
    return "\n".join(os.listdir(pc.get_asset_path()))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '.web/public'
(alpha-test-0.1.33a2) milochen @ milos-air ~/git/py-webapp/upload (pr-alpha-test-0.1.33a2)
└─ ▶
ynecone==0.1.33a2->-r requirements.txt (line 1)) (2.0.2)
My Testing Environment
	OS Darwin 20.2.0
	Pynecone 0.1.33a2
	Python 3.11.3
	Node v18.16.0
	Bun 0.6.1

@milochen0418
Copy link
Contributor Author

gpt example

New Bug
Screenshot 2023-06-08 at 1 11 39 AM

@milochen0418
Copy link
Contributor Author

milochen0418 commented Jun 7, 2023

nba example

First time to start nba is still very slow (>3min)
The old bug in 0.1.33a1 is resolved. And we have the following new bug
New Bug
Screenshot 2023-06-08 at 1 35 32 AM

After click Menu -> 20Dataset, pc.select is work but scroll bar cannot change the graph anymore.

@milochen0418
Copy link
Contributor Author

upload example

run failed with the following error message

  File "/Users/milochen/git/py-webapp/upload/upload/upload.py", line 17, in file_str
    return "\n".join(os.listdir(pc.get_asset_path()))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '.web/public'

@milochen0418
Copy link
Contributor Author

Close this PR because it has upgraded to 0.1.33

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

Successfully merging this pull request may close these issues.

1 participant