CD2021 40823139

  • Home
    • Site Map
    • reveal
    • blog
  • Stage-1
    • 最終結果
    • 問題檢討
      • 最佳化設計
      • 模擬的碰撞問題
      • 機構模型過於理想
      • 時間裕度
    • week2
    • week3
    • week4
  • Stage-2
    • week6
    • week7
    • week8
    • week9
  • Stage-3
    • 模型簡化
    • W16 exam
    • W13~W14
      • 翻譯
      • Pick and Place
    • task1
      • 獲得正確順序(沒嵌入網站)
      • 嵌入網站
    • task2
    • task3
  • 機器人學
    • 正向運動學
    • 逆向運動學
  • Program
    • 基礎Python
      • package-example
      • geometry
      • funtion-args
      • funtion-basic
      • loop-basic
      • loop-control
      • module
      • number-string
      • set-dictionary
      • start
      • datatype
      • condition
      • list-tuple
  • About
  • 學期總結
  • CMSiMDE
    • 基本操作
      • 編輯網頁內容
      • 上傳與引用檔案
      • 上傳與引用圖片
      • 嵌入程式碼
      • 嵌入影片檔
      • 檢視 STL
    • Gitlab 同步
    • Heroku 部署
    • Fossil SCM
  • 建立網頁
  • 網站錯誤
    • 標題選擇
    • 靜態網頁 404
    • 動態網站錯誤
    • 出現ValueError
  • 延伸開發
動態網站錯誤 << Previous Next >> 延伸開發

出現ValueError

當網站出現ValueError可能是因為generate pages時發生錯誤(如網頁轉換至一半,隨身碟拔除、跳掉),所以在config下的html無法正確轉換出網頁,因此content.html會是空的(可打開編輯器做確認),若此時近端的config有備份的html,可在確認版次與內容無誤後直接修復,但記得名稱是content.htm,不是content_backup.html(備份的html),若備份的html內容有誤,則需從遠端倉儲抓上個版次的!


動態網站錯誤 << Previous Next >> 延伸開發

Copyright © All rights reserved | This template is made with by Colorlib