linuxmuster / linuxmuster-base7

Mangement scripts for linuxmuster.net V7
GNU General Public License v3.0
13 stars 8 forks source link

Multischool breaks linuxmuster-import-devices #123

Closed HappyBasher closed 3 years ago

HappyBasher commented 3 years ago

Following errors are thrown:

------------------------------------------------------------------------------
#### Working on dhcp configuration for devices                            ####
getDevicesArray() got an unexpected keyword argument 'school'
------------------------------------------------------------------------------
#### Working on linbo/grub configuration for devices:                     ####
Traceback (most recent call last):
  File "/usr/sbin/linuxmuster-import-devices", line 311, in <module>
    for device_array in getDevicesArray(fieldnrs='1,2,3,4,10', subnet='all', pxeflag='1,2,3', school=school):
TypeError: getDevicesArray() got an unexpected keyword argument 'school'
dorianim commented 3 years ago

I'll look into this. Is it already in master?

HappyBasher commented 3 years ago

Obviously.

dorianim commented 3 years ago

I cannot reproduce this on my testing system. Do you have a clean working tree? Can you please verify that the problem still exists after a git reset --hard?

HappyBasher commented 3 years ago

I tested the script standalone. Now I build a new package and the error is gone.