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

Update Project: Improve Compatibility, Readability, and Error Handling #1256

Open
1 of 2 tasks
lAnviuml opened this issue Aug 29, 2024 · 1 comment
Open
1 of 2 tasks
Labels
bug Something isn't working triage Interesting but stale issue. Will be close if inactive for 3 more days after label added.

Comments

@lAnviuml
Copy link

lAnviuml commented Aug 29, 2024

Expected Behavior

The GitHub project has not been maintained for a while. I expect the code to be updated to be compatible with current standards. Additionally, improvements should be made to the code's readability, error handling, and ensuring proper data generation.

Prompt for Improvements:

This GitHub project has not been updated in a while. Please update the code to make it compatible with current standards. Take the opportunity to improve code readability, error handling, and ensure accurate data generation.

Current Behavior

The current code is outdated and has compatibility issues with newer versions of dependencies. Moreover, some errors are not properly handled, and data generation is unreliable.

Last error:
"UnicodeEncodeError: 'charmap' codec can't encode characters in position 1424-1425: character maps to <undefined>"

Failure Information

The code frequently encounters errors during execution due to outdated libraries and insufficient error handling. Below is the environment I am using for this project:

  • LLM Model Used: ChatGPT-4o-latest
  • Operating System: Windows 11 (latest version)
  • Development Environment: Poetry, gpt-engineer-py3.10

Failure Logs

Including the debug_log_file.txt from the your_project/.gpteng/memory/ directory.

debug_log_file.txt

System Information

Below are the system details obtained from the gpte --sysinfo command:

os: Windows
os_version: 10.0.26100
architecture: AMD64
python_version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]

Installed Packages:

os: Windows
os_version: 10.0.26100
architecture: AMD64
python_version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
packages: accessible-pygments: 0.0.4
aiohttp: 3.9.5
aiosignal: 1.3.1
alabaster: 0.7.16
annotated-types: 0.6.0
anthropic: 0.26.1
anyio: 4.3.0
asttokens: 2.4.1
async-timeout: 4.0.3
attrs: 23.2.0
autodoc_pydantic: 2.2.0
Babel: 2.14.0
backoff: 2.2.1
beautifulsoup4: 4.12.3
black: 23.3.0
bleach: 6.1.0
cachetools: 5.3.3
certifi: 2024.7.4
cfgv: 3.4.0
chardet: 5.2.0
charset-normalizer: 3.3.2
click: 8.1.7
colorama: 0.4.6
comm: 0.2.2
coverage: 7.5.0
dataclasses-json: 0.5.7
datasets: 2.19.0
debugpy: 1.8.1
decorator: 5.1.1
defusedxml: 0.7.1
deprecation: 2.1.0
dill: 0.3.8
distlib: 0.3.8
distro: 1.9.0
dnspython: 2.6.1
docutils: 0.20.1
exceptiongroup: 1.2.1
executing: 2.0.1
fastjsonschema: 2.19.1
filelock: 3.13.4
frozenlist: 1.4.1
fsspec: 2024.3.1
gpt-engineer: 0.3.1
greenlet: 3.0.3
h11: 0.14.0
httpcore: 1.0.5
httpx: 0.27.0
huggingface-hub: 0.22.2
identify: 2.5.36
idna: 3.7
imagesize: 1.4.1
importlib_metadata: 7.1.0
iniconfig: 2.0.0
ipykernel: 6.29.4
ipython: 8.24.0
jedi: 0.19.1
Jinja2: 3.1.3
jiter: 0.4.0
jsonpatch: 1.33
jsonpointer: 2.4
jsonschema: 4.21.1
jsonschema-specifications: 2023.12.1
jupyter-cache: 1.0.0
jupyter_client: 8.6.1
jupyter_core: 5.7.2
jupyterlab_pygments: 0.3.0
langchain: 0.2.1
langchain-anthropic: 0.1.13
langchain-community: 0.2.1
langchain-core: 0.2.1
langchain-openai: 0.1.7
langchain-text-splitters: 0.2.0
langsmith: 0.1.51
LinkChecker: 10.4.0
Markdown: 3.6
markdown-include: 0.8.1
markdown-it-py: 3.0.0
MarkupSafe: 2.1.5
marshmallow: 3.21.1
marshmallow-enum: 1.5.1
matplotlib-inline: 0.1.7
mdit-py-plugins: 0.4.0
mdurl: 0.1.2
mistune: 3.0.2
monotonic: 1.6
multidict: 6.0.5
multiprocess: 0.70.16
mypy: 1.3.0
mypy-extensions: 1.0.0
myst-nb: 1.1.0
myst-parser: 3.0.0
nbclient: 0.10.0
nbconvert: 7.16.3
nbformat: 5.10.4
nbsphinx: 0.9.3
nest-asyncio: 1.6.0
nodeenv: 1.8.0
numpy: 1.26.4
openai: 1.30.1
orjson: 3.10.1
packaging: 23.2
pandas: 2.2.2
pandocfilters: 1.5.1
parso: 0.8.4
pathspec: 0.12.1
pillow: 10.3.0
pip: 24.1
platformdirs: 4.2.1
pluggy: 1.5.0
pre-commit: 3.3.3
prompt-toolkit: 3.0.43
psutil: 5.9.8
pure-eval: 0.2.2
pyarrow: 16.0.0
pyarrow-hotfix: 0.6
pydantic: 2.7.1
pydantic_core: 2.18.2
pydantic-settings: 2.2.1
pydata-sphinx-theme: 0.15.2
Pygments: 2.17.2
pyperclip: 1.8.2
pyproject-api: 1.6.1
pytest: 8.1.2
pytest-cov: 4.1.0
python-dateutil: 2.9.0.post0
python-dotenv: 0.21.1
pytz: 2024.1
pywin32: 306
PyYAML: 6.0.1
pyzmq: 26.0.2
referencing: 0.35.0
regex: 2023.12.25
requests: 2.31.0
rich: 13.7.1
rpds-py: 0.18.0
rudder-sdk-python: 2.1.0
ruff: 0.4.2
setuptools: 70.0.0
shellingham: 1.5.4
six: 1.16.0
sniffio: 1.3.1
snowballstemmer: 2.2.0
soupsieve: 2.5
Sphinx: 7.3.7
sphinx-autobuild: 2024.4.16
sphinx-book-theme: 1.1.2
sphinx-copybutton: 0.5.2
sphinx-rtd-theme: 2.0.0
sphinx-typlog-theme: 0.8.0
sphinxcontrib-applehelp: 1.0.8
sphinxcontrib-devhelp: 1.0.6
sphinxcontrib-htmlhelp: 2.0.5
sphinxcontrib-jquery: 4.1
sphinxcontrib-jsmath: 1.0.1
sphinxcontrib-qthelp: 1.0.7
sphinxcontrib-serializinghtml: 1.1.10
SQLAlchemy: 2.0.29
stack-data: 0.6.3
starlette: 0.37.2
tabulate: 0.9.0
tenacity: 8.2.3
termcolor: 2.3.0
tiktoken: 0.7.0
tinycss2: 1.3.0
tokenizers: 0.19.1
toml: 0.10.2
tomli: 2.0.1
tomlkit: 0.12.4
tornado: 6.4
tox: 4.15.0
tqdm: 4.66.2
traitlets: 5.14.3
typer: 0.12.3
typing_extensions: 4.11.0
typing-inspect: 0.9.0
tzdata: 2024.1
urllib3: 2.2.1
uvicorn: 0.29.0
virtualenv: 20.26.0
watchfiles: 0.21.0
wcwidth: 0.2.13
webencodings: 0.5.1
websockets: 12.0
xxhash: 3.4.1
yarl: 1.9.4
zipp: 3.18.1

Installation Method

The project was installed using the following method:

  • pip install
  • Built from the repository

Root Project Source

This project originates from:
Pump-and-Dump Detection on Cryptocurrency GitHub Repository

@lAnviuml lAnviuml added bug Something isn't working triage Interesting but stale issue. Will be close if inactive for 3 more days after label added. labels Aug 29, 2024
@wifiuk
Copy link

wifiuk commented Oct 4, 2024

i get a similar issue:

UnicodeEncodeError: 'charmap' codec can't encode character '\u2502' in position 15: character maps to '< undefined >'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Interesting but stale issue. Will be close if inactive for 3 more days after label added.
Projects
None yet
Development

No branches or pull requests

2 participants