DB add machine problem

Bug #335159 reported by Alex Stoppel
2
Affects Status Importance Assigned to Milestone
Ubuntu Update Server
Fix Released
Undecided
Benjamin Wilbur

Bug Description

Traceback (most recent call last):
  File "/home/alex/CS/seniorproject/devel/multiUbuntuUpdateServer.py", line 288, in <module>
    if __name__ == '__main__': main()
  File "/home/alex/CS/seniorproject/devel/multiUbuntuUpdateServer.py", line 265, in main
    b.addMachine("BenLaptop", "10.24.46.220")
  File "/home/alex/CS/seniorproject/devel/multiUbuntuUpdateServer.py", line 56, in addMachine
    machID = self.dbConn.addMachine(clientName,clientMac,HOST)
  File "/home/alex/CS/seniorproject/devel/uusDBConnector.py", line 26, in addMachine
    machine_id,trash = self.helper.getMachine(machine_name=machine_name)[0]
ValueError: too many values to unpack
>>>

Alex Stoppel (stopal01)
Changed in luther-ubuntu-update-server:
assignee: nobody → wilburb-wilburweb
status: New → Confirmed
Revision history for this message
Benjamin Wilbur (wilburb-wilburweb) wrote :

Due to the added parameters returned by the function getting machine too many values were being returned hence giving us the unpacking error. This has since been fixed and has been released.

Changed in luther-ubuntu-update-server:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.