Skip to content

Error when copy_output_on_build has possibly missing extension #1501

@ssnl

Description

@ssnl

I have

	"output_directory": "<<cache>>",

	"copy_output_on_build": [".pdf", ".bbl"],

While this work fine in most cases. This fails when I do not use bibliography, due to error like the following

Traceback (most recent call last):
  File "/Users/XXX/Library/Application Support/Sublime Text 3/Packages/LaTeXTools/makePDF.py", line 914, in do_finish
    os.path.dirname(self.file_name)
  File "./python3.3/shutil.py", line 243, in copy2
  File "./python3.3/shutil.py", line 109, in copyfile
FileNotFoundError: [Errno 2] No such file or directory: '/Users/XXX/Library/Application Support/Sublime Text 3/Cache/LaTeXTools/b8acb1db173b965fd340f12d48db8ff3/YYY.bbl'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions