scrapy_AttributeError: 'generator' object has no attribute 'meta'''_'generator' 'dont_filter'

本文探讨了在使用Scrapy爬虫框架时,重写中间件的process_exception方法导致的AttributeError异常。通过将spider文件中的yield关键字替换为return,成功解决了问题,使程序能够正常运行。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

问题描述:初次使用craapy中间件的时候,重写了process_exception方法,目的是反复去调用,但是报错了,如下:

2018-12-26 20:50:57 [scrapy.utils.signal] ERROR: Error caught on signal handler: <bound method RefererMiddleware.request_scheduled of <scrapy.spidermiddlewares.referer.RefererMiddleware object at 0x00000000050EC080>>
Traceback (most recent call last):
  File "e:\anaconda3\lib\site-packages\scrapy\utils\signal.py", line 30, in send_catch_log
    *arguments, **named)
  File "e:\anaconda3\lib\site-packages\pydispatch\robustapply.py", line 55, in robustApply
    return receiver(*arguments, **named)
  File "e:\anaconda3\lib\site-packages\scrapy\spidermiddlewares\referer.py", line 343, in request_scheduled
    redirected_urls = request.meta.get('redirect_urls', [])
AttributeError: 'generator' object has no attribute 'meta'
Unhandled Error
Traceback (most recent call last):
  File "e:\anaconda3\lib\site-packages\scrapy\commands\crawl.py", line 58, in run
    self.crawler_process.start()
  File "e:\anaconda3\lib\site-packages\scrapy\crawler.py", line 291, in start
    reactor.run(installSignalHandlers=False)  # blocking call
  File "e:\anaconda3\lib\site-packages\twisted\internet\base.py", line 1267, in run
    self.mainLoop()
  File "e:\anaconda3\lib\site-packages\twisted\internet\base.py", line 1276, in mainLoop
    self.runUntilCurrent()
--- <exception caught here> ---
  File "e:\anaconda3\lib\site-packages\twisted\internet\base.py", line 902, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "e:\anaconda3\lib\site-packages\scrapy\utils\reactor.py", line 41, in __call__
    return self._func(*self._a, **self._kw)
  File "e:\anaconda3\lib\site-packages\scrapy\core\engine.py", line 135, in _next_request
    self.crawl(request, spider)
  File "e:\anaconda3\lib\site-packages\scrapy\core\engine.py", line 210, in crawl
    self.schedule(request, spider)
  File "e:\anaconda3\lib\site-packages\scrapy\core\engine.py", line 216, in schedule
    if not self.slot.scheduler.enqueue_request(request):
  File "e:\anaconda3\lib\site-packages\scrapy\core\scheduler.py", line 54, in enqueue_request
    if not request.dont_filter and self.df.request_seen(request):
builtins.AttributeError: 'generator' object has no attribute 'dont_filter'

2018-12-26 20:50:57 [twisted] CRITICAL: Unhandled Error
Traceback (most recent call last):
  File "e:\anaconda3\lib\site-packages\scrapy\commands\crawl.py", line 58, in run
    self.crawler_process.start()
  File "e:\anaconda3\lib\site-packages\scrapy\crawler.py", line 291, in start
    reactor.run(installSignalHandlers=False)  # blocking call
  File "e:\anaconda3\lib\site-packages\twisted\internet\base.py", line 1267, in run
    self.mainLoop()
  File "e:\anaconda3\lib\site-packages\twisted\internet\base.py", line 1276, in mainLoop
    self.runUntilCurrent()
--- <exception caught here> ---
  File "e:\anaconda3\lib\site-packages\twisted\internet\base.py", line 902, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "e:\anaconda3\lib\site-packages\scrapy\utils\reactor.py", line 41, in __call__
    return self._func(*self._a, **self._kw)
  File "e:\anaconda3\lib\site-packages\scrapy\core\engine.py", line 135, in _next_request
    self.crawl(request, spider)
  File "e:\anaconda3\lib\site-packages\scrapy\core\engine.py", line 210, in crawl
    self.schedule(request, spider)
  File "e:\anaconda3\lib\site-packages\scrapy\core\engine.py", line 216, in schedule
    if not self.slot.scheduler.enqueue_request(request):
  File "e:\anaconda3\lib\site-packages\scrapy\core\scheduler.py", line 54, in enqueue_request
    if not request.dont_filter and self.df.request_seen(request):
builtins.AttributeError: 'generator' object has no attribute 'dont_filter'

代码如下:

middlewares.py
class ProxyMiddleware(object):
    logger = logging.getLogger(__name__)

    def process_exception(self, request, response, spider):
        self.logger.debug("Get GoogleMiddleware")
        return request

google.py

# -*- coding: utf-8 -*-
import scrapy


class GoogleSpider(scrapy.Spider):
    name = 'google'
    allowed_domains = ['www.google.com']
    start_urls = ['http://www.google.com/']

    def make_requests_from_url(self, url):
        yield scrapy.Request(url=url, meta={'download_timeout': 10}, callback=self.parse)

    def parse(self, response):
        print(response.text)
settings.py
DOWNLOADER_MIDDLEWARES = {
   'Httpbinorg.middlewares.ProxyMiddleware': 543,
   'scrapy.downloadermiddlewares.retry.RetryMiddleware':None
}

解决:原因还未找到,百度了一下,没有答案,但是搜索出了一个方法,尝试了一下,竟然成功了 。

把spider文件中的yield换成return

修改后代码:

# -*- coding: utf-8 -*-
import scrapy


class GoogleSpider(scrapy.Spider):
    name = 'google'
    allowed_domains = ['www.google.com']
    start_urls = ['http://www.google.com/']

    def make_requests_from_url(self, url):
        return scrapy.Request(url=url, meta={'download_timeout': 10}, callback=self.parse)

    def parse(self, response):
        print(response.text)

在去运行,程序正常结束。

这是当前版本的结构图这是当前的结构图lufei@fedora:~/文档/聚核助手2.0$ tree -L 4 . ├── aicr.txt ├── assets │   ├── __init__.py │   └── response.mp3 ├── assistant.log ├── audio_test.py ├── backup_20250715_0859.zip ├── batch_update_entry_points.py ├── certs │   ├── ca-bundle.crt -> /etc/ssl/certs/ca-bundle.crt │   ├── eventbus.crt │   ├── eventbus.key │   └── __init__.py ├── chatgpt_importer.py ├── check_syntax.py ├── cleanup_legacy.py ├── code_metrics.csv ├── config │   ├── config.py │   ├── global_config.yaml │   ├── __init__.py │   ├── __pycache__ │   │   └── __init__.cpython-313.pyc │   └── user_config.yaml ├── config.py ├── config.yaml ├── conversations.json ├── core │   ├── aicore │   │   ├── action_manager.py │   │   ├── actions │   │   │   ├── action_dispatcher.py │   │   │   ├── action_handlers.py │   │   │   ├── actions.yaml │   │   │   ├── __init__.py │   │   │   └── __pycache__ │   │   ├── aicore.py │   │   ├── circuit_breaker.py │   │   ├── command_router.py │   │   ├── context_manager.py │   │   ├── health_monitor.py │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── memory │   │   │   ├── __init__.py │   │   │   ├── memory_data.json │   │   │   ├── memory_engine.py │   │   │   ├── memory.json │   │   │   ├── memory_log.txt │   │   │   ├── memory_manager.py │   │   │   └── __pycache__ │   │   ├── model_engine.py │   │   └── __pycache__ │   │   ├── action_manager.cpython-313.pyc │   │   ├── aicore.cpython-313.pyc │   │   ├── circuit_breaker.cpython-313.pyc │   │   ├── command_router.cpython-313.pyc │   │   ├── context_manager.cpython-313.pyc │   │   ├── health_monitor.cpython-313.pyc │   │   ├── __init__.cpython-313.pyc │   │   └── model_engine.cpython-313.pyc │   ├── core2_0 │   │   ├── action_dispatcher.py │   │   ├── aicore -> ../../core/aicore │   │   ├── certs │   │   │   └── __init__.py │   │   ├── cli.py │   │   ├── config_manager.py │   │   ├── config.py │   │   ├── error_logger.py │   │   ├── event_bus.py │   │   ├── framework │   │   │   └── __init__.py │   │   ├── __init__.py │   │   ├── jujue_module_generator.py │   │   ├── jumo_core.py │   │   ├── logger.py │   │   ├── module_loader.py │   │   ├── module_manager.py │   │   ├── module_watcher.py │   │   ├── __pycache__ │   │   │   ├── event_bus.cpython-313.pyc │   │   │   ├── __init__.cpython-313.pyc │   │   │   ├── reply_dispatcher.cpython-313.pyc │   │   │   └── trace_logger.cpython-313.pyc │   │   ├── query_handler.py │   │   ├── register_action.py │   │   ├── reply_dispatcher.py │   │   ├── sanhuatongyu │   │   │   ├── config.py │   │   │   ├── context.py │   │   │   ├── emergency_cli.py │   │   │   ├── entry_dispatcher.py │   │   │   ├── events │   │   │   ├── events.py │   │   │   ├── __init__.py │   │   │   ├── logger.py │   │   │   ├── master.py │   │   │   ├── metrics.py │   │   │   ├── module │   │   │   ├── monitoring │   │   │   ├── __pycache__ │   │   │   ├── run_sanhuatongyu.py │   │   │   ├── security │   │   │   ├── system_module.py │   │   │   ├── tests │   │   │   └── utils.py │   │   ├── security_manager.py │   │   ├── self_heal │   │   │   ├── __init__.py │   │   │   ├── log_analyzer.py │   │   │   ├── rollback_manager.py │   │   │   └── self_healing_scheduler.py │   │   ├── trace_logger.py │   │   └── utils.py │   ├── __init__.py │   ├── __pycache__ │   │   └── __init__.cpython-313.pyc │   └── system │   ├── __init__.py │   ├── __pycache__ │   │   ├── __init__.cpython-313.pyc │   │   ├── system_control.cpython-313.pyc │   │   └── system_sense.cpython-313.pyc │   ├── system_control.py │   └── system_sense.py ├── create_memory_module.py ├── data │   ├── __init__.py │   ├── logbook.jsonl │   ├── memory_data.json │   └── memory_log.txt ├── default_config.yaml ├── dependencies │   ├── audio_env │   │   ├── bin │   │   │   ├── activate │   │   │   ├── activate.csh │   │   │   ├── activate.fish │   │   │   ├── Activate.ps1 │   │   │   ├── autopep8 │   │   │   ├── bandit │   │   │   ├── bandit-baseline │   │   │   ├── bandit-config-generator │   │   │   ├── distro │   │   │   ├── edge-playback │   │   │   ├── edge-tts │   │   │   ├── f2py │   │   │   ├── find-corrupt-whisper-files.py │   │   │   ├── flake8 │   │   │   ├── huggingface-cli │   │   │   ├── __init__.py │   │   │   ├── isympy │   │   │   ├── jsonschema │   │   │   ├── markdown-it │   │   │   ├── normalizer │   │   │   ├── numpy-config │   │   │   ├── pbr │   │   │   ├── pip │   │   │   ├── pip3 │   │   │   ├── pip3.13 │   │   │   ├── proton │   │   │   ├── proton-viewer │   │   │   ├── pycodestyle │   │   │   ├── pyflakes │   │   │   ├── pygmentize │   │   │   ├── pylupdate6 │   │   │   ├── python -> /usr/bin/python │   │   │   ├── python3 -> python │   │   │   ├── python3.13 -> python │   │   │   ├── pyuic6 │   │   │   ├── radon │   │   │   ├── rrd2whisper.py │   │   │   ├── srt │   │   │   ├── srt-deduplicate │   │   │   ├── srt-fixed-timeshift │   │   │   ├── srt-linear-timeshift │   │   │   ├── srt-lines-matching │   │   │   ├── srt-mux │   │   │   ├── srt-normalise │   │   │   ├── srt-play │   │   │   ├── srt-process │   │   │   ├── tabulate │   │   │   ├── tiny-agents │   │   │   ├── torchfrtrace │   │   │   ├── torchrun │   │   │   ├── tqdm │   │   │   ├── transformers │   │   │   ├── transformers-cli │   │   │   ├── update-storage-times.py │   │   │   ├── watchmedo │   │   │   ├── whisper-auto-resize.py │   │   │   ├── whisper-auto-update.py │   │   │   ├── whisper-create.py │   │   │   ├── whisper-diff.py │   │   │   ├── whisper-dump.py │   │   │   ├── whisper-fetch.py │   │   │   ├── whisper-fill.py │   │   │   ├── whisper-info.py │   │   │   ├── whisper-merge.py │   │   │   ├── whisper-resize.py │   │   │   ├── whisper-set-aggregation-method.py │   │   │   ├── whisper-set-xfilesfactor.py │   │   │   └── whisper-update.py │   │   ├── include │   │   │   ├── __init__.py │   │   │   └── python3.13 │   │   ├── __init__.py │   │   ├── lib │   │   │   ├── __init__.py │   │   │   └── python3.13 │   │   ├── lib64 -> lib │   │   ├── pyvenv.cfg │   │   └── share │   │   ├── __init__.py │   │   └── man │   ├── __init__.py │   └── requirements.txt ├── dingtalk_install.sh ├── docs │   └── __init__.py ├── entry │   ├── add_entry_func.py │   ├── cli_entry │   │   ├── cli_entry.py │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── module.py │   │   └── __pycache__ │   │   ├── cli_entry.cpython-313.pyc │   │   └── __init__.cpython-313.pyc │   ├── gui_entry │   │   ├── gui_main.py │   │   ├── __init__.py │   │   ├── manifest.json │   │   └── module.py │   ├── __init__.py │   ├── __pycache__ │   │   └── __init__.cpython-313.pyc │   ├── register_and_run_entries.py │   ├── voice_entry │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── module.py │   │   └── voice_entry.py │   └── voice_input │   ├── 2 │   │   └── __init__.py │   ├── __init__.py │   ├── manifest.json │   ├── manifest.json.bak │   ├── module.py │   └── voice_input.py ├── external │   ├── cpp_example │   │   └── __init__.py │   ├── go_example │   │   └── __init__.py │   ├── __init__.py │   └── rust_example │   └── __init__.py ├── fix_ai_config.py ├── fix_all_issues.py ├── fix_and_run.sh ├── fix_cli_entry_path_and_dispatcher.py ├── fix_entry_import_paths.py ├── fix_errors.sh ├── fix_imports.py ├── fix_log_calls.py ├── fix_logger_calls.py ├── fix_logger_extra_parens.py ├── fix_logger_extra.py ├── fix_log_path.py ├── fix_package_exports.sh ├── fix_percent_format.py ├── fix_relative_imports.py ├── fix_systemmonitor.py ├── gui │   ├── aicore_gui.py │   ├── __init__.py │   ├── main_gui.py │   ├── main_gui.py.bak │   ├── utils │   │   ├── __init__.py │   │   ├── system_monitor.py │   │   ├── typing_effect.py │   │   └── voice_queue.py │   └── widgets │   ├── background_manager.py │   ├── chat_box.py │   ├── __init__.py │   ├── input_bar.py │   ├── menu_bar.py │   ├── status_panel.py │   └── voice_mode_overlay.py ├── health_checker.py ├── health_checker.py.bak ├── health_report.md ├── init_packages.py ├── init_project.sh ├── __init__.py ├── install_missing_dependencies.py ├── jindouyun_particles.py ├── juhe-main.py ├── juhe-main.py.bak ├── juhe_system.log ├── license ├── logbook.jsonl ├── logs │   ├── audit_20250719.log │   ├── audit_20250720.log │   ├── audit_20250721.log │   ├── cli_20250719_183927.log │   ├── cli_20250719_191337.log │   ├── cli_20250719.log │   ├── cli_20250720.log │   ├── cli_20250721.log │   ├── code_inserter │   │   ├── code_inserter.log │   │   └── __init__.py │   ├── code_reader │   │   ├── code_reader.log │   │   └── __init__.py │   ├── code_reviewer.log │   ├── format_manager │   │   └── format_manager.log │   ├── __init__.py │   ├── logbook │   │   ├── audit.log │   │   └── logbook.jsonl │   └── voice_input │   ├── __init__.py │   └── voice_input.log ├── main_controller.py ├── memory_data.json ├── memory.pkl ├── memory_retrieval.py ├── migrate_log.txt ├── migrate_structure.py ├── models.txt ├── module_loader.py ├── modules │   ├── audio_capture │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── capture.py │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   └── module.py │   ├── audio_consumer │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── audio_consumer.py │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   └── module.py │   ├── cli_entry │   │   ├── cli_main.py │   │   ├── __init__.py │   │   ├── manifest.json │   │   └── module.py │   ├── code_executor │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── code_executor.py │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   └── __pycache__ │   │   ├── code_executor.cpython-313.pyc │   │   └── __init__.cpython-313.pyc │   ├── code_inserter │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── code_inserter.py │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   └── __pycache__ │   │   ├── code_inserter.cpython-313.pyc │   │   └── __init__.cpython-313.pyc │   ├── code_reader │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── code_reader.py │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   └── __pycache__ │   │   ├── code_reader.cpython-313.pyc │   │   └── __init__.cpython-313.pyc │   ├── code_reviewer │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── code_reviewer.py │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   └── __pycache__ │   │   ├── code_reviewer.cpython-313.pyc │   │   └── __init__.cpython-313.pyc │   ├── format_manager │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── format_manager.py │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   └── __pycache__ │   │   ├── format_manager.cpython-313.pyc │   │   └── __init__.cpython-313.pyc │   ├── gui_entry │   │   ├── gui_main.py │   │   ├── __init__.py │   │   ├── manifest.json │   │   └── module.py │   ├── hello_module │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── hello_module.py │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   └── module.py │   ├── __init__.py │   ├── ju_wu │   │   ├── action_mapper.py │   │   ├── __init__.py │   │   ├── intent_router.py │   │   ├── juwu.py │   │   ├── manifest.json │   │   ├── rules │   │   │   ├── __init__.py │   │   │   ├── intent_rules.json │   │   │   └── manifest.json │   │   ├── rule_trainer_gui.py │   │   ├── rule_trainer_interactive.py │   │   └── rule_trainer_widget.py │   ├── juzi │   │   ├── icons │   │   │   ├── file_000000007978620ab9d2f348a2d62a7f-9db60022-3243-4e66-acda-80f38ba5248b.png │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── __init__.py │   │   ├── juzi_engine.py │   │   ├── juzi.py │   │   ├── juzi.xml │   │   └── manifest.json │   ├── language_bridge │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── __init__.py │   │   ├── language_bridge.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   └── module.py │   ├── logbook │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── __init__.py │   │   ├── logbook_manager.py │   │   ├── logbook.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   └── __pycache__ │   │   ├── __init__.cpython-313.pyc │   │   └── logbook.cpython-313.pyc │   ├── model_engine │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── model_engine.py │   │   ├── module.py │   │   └── __pycache__ │   │   ├── __init__.cpython-313.pyc │   │   ├── model_engine.cpython-313.pyc │   │   └── module.cpython-313.pyc │   ├── music_manager │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   ├── music_manager.py │   │   └── __pycache__ │   │   ├── __init__.cpython-313.pyc │   │   ├── module.cpython-313.pyc │   │   └── music_manager.cpython-313.pyc │   ├── __pycache__ │   │   └── __init__.cpython-313.pyc │   ├── reply_dispatcher │   │   ├── dispatcher.py │   │   ├── __init__.py │   │   ├── manifest.json │   │   └── register_actions.py │   ├── self_learning_module │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   └── self_learning_module.py │   ├── smart_demo_module │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   └── smart_demo_module.py │   ├── speech_manager │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   ├── __pycache__ │   │   │   ├── __init__.cpython-313.pyc │   │   │   └── module.cpython-313.pyc │   │   └── speech_manager.py │   ├── stt_module │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   └── stt_module.py │   ├── system_control │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   ├── __pycache__ │   │   │   ├── __init__.cpython-313.pyc │   │   │   └── module.cpython-313.pyc │   │   └── system_control.py │   ├── system_monitor │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   ├── __pycache__ │   │   │   ├── __init__.cpython-313.pyc │   │   │   ├── module.cpython-313.pyc │   │   │   └── system_monitor.cpython-313.pyc │   │   └── system_monitor.py │   ├── test_module │   │   ├── 1 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   └── test_module.py │   ├── voice_entry │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── module.py │   │   └── voice_entry.py │   ├── voice_input │   │   ├── 2 │   │   │   ├── __init__.py │   │   │   └── manifest.json │   │   ├── __init__.py │   │   ├── manifest.json │   │   ├── manifest.json.bak │   │   ├── module.py │   │   └── voice_input.py │   └── wake_word_detector │   ├── 1 │   │   ├── __init__.py │   │   └── manifest.json │   ├── download_whisper_model.py │   ├── __init__.py │   ├── manifest.json │   ├── manifest.json.bak │   ├── module.py │   └── wake_word_detector.py ├── module_standardizer.py ├── mysterious_entry_tool.py ├── ollama_bin │   ├── __init__.py │   └── ollama ├── ollama_data │   ├── history │   ├── id_ed25519 │   ├── id_ed25519.pub │   └── __init__.py ├── ollama_models │   ├── blobs │   │   ├── __init__.py │   │   ├── sha256-3f8eb4da87fa7a3c9da615036b0dc418d31fef2a30b115ff33562588b32c691d │   │   ├── sha256-4fa551d4f938f68b8c1e6afa9d28befb70e3f33f75d0753248d530364aeea40f │   │   ├── sha256-577073ffcc6ce95b9981eacc77d1039568639e5638e83044994560d9ef82ce1b │   │   ├── sha256-6a0746a1ec1aef3e7ec53868f220ff6e389f6f8ef87a01d77c96807de94ca2aa │   │   └── sha256-8ab4849b038cf0abc5b1c9b8ee1443dca6b93a045c2272180d985126eb40bf6f │   ├── __init__.py │   └── manifests │   ├── __init__.py │   └── registry.ollama.ai │   ├── __init__.py │   └── library ├── README.md ├── recordings │   └── __init__.py ├── register_entries.sh ├── replace_imports.py ├── replace_logging.py ├── restructure_dirs.sh ├── rollback_snapshots │   ├── backup │   │   ├── backup_20250629_215816_94cd3d │   │   │   ├── code_executor.py │   │   │   ├── code_inserter.py │   │   │   ├── code_reader.py │   │   │   ├── code_reviewer.py │   │   │   ├── format_manager.py │   │   │   ├── hello_module.py │   │   │   ├── __init__.py │   │   │   ├── logbook.py │   │   │   ├── model_engine.py │   │   │   ├── music_manager.py │   │   │   ├── speech_manager.py │   │   │   ├── system_control.py │   │   │   └── system_monitor.py │   │   └── __init__.py │   ├── __init__.py │   ├── rollback_history.json │   ├── snapshot_20250629_215118_795f59e1 │   │   ├── code_executor.py │   │   ├── code_inserter.py │   │   ├── code_reader.py │   │   ├── code_reviewer.py │   │   ├── format_manager.py │   │   ├── hello_module.py │   │   ├── __init__.py │   │   ├── logbook.py │   │   ├── model_engine.py │   │   ├── music_manager.py │   │   ├── speech_manager.py │   │   ├── system_control.py │   │   └── system_monitor.py │   ├── snapshot_20250629_215407_65d62c0e │   │   ├── code_executor.py │   │   ├── code_inserter.py │   │   ├── code_reader.py │   │   ├── code_reviewer.py │   │   ├── format_manager.py │   │   ├── hello_module.py │   │   ├── __init__.py │   │   ├── logbook.py │   │   ├── model_engine.py │   │   ├── music_manager.py │   │   ├── speech_manager.py │   │   ├── system_control.py │   │   └── system_monitor.py │   └── snapshot_20250629_215816_c3d93551 │   ├── code_executor.py │   ├── code_inserter.py │   ├── code_reader.py │   ├── code_reviewer.py │   ├── format_manager.py │   ├── hello_module.py │   ├── __init__.py │   ├── logbook.py │   ├── model_engine.py │   ├── music_manager.py │   ├── speech_manager.py │   ├── system_control.py │   └── system_monitor.py ├── rule_trainer.py ├── run_all_entries.py ├── runtime │   ├── __init__.py │   ├── logs │   │   └── __init__.py │   ├── recordings │   │   └── __init__.py │   └── temp │   └── __init__.py ├── sanhua_self_healer.py ├── scaffold │   ├── fix_all_imports.py │   ├── health_checker.py │   ├── __init__.py │   └── standardize_modules.py ├── scan_old_imports.py ├── start_ollama.sh ├── startup_fix.py ├── system.log ├── test_mic.py ├── tests │   ├── __init__.py │   ├── test_aicore.py │   ├── test_entry_dispatcher.py │   └── test_modules_loading.py ├── test.wav ├── third_party │   ├── __init__.py │   └── ollama │   └── __init__.py ├── tools │   ├── cert_fix_tool.py │   ├── config_validator.py │   ├── import_checker.py │   └── path_dependency_checker.py ├── trace_memory_summary_calls.py ├── update_entry_points.py ├── utils │   └── __init__.py └── venv ├── bin │   ├── activate │   ├── activate.csh │   ├── activate.fish │   ├── Activate.ps1 │   ├── bandit │   ├── bandit-baseline │   ├── bandit-config-generator │   ├── flake8 │   ├── futurize │   ├── markdown-it │   ├── pasteurize │   ├── pbr │   ├── pip │   ├── pip3 │   ├── pip3.11 │   ├── pycodestyle │   ├── pyflakes │   ├── pygmentize │   ├── python -> python3.11 │   ├── python3 -> python3.11 │   ├── python3.11 -> /usr/bin/python3.11 │   ├── radon │   └── watchmedo ├── include │   └── python3.11 ├── lib │   └── python3.11 │   └── site-packages ├── lib64 -> lib ├── pyvenv.cfg └── share └── man └── man1 159 directories, 624 files lufei@fedora:~/文档/聚核助手2.0$
最新发布
07-22
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值