Skip to content

View PDF and Jump to PDF fail to fail gracefully on Windows #51

@badge

Description

@badge

I've been rooting around in the LaTeXTools package (wanting to implement TeXCount.pl), and discovered that, on Windows, when a non-.tex file is in the open view, the View PDF and Jump to PDF commands fail to warn the user as expected. Instead, the following is printed to the console:

Traceback (most recent call last):
File ".\sublime_plugin.py", line 339, in run_
File ".\viewPDF.py", line 15, in run
AttributeError: 'View' object has no attribute 'fileName'

Sadly my lack of knowledge of Windows (usually on *nix!) and Python (usually in Perl!) make me unable to work out what's going on.

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