瀏覽代碼

日志目录提交

liyuyi@c-top.com.cn 4 年之前
父節點
當前提交
cf25b46405

+ 0 - 214
.gitignore

@@ -1,214 +0,0 @@
-# Created by .ignore support plugin (hsz.mobi)
-### Python template
-# Byte-compiled / optimized / DLL files
-__pycache__/
-*.py[cod]
-*$py.class
-
-# C extensions
-*.so
-
-# Distribution / packaging
-.Python
-build/
-develop-eggs/
-dist/
-downloads/
-eggs/
-.eggs/
-lib/
-lib64/
-parts/
-sdist/
-var/
-wheels/
-share/python-wheels/
-*.egg-info/
-.installed.cfg
-*.egg
-MANIFEST
-
-# PyInstaller
-#  Usually these files are written by a python script from a template
-#  before PyInstaller builds the exe, so as to inject date/other infos into it.
-*.manifest
-*.spec
-
-# Installer logs
-pip-log.txt
-pip-delete-this-directory.txt
-
-# Unit test / coverage reports
-htmlcov/
-.tox/
-.nox/
-.coverage
-.coverage.*
-.cache
-nosetests.xml
-coverage.xml
-*.cover
-*.py,cover
-.hypothesis/
-.pytest_cache/
-cover/
-
-# Translations
-*.mo
-*.pot
-
-# Django stuff:
-*.log
-local_settings.py
-db.sqlite3
-db.sqlite3-journal
-
-# Flask stuff:
-instance/
-.webassets-cache
-
-# Scrapy stuff:
-.scrapy
-
-# Sphinx documentation
-docs/_build/
-
-# PyBuilder
-.pybuilder/
-target/
-
-# Jupyter Notebook
-.ipynb_checkpoints
-
-# IPython
-profile_default/
-ipython_config.py
-
-# pyenv
-#   For a library or package, you might want to ignore these files since the code is
-#   intended to run in multiple environments; otherwise, check them in:
-# .python-version
-
-# pipenv
-#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
-#   However, in case of collaboration, if having platform-specific dependencies or dependencies
-#   having no cross-platform support, pipenv may install dependencies that don't work, or not
-#   install all needed dependencies.
-#Pipfile.lock
-
-# PEP 582; used by e.g. github.com/David-OConnor/pyflow
-__pypackages__/
-
-# Celery stuff
-celerybeat-schedule
-celerybeat.pid
-
-# SageMath parsed files
-*.sage.py
-
-# Environments
-.env
-.venv
-env/
-venv/
-ENV/
-env.bak/
-venv.bak/
-
-# Spyder project settings
-.spyderproject
-.spyproject
-
-# Rope project settings
-.ropeproject
-
-# mkdocs documentation
-/site
-
-# mypy
-.mypy_cache/
-.dmypy.json
-dmypy.json
-
-# Pyre type checker
-.pyre/
-
-# pytype static type analyzer
-.pytype/
-
-# Cython debug symbols
-cython_debug/
-
-### JetBrains template
-# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
-# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
-
-# User-specific stuff
-.idea/**/workspace.xml
-.idea/**/tasks.xml
-.idea/**/usage.statistics.xml
-.idea/**/dictionaries
-.idea/**/shelf
-
-# Generated files
-.idea/**/contentModel.xml
-
-# Sensitive or high-churn files
-.idea/**/dataSources/
-.idea/**/dataSources.ids
-.idea/**/dataSources.local.xml
-.idea/**/sqlDataSources.xml
-.idea/**/dynamic.xml
-.idea/**/uiDesigner.xml
-.idea/**/dbnavigator.xml
-
-# Gradle
-.idea/**/gradle.xml
-.idea/**/libraries
-
-# Gradle and Maven with auto-import
-# When using Gradle or Maven with auto-import, you should exclude module files,
-# since they will be recreated, and may cause churn.  Uncomment if using
-# auto-import.
-# .idea/artifacts
-# .idea/compiler.xml
-# .idea/jarRepositories.xml
-# .idea/modules.xml
-# .idea/*.iml
-# .idea/modules
-# *.iml
-# *.ipr
-
-# CMake
-cmake-build-*/
-
-# Mongo Explorer plugin
-.idea/**/mongoSettings.xml
-
-# File-based project format
-*.iws
-
-# IntelliJ
-out/
-
-# mpeltonen/sbt-idea plugin
-.idea_modules/
-
-# JIRA plugin
-atlassian-ide-plugin.xml
-
-# Cursive Clojure plugin
-.idea/replstate.xml
-
-# Crashlytics plugin (for Android Studio and IntelliJ)
-com_crashlytics_export_strings.xml
-crashlytics.properties
-crashlytics-build.properties
-fabric.properties
-
-# Editor-based Rest Client
-.idea/httpRequests
-
-# Android studio 3.1+ serialized cache file
-.idea/caches/build_file_checksums.ser
-

文件差異過大導致無法顯示
+ 80 - 0
logs/advertiser_strategy_operate/advertiser_strategy_operate.log


+ 103 - 0
logs/ai_auto_create/ai_auto_create.log

@@ -0,0 +1,103 @@
+01/25/2021 09:52:44 AM INFO ***************************************  NEW REQUEST ***************************************
+01/25/2021 09:52:44 AM INFO raw data from request is {'account_id': 9743727}
+01/25/2021 09:53:26 AM INFO ai策略的返回信息:{'code': 0, 'message': {'code': 0, 'message': '异步执行中,等待回调...'}}
+01/25/2021 09:56:07 AM INFO ***************************************  NEW REQUEST ***************************************
+01/25/2021 09:56:07 AM INFO raw data from request is {'account_id': 9743727}
+01/25/2021 09:56:33 AM INFO ai策略的返回信息:{'code': 0, 'message': {'code': 0, 'message': '异步执行中,等待回调...'}}
+01/25/2021 09:58:49 AM INFO ***************************************  NEW REQUEST ***************************************
+01/25/2021 09:58:49 AM INFO raw data from request is {'account_id': 9743727}
+01/25/2021 09:58:54 AM INFO ai策略的返回信息:{'code': 0, 'message': {'code': 0, 'message': '异步执行中,等待回调...'}}
+01/25/2021 10:00:45 AM INFO ***************************************  NEW REQUEST ***************************************
+01/25/2021 10:00:45 AM INFO raw data from request is {'account_id': 9743727}
+01/25/2021 10:00:52 AM INFO ai策略的返回信息:{'code': 0, 'message': {'code': 0, 'message': '异步执行中,等待回调...'}}
+01/25/2021 10:05:24 AM INFO ***************************************  NEW REQUEST ***************************************
+01/25/2021 10:05:24 AM INFO raw data from request is {'account_id': 9743727}
+01/25/2021 10:05:30 AM INFO ai策略的返回信息:{'code': 0, 'message': {'code': 0, 'message': '异步执行中,等待回调...'}}
+01/25/2021 10:08:40 AM INFO ***************************************  NEW REQUEST ***************************************
+01/25/2021 10:08:40 AM INFO raw data from request is {'account_id': 9743727}
+01/25/2021 10:08:51 AM INFO ai策略的返回信息:{'code': 0, 'message': {'code': 0, 'message': '异步执行中,等待回调...'}}
+01/25/2021 10:35:31 AM INFO ***************************************  NEW REQUEST ***************************************
+01/25/2021 10:35:38 AM INFO raw data from request is {'account_id': 9743727}
+01/25/2021 10:37:06 AM INFO ai策略的返回信息:{'code': 0, 'message': {'code': 0, 'message': '异步执行中,等待回调...'}}
+01/25/2021 10:48:08 AM INFO ***************************************  NEW REQUEST ***************************************
+01/25/2021 10:48:08 AM INFO raw data from request is {'account_id': 9743727}
+01/25/2021 10:48:30 AM INFO ai策略的返回信息:{'code': 0, 'message': {'code': 0, 'message': '异步执行中,等待回调...'}}
+01/25/2021 11:11:45 AM INFO ***************************************  NEW REQUEST ***************************************
+01/25/2021 11:11:45 AM INFO raw data from request is {'account_id': 9743727}
+01/25/2021 11:11:57 AM INFO ai策略的返回信息:{'code': 0, 'message': {'code': 0, 'message': '异步执行中,等待回调...'}}
+01/25/2021 11:21:56 AM INFO ***************************************  NEW REQUEST ***************************************
+01/25/2021 11:21:56 AM INFO raw data from request is {'account_id': 9743727}
+01/25/2021 11:22:46 AM INFO ***************************************  NEW REQUEST ***************************************
+01/25/2021 11:22:46 AM INFO raw data from request is {'account_id': 9743727}
+01/25/2021 11:23:15 AM INFO ***************************************  NEW REQUEST ***************************************
+01/25/2021 11:23:15 AM INFO raw data from request is {'account_id': 9743727}
+01/25/2021 11:29:58 AM INFO ai策略的返回信息:{'code': 0, 'message': {'code': 0, 'message': '异步执行中,等待回调...'}}
+01/25/2021 11:36:06 AM INFO ***************************************  NEW REQUEST ***************************************
+01/25/2021 11:36:06 AM INFO raw data from request is {'account_id': 9743727}
+01/25/2021 11:36:09 AM ERROR Traceback (most recent call last):
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\urllib3\connection.py", line 170, in _new_conn
+    (self._dns_host, self.port), self.timeout, **extra_kw
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\urllib3\util\connection.py", line 96, in create_connection
+    raise err
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\urllib3\util\connection.py", line 86, in create_connection
+    sock.connect(sa)
+ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\urllib3\connectionpool.py", line 706, in urlopen
+    chunked=chunked,
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\urllib3\connectionpool.py", line 394, in _make_request
+    conn.request(method, url, **httplib_request_kw)
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\urllib3\connection.py", line 234, in request
+    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
+  File "D:\anaconda3\envs\ai_ads\lib\http\client.py", line 1277, in request
+    self._send_request(method, url, body, headers, encode_chunked)
+  File "D:\anaconda3\envs\ai_ads\lib\http\client.py", line 1323, in _send_request
+    self.endheaders(body, encode_chunked=encode_chunked)
+  File "D:\anaconda3\envs\ai_ads\lib\http\client.py", line 1272, in endheaders
+    self._send_output(message_body, encode_chunked=encode_chunked)
+  File "D:\anaconda3\envs\ai_ads\lib\http\client.py", line 1032, in _send_output
+    self.send(msg)
+  File "D:\anaconda3\envs\ai_ads\lib\http\client.py", line 972, in send
+    self.connect()
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\urllib3\connection.py", line 200, in connect
+    conn = self._new_conn()
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\urllib3\connection.py", line 182, in _new_conn
+    self, "Failed to establish a new connection: %s" % e
+urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x000001113762D2C8>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\requests\adapters.py", line 449, in send
+    timeout=timeout
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\urllib3\connectionpool.py", line 756, in urlopen
+    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\urllib3\util\retry.py", line 573, in increment
+    raise MaxRetryError(_pool, url, error or ResponseError(cause))
+urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.8', port=8080): Max retries exceeded with url: /jeecg-boot/kuaishou/material/getHistoryTopVideoList (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001113762D2C8>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+  File "E:\ai_ads\ai_time_task_creative_handler.py", line 200, in post
+    get_high_quality_video_url)
+  File "E:\ai_ads\utils\CommonFunction.py", line 37, in get_top_video_info
+    request = requests.post(url, headers=headers, data=json.JSONEncoder().encode(request_data)).text
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\requests\api.py", line 119, in post
+    return request('post', url, data=data, json=json, **kwargs)
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\requests\api.py", line 61, in request
+    return session.request(method=method, url=url, **kwargs)
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\requests\sessions.py", line 542, in request
+    resp = self.send(prep, **send_kwargs)
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\requests\sessions.py", line 655, in send
+    r = adapter.send(request, **kwargs)
+  File "D:\anaconda3\envs\ai_ads\lib\site-packages\requests\adapters.py", line 516, in send
+    raise ConnectionError(e, request=request)
+requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.8', port=8080): Max retries exceeded with url: /jeecg-boot/kuaishou/material/getHistoryTopVideoList (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001113762D2C8>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))
+
+01/25/2021 11:39:28 AM INFO ***************************************  NEW REQUEST ***************************************
+01/25/2021 11:39:28 AM INFO raw data from request is {'account_id': 9743727}
+01/25/2021 11:39:45 AM INFO ai策略的返回信息:{'code': 0, 'message': {'code': 0, 'message': '异步执行中,等待回调...'}}

文件差異過大導致無法顯示
+ 124 - 0
logs/ai_callback/ai_callback.log


文件差異過大導致無法顯示
+ 22 - 274
logs/ai_strategy_request/ai_strategy_request.log