Skip to content

在 studio 使用 project-hub 模板配置时报错: name 'show_banner' is not defined #323

@hodlagent

Description

@hodlagent

studio 卡在 25%了:
Image

终端报错如下:

INFO     Restored admin password hash in network.yaml                                           
           INFO     Scheduling full network restart with template configuration...                         
           INFO     127.0.0.1 [25/Mar/2026:17:23:12 +0800] "POST /api/network/initialize/template HTTP/1.1"
                    200 576 "http://localhost:8700/studio/onboarding" "Mozilla/5.0 (Macintosh; Intel Mac OS
                    X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36"      
[17:23:13] INFO     Starting network restart...                                                            
           INFO     Shutting down current network...                                                       
           INFO     Stopping AgentManager...                                                               
           INFO     AgentManager stopped successfully                                                      
           ERROR    Failed to shutdown agent network: name 'show_banner' is not defined                    
           ERROR    Failed to shutdown network                                                             
           ERROR    Network restart failed for template 'project-hub'                                      
           INFO     127.0.0.1 [25/Mar/2026:17:23:13 +0800] "GET /api/health HTTP/1.1" 200 7896             
                    "http://localhost:8700/studio/onboarding" "Mozilla/5.0 (Macintosh; Intel Mac OS X      
                    10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36"        
           INFO     Shutting down network...                                                               
           ERROR    Failed to shutdown agent network: name 'show_banner' is not defined                    
           INFO     Network shutdown complete                                                              
╭─────────────────────────────────────── ⚠️  Network Startup Error ───────────────────────────────────────╮
│ ❌ Network failed to start                                                                              │
│                                                                                                         │
│ The network encountered an error during startup.                                                        │
│                                                                                                         │
│ 💡 Common issues & solutions:                                                                           │
│ 1️⃣  Config error: Verify your configuration file exists and is valid                                    │
│ 2️⃣  Permission issue: Check if you have permission to bind to the port                                  │
│ 3️⃣  More details: Run with --verbose flag                                                               │
│ 4️⃣  Error details: Failed to shutdown agent network: name 'show_banner' is not defined                  │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Error in sys.excepthook:

Original exception was:
(base) jerin@bogon ~ % 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions