project-alice-assistant / ProjectAlice

Main repository of Project Alice, contains main unit source code
GNU General Public License v3.0
695 stars 62 forks source link

[AUTO BUG REPORT] AttributeError: 'NoneType' object has no attribute 'deviceUid' #610

Closed LazzaAU closed 2 years ago

LazzaAU commented 2 years ago
[CommonsManager]                    --Initializing--
[StateManager]                      --Initializing--
[SubprocessManager]                 --Initializing--
[ConfigManager]                     --Initializing--
[ConfigManager]                     Checking Alice configuration file
[DatabaseManager]                   --Initializing--
[SkillManager]                      --Initializing--
[WidgetManager]                     --Initializing--
[DeviceManager]                     --Initializing--
[AudioManager]                      --Initializing--
[LanguageManager]                   --Initializing--
[LanguageManager]                   Active language set to **en-US**
[LanguageManager]                   Default language set to **en-US**
[ASRManager]                        --Initializing--
[TTSManager]                        --Initializing--
[ThreadManager]                     --Initializing--
[MqttManager]                       --Initializing--
[TimeManager]                       --Initializing--
[UserManager]                       --Initializing--
[MultiIntentManager]                --Initializing--
[TelemetryManager]                  --Initializing--
[LocationManager]                   --Initializing--
[InternetManager]                   --Initializing--
[WakewordRecorder]                  --Initializing--
[TalkManager]                       --Initializing--
[WebUIManager]                      --Initializing--
[ApiManager]                        --Initializing--
[NodeRedManager]                    --Initializing--
[SkillStoreManager]                 --Initializing--
[DialogTemplateManager]             --Initializing--
[AssistantManager]                  --Initializing--
[NluManager]                        --Initializing--
[AliceWatchManager]                 --Initializing--
[DialogManager]                     --Initializing--
[WakewordManager]                   --Initializing--
[WebUINotificationManager]          --Initializing--
[BugReportManager]                  Starting
[CommonsManager]                    Starting
[StateManager]                      Starting
[ThreadManager]                     Started new thread **subprocessManager**, thread count: 1
[ConfigManager]                     Starting
[LanguageManager]                   Starting
[WebUINotificationManager]          Starting
[LocationManager]                   Starting
[LocationManager]                   Loaded location **Home**
[LocationManager]                   Loaded location **Outside**
[LocationManager]                   Loaded location **Bedroom**
[LocationManager]                   Loaded location **Bathroom**
[LocationManager]                   Loaded location **Inside**
[LocationManager]                   Loaded location **Entrance**
[LocationManager]                   Loaded location **Lounge**
[LocationManager]                   Loaded location **Kitchen**
[LocationManager]                   Loaded location **StoreRoom**
[LocationManager]                   Loaded location **Ute**
[LocationManager]                   Loaded **10** locations
[AudioManager]                      Starting
[AudioManager]                      Using **seeed-4mic-voicecard: bcm2835-i2s-ac10x-codec0 ac10x-codec.1-003b-0 (hw:1,0)** for audio input
[AudioManager]                      Using **bcm2835 Headphones: - (hw:0,0)** for audio output
[InternetManager]                   Starting
[ThreadManager]                     Started new thread **internetCheckThread**, thread count: 3
[DatabaseManager]                   Starting
[UserManager]                       Starting
[UserManager]                       Loaded **3** users
[MqttManager]                       Starting
[AliceWatchManager]                 Starting
[ApiManager]                        Starting
[ThreadManager]                     Started new thread **API**, thread count: 5
[ASRManager]                        Starting
[GoogleAsr]                         Checking dependencies
[GoogleAsr]                         Starting Google Asr
[DialogManager]                     Starting
[MultiIntentManager]                Starting
[SkillStoreManager]                 Starting
[TelemetryManager]                  Starting
[ThreadManager]                     Starting
[TimeManager]                       Starting
[TTSManager]                        Starting
[AmazonTts]                         Checking dependencies
[AmazonTts]                         Language from config: **en-GB**
[AmazonTts]                         Type from config: **male**
[AmazonTts]                         Voice from config: **Brian**
[WakewordManager]                   Starting
[SnipsWakeword]                     Checking dependencies
[SnipsWakeword]                     Starting **Snips hotword**
[SubprocessManager]                 Starting the subprocess SnipsHotword
[WebUIManager]                      Starting
[WebUIManager]                      Started nginx server
[ThreadManager]                     Started new thread **DisplayResourceUsage**, thread count: 6
[TalkManager]                       Starting
[NluManager]                        Starting
[SkillManager]                      Starting
[SkillManager]                      Checking for skill updates
[SkillManager]                      ![yellow](AliceCore) - Version 1.5.25 < 1.5.26 in rc
[SkillManager]                      ![red](Skill **AliceDevTools**) is not available on Github. Deprecated or is it a dev skill?
[SkillManager]                      ![green](AliceVolume) - Version 1.0.14 in rc
[SkillManager]                      ![green](BackUpAlice) - Version 1.1.10 in rc
[SkillManager]                      ![green](ContextSensitive) - Version 1.0.33 in rc
[SkillManager]                      ![green](DateDayTimeYear) - Version 1.1.3 in rc
[SkillManager]                      ![green](HLCpattern) - Version 1.1.4 in rc
[SkillManager]                      ![blue](HomeAssistant) - Version 3.1.8 in rc - Locked for local changes!
[SkillManager]                      ![blue](RedQueen) - Version 1.0.40 in rc - Locked for local changes!
[SkillManager]                      ![green](Reminder) - Version 1.2.4 in rc
[SkillManager]                      ![green](Telegram) - Version 1.5.4 in rc
[SkillManager]                      ![green](Telemetry) - Version 1.3.5 in rc
[SkillManager]                      ![red](Skill **WaterTankLevel**) is not available on Github. Deprecated or is it a dev skill?
[SkillManager]                      Found 1 skill update
[SkillManager]                      Now updating skill **AliceCore**
[ConfigManager]                     Checking configuration for skill **AliceCore**
[SkillManager]                      Updated skill **AliceCore** to version **1.5.26**
[ConfigManager]                     Checking configuration for skill **AliceCore**
[ConfigManager]                     Checking configuration for skill **AliceDevTools**
[ConfigManager]                     Checking configuration for skill **AliceVolume**
[ConfigManager]                     Checking configuration for skill **BackUpAlice**
[ConfigManager]                     Checking configuration for skill **ContextSensitive**
[ConfigManager]                     Checking configuration for skill **DateDayTimeYear**
[ConfigManager]                     Checking configuration for skill **HLCpattern**
[ConfigManager]                     Checking configuration for skill **HomeAssistant**
[ConfigManager]                     Checking configuration for skill **RedQueen**
[ConfigManager]                     Checking configuration for skill **Reminder**
[ConfigManager]                     Checking configuration for skill **Telegram**
[ConfigManager]                     Checking configuration for skill **Telemetry**
[ConfigManager]                     Checking configuration for skill **WaterTankLevel**
[AliceCore]                         Starting
[AliceCore]                         Found **2** device type
[AliceCore]                         ![green](Started!)
[AliceDevTools]                     Starting
[AliceDevTools]                     ![green](Started!)
[AliceVolume]                       Starting
[AliceVolume]                       ![green](Started!)
[BackUpAlice]                       Starting
[BackUpAlice]                       ![green](Started!)
[ContextSensitive]                  Starting
[ContextSensitive]                  ![green](Started!)
[DateDayTimeYear]                   Starting
[DateDayTimeYear]                   Found **2** widgets
[DateDayTimeYear]                   ![green](No widget config template for widget type Clock found)
[DateDayTimeYear]                   ![green](No widget config template for widget type Date found)
[DateDayTimeYear]                   ![green](Started!)
[HLCpattern]                        Starting
[HLCpattern]                        ![green](Started!)
[HomeAssistant]                     Starting
[HomeAssistant]                     Found **10** device type
[HomeAssistant]                     ![green](Started!)
[RedQueen]                          Starting
[RedQueen]                          ![green](Started!)
[RedQueen]                          Found existing Red Queen identity
[Reminder]                          Starting
[Reminder]                          ![green](Started!)
[Reminder]                          Doing database maintenance
[Reminder]                          Checking for active timers in MyReminders database
[Reminder]                          Checking for active timers in MyTimer database
[Reminder]                          Checking for active timers in MyAlarm database
[Telegram]                          Starting
[Telegram]                          ![green](Started!)
[Telegram]                          Loaded 1 user
[Telemetry]                         Starting
[Telemetry]                         ![green](Started!)
[WaterTankLevel]                    Starting
[WaterTankLevel]                    ![green](Started!)
[SkillManager]                      Skills started. 60 intents supported
[DeviceManager]                     Starting
[DeviceManager]                     Loaded **59** device instance
[WidgetManager]                     Starting
[WidgetManager]                     Loaded **2** pages
[WidgetManager]                     Loaded **2** templates from 1 skill
[WidgetManager]                     Loaded 1 active widget
[DialogTemplateManager]             Starting
[AssistantManager]                  Starting
[AssistantManager]                  Checking assistant
[AssistantManager]                  Assistant seems consistent
[DialogTemplateManager]             Checking data for skill **AliceCore**
[DialogTemplateManager]             Checking data for skill **AliceDevTools**
[DialogTemplateManager]             Checking data for skill **AliceVolume**
[DialogTemplateManager]             Checking data for skill **BackUpAlice**
[DialogTemplateManager]             Checking data for skill **ContextSensitive**
[DialogTemplateManager]             Checking data for skill **DateDayTimeYear**
[DialogTemplateManager]             Checking data for skill **HLCpattern**
[DialogTemplateManager]             Checking data for skill **HomeAssistant**
[DialogTemplateManager]             Checking data for skill **RedQueen**
[DialogTemplateManager]             Checking data for skill **Reminder**
[DialogTemplateManager]             Checking data for skill **Telegram**
[DialogTemplateManager]             Checking data for skill **Telemetry**
[DialogTemplateManager]             Checking data for skill **WaterTankLevel**
[DialogTemplateManager]             Cache uptodate
[NodeRedManager]                    Starting
[AudioManager]                      Starting audio publisher
[ThreadManager]                     Started new thread **audioPublisher**, thread count: 11
[ThreadManager]                     Started new thread **checkHeartbeats**, thread count: 13
[ThreadManager]                     Started new thread **heartBeatThread-1639945853**, thread count: 13
[HomeAssistant]                     HomeAssistant Connected
[HomeAssistant]                     Sending Heartbeat connection requests
[DeviceManager]                     Device named **240 power** in the StoreRoom connected
[DeviceManager]                     Device named **diesel heater on** in the StoreRoom connected
[DeviceManager]                     Device named **laptop charger** in the StoreRoom connected
[DeviceManager]                     Device named **ute power** in the StoreRoom connected
[DeviceManager]                     Device named **pillow light** in the StoreRoom connected
[DeviceManager]                     Device named **main light** in the StoreRoom connected
[DeviceManager]                     Device named **entrance light** in the StoreRoom connected
[DeviceManager]                     Device named **rainwatervalve** in the StoreRoom connected
[DeviceManager]                     Device named **external light** in the StoreRoom connected
[DeviceManager]                     Device named **pillow light** in the StoreRoom connected
[DeviceManager]                     Device named **awning light** in the StoreRoom connected
[DeviceManager]                     Device named **couch light** in the StoreRoom connected
[DeviceManager]                     Device named **window light** in the StoreRoom connected
[DeviceManager]                     Device named **witi** in the StoreRoom connected
[DeviceManager]                     Device named **sink light** in the StoreRoom connected
[DeviceManager]                     Device named **awning light** in the StoreRoom connected
[DeviceManager]                     Device named **window light** in the StoreRoom connected
[DeviceManager]                     Device named **couch light** in the StoreRoom connected
[DeviceManager]                     Device named **round lights** in the StoreRoom connected
[DeviceManager]                     Device named **toilet light** in the StoreRoom connected
[DeviceManager]                     Device named **mirror light** in the StoreRoom connected
[DeviceManager]                     Device named **external light** in the StoreRoom connected
[DeviceManager]                     Device named **kitchen lights** in the StoreRoom connected
[DeviceManager]                     Device named **bedroom lights** in the StoreRoom connected
[DeviceManager]                     Device named **bathroom lights** in the StoreRoom connected
[DeviceManager]                     Device named **lounge lights** in the StoreRoom connected
[DeviceManager]                     Device named **outside lights** in the StoreRoom connected
[DeviceManager]                     Device named **all main lights** in the StoreRoom connected
[DeviceManager]                     Device named **fridge fan** in the StoreRoom connected
[DeviceManager]                     Device named **heater state** in the StoreRoom connected
[DeviceManager]                     Device named **alarm** in the StoreRoom connected
[DeviceManager]                     Device named **people home** in the StoreRoom connected
[DeviceManager]                     Device named **awning switch - on is open** in the StoreRoom connected
[DeviceManager]                     Device named **rain water hose connected** in the StoreRoom connected
[DeviceManager]                     Device named **rain water low level** in the StoreRoom connected
[DeviceManager]                     Device named **rain water mid level** in the StoreRoom connected
[DeviceManager]                     Device named **rain water high level** in the StoreRoom connected
[DeviceManager]                     Device named **rain water pump running** in the StoreRoom connected
[DeviceManager]                     Device named **diesel heater off** in the StoreRoom connected
[DeviceManager]                     Device named **rain water pump** in the StoreRoom connected
[DeviceManager]                     Device named **rain water tank** in the StoreRoom connected
[DeviceManager]                     Device named **fresh water tank 1** in the StoreRoom connected
[DeviceManager]                     Device named **fresh water tank 2** in the StoreRoom connected
[DeviceManager]                     Device named **grey water tank 1** in the StoreRoom connected
[DeviceManager]                     Device named **toilet motion** in the StoreRoom connected
[DeviceManager]                     Device named **ute rear battery voltage** in the StoreRoom connected
[DeviceManager]                     Device named **ute rear battery current** in the StoreRoom connected
[DeviceManager]                     Device named **ute rear battery power** in the StoreRoom connected
[DeviceManager]                     Device named **inside temperature** in the StoreRoom connected
[DeviceManager]                     Device named **inside humidity** in the StoreRoom connected
[DeviceManager]                     Device named **inside dewpoint** in the StoreRoom connected
[DeviceManager]                     Device named **inside pressure** in the StoreRoom connected
[DeviceManager]                     Device named **inside gas** in the StoreRoom connected
[DeviceManager]                     Device named **outside temperature bme280 temperature** in the StoreRoom connected
[DeviceManager]                     Device named **outside temperature bme280 humidity** in the StoreRoom connected
[DeviceManager]                     Device named **outside temperature bme280 dewpoint** in the StoreRoom connected
[DeviceManager]                     Device named **outside temperature bme280 pressure** in the StoreRoom connected
[SnipsNlu]                          Starting Snips NLU
[SubprocessManager]                 Starting the subprocess SnipsNLU
[Project Alice]                     Started in 33.26 seconds
[AudioManager]                      Playing wav stream using **bcm2835 Headphones: - (hw:0,0)** audio output from device **Alice** (channels: 1, rate: 16000)
[AudioManager]                      Playing bytes finished
[Traceback]                         Traceback (most recent call last):
[Traceback]                           File "/home/pi/ProjectAlice/core/webApi/model/DialogApi.py", line 112, in continueDialog
[Traceback]                             session.deviceUid = deviceUid
[Traceback]                         AttributeError: 'NoneType' object has no attribute 'deviceUid'
[DialogApi]                         Failed processing: 'NoneType' object has no attribute 'deviceUid'
[DeviceManager]                     Device named **WebInterface** in the Home connected
[DeviceManager]                     Device with uid **a0fab3b7-761c-4271-9a40-d2c545204f53** disconnected
[Reminder]                          Checking for active timers in MyReminders database
[Reminder]                          Checking for active timers in MyTimer database
[Reminder]                          Checking for active timers in MyAlarm database
[Project Alice]                     Shutting down
[SkillManager]                      Stopping
[AliceCore]                         ![green](Stopped)
[AliceDevTools]                     ![green](Stopped)
[AliceVolume]                       ![green](Stopped)
[BackUpAlice]                       ![green](Stopped)
[ContextSensitive]                  ![green](Stopped)
[DateDayTimeYear]                   ![green](Stopped)
[HLCpattern]                        ![green](Stopped)
[HomeAssistant]                     ![green](Backing up dialog file)
[HomeAssistant]                     ![green](Stopped)
[RedQueen]                          ![green](Stopped)
[Reminder]                          ![green](Stopped)
[Telegram]                          ![green](Stopped)
[Telemetry]                         ![green](Stopped)
[WaterTankLevel]                    ![green](Stopped)
[AliceWatchManager]                 Stopping
[ApiManager]                        Stopping
[GoogleAsr]                         Stopping Google Asr
[DialogManager]                     Stopping
[MultiIntentManager]                Stopping
[SkillStoreManager]                 Stopping
[TelemetryManager]                  Stopping
[ThreadManager]                     Stopping
[TimeManager]                       Stopping
[TTSManager]                        Stopping
[WakewordManager]                   Stopping
[SnipsWakeword]                     Stopping **Snips hotword**
[WebUIManager]                      Stopping
[WebUIManager]                      Stopped nginx server
[ConfigManager]                     Stopping
[AudioManager]                      Stopping
[LanguageManager]                   Stopping
[LocationManager]                   Stopping
[DeviceManager]                     Stopping
[ThreadManager]                     Terminated thread **heartBeatThread-1639945853**, thread count: 8
[TalkManager]                       Stopping
[DatabaseManager]                   Stopping
[UserManager]                       Stopping
[WebUINotificationManager]          Stopping
[WidgetManager]                     Stopping
[DialogTemplateManager]             Stopping
[AssistantManager]                  Stopping
[NluManager]                        Stopping
[SnipsNlu]                          Stopping Snips NLU
[InternetManager]                   Stopping
[NodeRedManager]                    Stopping
[StateManager]                      Stopping
[SubprocessManager]                 Stopping
[MqttManager]                       Stopping
[BugReportManager]                  Stopping
LazzaAU commented 2 years ago

this was after asking a question in dialogview, reboot of alice seemed to of correct it