[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lb build TypeError



When I try to run ‘lb build’ it chugs through all the processes until it tries to perform the shutil.copy. Then it spits out the below message and stops running:


----

[2014-08-07 22:22:30] lb chroot_install-packages live

P: Begin installing packages (live pass)...

[2014-08-07 22:22:30] lb chroot-includes 

[2014-08-07 22:22:30] lb chroot-hooks 

Traceback (most recent call last):

  File "/usr/lib/live/build/chroot-hooks", line 108, in <module>

    main()

  File "/usr/lib/live/build/chroot-hooks", line 87, in main

    shutil.copy(hook, os.path.join('chroot/live-build/' + os.path.basename(hook)), follow_symlinks=True)

TypeError: copy() got an unexpected keyword argument 'follow_symlinks'

P: Begin unmounting filesystems...

P: Saving caches...

Reading package lists...

Building dependency tree...

Reading state information...

dando@demon:~/live-default$

----


I have tried a few things including install the latest live-build from git and updating python to 3.2 as live-build 4 requires python >= 3.2 and verified chroot-hooks is executing with 3.2, but to no avail. Internet searches have not revealed much other than it was mentioned on this list prior but without a resolution that I could find.


Cheers!

Zed


Reply to: