Skip to content

Failed to installed parts library #6

@skoroneos

Description

@skoroneos

Greetings
After doing a pip install (python 2.7.15, ubuntu 16.04) i tried to do an import to see if the parts file would be autogenerated and got this message

Python 2.7.17 (default, Jul 20 2020, 15:37:01)
[GCC 7.5.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from ldraw.library.colours import *
retrieve the complete.zip from ldraw.org ...
unzipping the complete.zip ...
mklist...
Traceback (most recent call last):
File "", line 1, in
File "/home/stelios/.local/lib/python2.7/site-packages/ldraw/init.py", line 139, in load_module
generated_library_path = try_download_generate_lib()
File "/home/stelios/.local/lib/python2.7/site-packages/ldraw/init.py", line 75, in try_download_generate_lib
library_gen_main(parts_lst_path, data_dir)
File "/home/stelios/.local/lib/python2.7/site-packages/ldraw/library_gen.py", line 37, in library_gen_main
shutil.copy('ldraw-license.txt', os.path.join(library_path, 'license.txt'))
File "/usr/lib/python2.7/shutil.py", line 139, in copy
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 96, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: 'ldraw-license.txt'

any idea what is the problem ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions