-
Notifications
You must be signed in to change notification settings - Fork 32
Bubeniuk Vlad #26
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
base: master
Are you sure you want to change the base?
Bubeniuk Vlad #26
Conversation
Create virtualenv python3.8 and add README.md file
--limit --verbose --version --help --json
Rss and application modules redone, added json scheme and annotation methods
And also checked the code through the paycodestyle
And change annotation
Added docker-compose: -docker-compose.yml -Dockerfile Тew parameter added: --date - The cashed news can be read with it. The new from the specified day will be printed out. If the news are not found return an error. Add services mongo and mongo-express in docker-compose.yml Add mongodb.py file and doc string for work with database Update requirement.txt file Update version proj.
Type annotation changed Change __init__ in MongoDatabase class
|
||
from rss_reader_ft import config | ||
|
||
setup( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не поставились зависимости после установки пакета
# rss-reader --help
Traceback (most recent call last):
File "/usr/local/bin/rss-reader", line 5, in <module>
from rss_reader_ft.rss_reader import main
File "/usr/local/lib/python3.8/site-packages/rss_reader_ft/rss_reader.py", line 4, in <module>
from rss_reader_ft.app.application import Application
File "/usr/local/lib/python3.8/site-packages/rss_reader_ft/app/application.py", line 7, in <module>
from rss_reader_ft.rss.data_loader import DataLoader
File "/usr/local/lib/python3.8/site-packages/rss_reader_ft/rss/data_loader.py", line 4, in <module>
import feedparser
ModuleNotFoundError: No module named 'feedparser'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# rss-reader --help
Traceback (most recent call last):
File "/usr/local/bin/rss-reader", line 5, in <module>
from rss_reader_ft.__main__ import main
File "/usr/local/lib/python3.8/site-packages/rss_reader_ft/__main__.py", line 2, in <module>
from rss_reader_ft import rss_reader
File "/usr/local/lib/python3.8/site-packages/rss_reader_ft/rss_reader.py", line 4, in <module>
from rss_reader_ft.app.application import Application
File "/usr/local/lib/python3.8/site-packages/rss_reader_ft/app/application.py", line 9, in <module>
from rss_reader_ft.rss.output import Output
File "/usr/local/lib/python3.8/site-packages/rss_reader_ft/rss/output.py", line 9, in <module>
from rss_reader_ft.conversion.pdf_converter import PdfConverter
File "/usr/local/lib/python3.8/site-packages/rss_reader_ft/conversion/pdf_converter.py", line 7, in <module>
from reportlab.pdfbase.ttfonts import TTFont
ModuleNotFoundError: No module named 'reportlab'
from rss_reader_ft import config | ||
|
||
setup( | ||
name=config.__package__, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
после установки зависимостей утилита замирает при попытке ее запустить, verbose
не дает информации полезной о происходящем
# rss-reader https://news.tut.by/rss/geonews/minsk.rss --verbose
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Возможно, ты пропустил пункт, где надо было откатиться до старого коммита, и запускал последнюю версию, где надо поднимать бд(не могу настроить правильно docker-compose.yaml, был бы благодарен в помощи по его настройке), я обновил ридми файл по установке 2 итерации и протестировал в чистом докере
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
добавил документацию по использованию 3-5 итерации
The process of executing the final task.
Additionally