Closed ssbcf closed 8 months ago
建议IP不要填写127.0.0.1 , 而是通过在cmd通过ipconfig查看IP并将其填入配置文件
建议IP不要填写127.0.0.1 , 而是通过在cmd通过ipconfig查看IP并将其填入配置文件 好像还有数据库的问题?? 2024-02-09 21:42:34 dynamic_share-1 | Traceback (most recent call last): 2024-02-09 21:42:34 dynamic_share-1 | File "/app/main.py", line 15, in 2024-02-09 21:42:34 dynamic_share-1 | 2024-02-09 21:42:34 dynamic_share-1 | ip我隐藏了 2024-02-09 21:42:34 dynamic_share-1 | DataBase connect error,please check the db config. 2024-02-09 21:42:34 dynamic_share-1 | do_search() 2024-02-09 21:42:34 dynamic_share-1 | File "/app/main.py", line 9, in do_search 2024-02-09 21:42:34 dynamic_share-1 | SearchDynamicByUps(globals.my_user_id).init_search() 2024-02-09 21:42:34 dynamic_share-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-02-09 21:42:34 dynamic_share-1 | File "/app/service/search_draw_dynamic_service/SearchDynamicByUps.py", line 25, in init 2024-02-09 21:42:34 dynamic_share-1 | db = init_db() 2024-02-09 21:42:34 dynamic_share-1 | ^^^^^^^^^ 2024-02-09 21:42:34 dynamic_share-1 | File "/app/dao/init_db.py", line 27, in init_db 2024-02-09 21:42:34 dynamic_share-1 | db.selectDataBase(dbname) 2024-02-09 21:42:34 dynamic_share-1 | File "/app/utils/mysql_operate.py", line 38, in selectDataBase 2024-02-09 21:42:34 dynamic_share-1 | self.con.select_db(DB_NAME) 2024-02-09 21:42:34 dynamic_share-1 | ^^^^^^^^^^^^^^^^^^ 2024-02-09 21:42:34 dynamic_share-1 | AttributeError: 'NoneType' object has no attribute 'select_db' 2024-02-09 21:42:34 dynamic_share-1 | Exception ignored in: <function MysqldbHelper.del at 0x7fdef176d940> 2024-02-09 21:42:34 dynamic_share-1 | Traceback (most recent call last): 2024-02-09 21:42:34 dynamic_share-1 | File "/app/utils/mysql_operate.py", line 290, in del 2024-02-09 21:42:34 dynamic_share-1 | self.cur.close() 2024-02-09 21:42:34 dynamic_share-1 | ^^^^^^^^^^^^^^ 2024-02-09 21:42:34 dynamic_share-1 | AttributeError: 'NoneType' object has no attribute 'close'
2024-02-07 22:07:27 dynamic_share-1 | WARNING:root:ip :127.0.0.1 2024-02-07 22:07:27 dynamic_share-1 | Traceback (most recent call last): 2024-02-07 22:07:27 dynamic_share-1 | File "/app/main.py", line 15, in
2024-02-07 22:07:27 dynamic_share-1 | 127.0.0.1
2024-02-07 22:07:27 dynamic_share-1 | 127.0.0.1
2024-02-07 22:07:27 dynamic_share-1 | DataBase connect error,please check the db config.
2024-02-07 22:07:27 dynamic_share-1 | do_search()
2024-02-07 22:07:27 dynamic_share-1 | File "/app/main.py", line 9, in do_search
2024-02-07 22:07:27 dynamic_share-1 | SearchDynamicByUps(globals.my_user_id).init_search()
2024-02-07 22:07:27 dynamic_share-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-02-07 22:07:27 dynamic_share-1 | File "/app/service/search_draw_dynamic_service/SearchDynamicByUps.py", line 25, in init
2024-02-07 22:07:27 dynamic_share-1 | db = init_db()
2024-02-07 22:07:27 dynamic_share-1 | ^^^^^^^^^
2024-02-07 22:07:27 dynamic_share-1 | File "/app/dao/init_db.py", line 27, in init_db
2024-02-07 22:07:27 dynamic_share-1 | db.selectDataBase(dbname)
2024-02-07 22:07:27 dynamic_share-1 | File "/app/utils/mysql_operate.py", line 38, in selectDataBase
2024-02-07 22:07:27 dynamic_share-1 | self.con.select_db(DB_NAME)
2024-02-07 22:07:27 dynamic_share-1 | ^^^^^^^^^^^^^^^^^^
2024-02-07 22:07:27 dynamic_share-1 | AttributeError: 'NoneType' object has no attribute 'select_db'
2024-02-07 22:07:27 dynamic_share-1 | Exception ignored in: <function MysqldbHelper.del at 0x7f1982f09940>
2024-02-07 22:07:27 dynamic_share-1 | Traceback (most recent call last):
2024-02-07 22:07:27 dynamic_share-1 | File "/app/utils/mysql_operate.py", line 290, in del
2024-02-07 22:07:27 dynamic_share-1 | self.cur.close()
2024-02-07 22:07:27 dynamic_share-1 | ^^^^^^^^^^^^^^
2024-02-07 22:07:27 dynamic_share-1 | AttributeError: 'NoneType' object has no attribute 'close'
2024-02-07 22:07:43 dynamic_share-1 | WARNING:root:ip :127.0.0.1
2024-02-07 22:07:43 dynamic_share-1 | Traceback (most recent call last):
2024-02-07 22:07:43 dynamic_share-1 | File "/app/main.py", line 15, in
2024-02-07 22:07:43 dynamic_share-1 | 127.0.0.1
2024-02-07 22:07:43 dynamic_share-1 | 127.0.0.1
2024-02-07 22:07:43 dynamic_share-1 | DataBase connect error,please check the db config.
2024-02-07 22:07:43 dynamic_share-1 | do_search()
2024-02-07 22:07:43 dynamic_share-1 | File "/app/main.py", line 9, in do_search
2024-02-07 22:07:43 dynamic_share-1 | SearchDynamicByUps(globals.my_user_id).init_search()
2024-02-07 22:07:43 dynamic_share-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-02-07 22:07:43 dynamic_share-1 | File "/app/service/search_draw_dynamic_service/SearchDynamicByUps.py", line 25, in init
2024-02-07 22:07:43 dynamic_share-1 | db = init_db()
2024-02-07 22:07:43 dynamic_share-1 | ^^^^^^^^^
2024-02-07 22:07:43 dynamic_share-1 | File "/app/dao/init_db.py", line 27, in init_db
2024-02-07 22:07:43 dynamic_share-1 | db.selectDataBase(dbname)
2024-02-07 22:07:43 dynamic_share-1 | File "/app/utils/mysql_operate.py", line 38, in selectDataBase
2024-02-07 22:07:43 dynamic_share-1 | self.con.select_db(DB_NAME)
2024-02-07 22:07:43 dynamic_share-1 | ^^^^^^^^^^^^^^^^^^
2024-02-07 22:07:43 dynamic_share-1 | AttributeError: 'NoneType' object has no attribute 'select_db'
2024-02-07 22:07:43 dynamic_share-1 | Exception ignored in: <function MysqldbHelper.del at 0x7fb3cbf99940>
2024-02-07 22:07:43 dynamic_share-1 | Traceback (most recent call last):
2024-02-07 22:07:43 dynamic_share-1 | File "/app/utils/mysql_operate.py", line 290, in del
2024-02-07 22:07:43 dynamic_share-1 | self.cur.close()
2024-02-07 22:07:43 dynamic_share-1 | ^^^^^^^^^^^^^^
2024-02-07 22:07:43 dynamic_share-1 | AttributeError: 'NoneType' object has no attribute 'close'