No file created when saving .png as a pdf

Asked by Matthew Polk on 2018-02-01

When saving a .png as a pdf no file is created. This has worked for me in the past with this version on this machine. Inkscape 0.92.2 (5c3e80d, 2017-08-06), Windows 10 with all updates
Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Hachmann
Solved:
2018-02-04
Last query:
2018-02-04
Last reply:
2018-02-04
Hachmann (marenhachmann) said : #1

Can you describe a little more which steps you are taking and which options you select?

Matthew Polk (mpolk) said : #2

Hachmann -

I have tried this with both .png and .svg files.

Open file>Save as>select file type: pdf>enter filename>Save>pdf dialog opens as below>OK

When I check the folder no file has been created. I’ve tried several different settings in the pdf dialog with the same result.

This is the first time I’ve used this feature in about 6 months. It used to work perfectly.

Thanks

-matthew polk

[cid:image001.png@01D39B97.DAAB4220]

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Hachmann
Sent: Thursday, February 1, 2018 4:47 PM
To: Matthew Polk <email address hidden>
Subject: Re: [Question #663972]: No file created when saving .png as a pdf

Your question #663972 on Inkscape changed:

https://answers.launchpad.net/inkscape/+question/663972

    Status: Open => Needs information

Hachmann requested more information:

Can you describe a little more which steps you are taking and which options you select?

--

To answer this request for more information, you can either reply to this email or enter your reply at the following page:

https://answers.launchpad.net/inkscape/+question/663972

You received this question notification because you asked the question.

Hachmann (marenhachmann) said : #3

Can you repeat the procedure while running Inkscape from the command line, and then let us know about the error messages you get? (use inkscape.com)

Can you also copy the contents of your extension-errors.log file? (find it in your user preferences directory)

I'm especially interested in anything that has to do with ghostscript.

Email attachments do not work here, please either copy the messages you get into your answer, or upload a text file somewhere and link to it here (same goes for screenshots - I cannot see it here).

Also, when you answer, make sure to not have your email address included in your answer's text, it's publicly visible here:
https://answers.launchpad.net/inkscape/+question/663972
(you can hide the post if you want to, it describes the normal way to create a pdf image).

Matthew Polk (mpolk) said : #4

Two questions:
How do I open a command line?
Where would I find the User Preference Folder?
Thanks

Hachmann (marenhachmann) said : #5

Q1:

Open a command prompt (cmd.exe, https://www.howtogeek.com/235101/10-ways-to-open-the-command-prompt-in-windows-10/) and navigate to the folder containing the Inkscape executables, e.g. enter

cd C:\Program Files\Inkscape

(you may need to replace 'Program Files' by the name of the directory where your Inkscape executable is saved)

Then run the command "inkscape.com" and check if any warnings/errors are printed to the console.

Q2:

In Inkscape, see Edit > Preferences > System: User config

Matthew Polk (mpolk) said : #6

Running from the command line the program opens but I get this message:

FontLister : : get_best_style_match() : can't find family: Bitstream Vera Sans

Error log is below.
Thanks for the help on this!
-matthew polk

Extension "Dia Input" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: dia
  description: In order to import Dia files, Dia itself must be installed. You can get Dia at http://live.gnome.org/Dia

Extension "DXF Output" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: pstoedit
  description: pstoedit must be installed to run; see http://www.pstoedit.net/pstoedit

Extension "EPS Input" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: ps2pdf

Extension "LaTeX" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: latex

Extension "LaTeX" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: dvips

Extension "LaTeX" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: pstoedit

Extension "XFIG Input" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: fig2dev

Extension "GIMP XCF" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: gimp

Extension "PostScript Input" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: ps2pdf

Extension "Sketch Input" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: path
  string: skconvert

Hachmann (marenhachmann) said : #7

Thank you. The extensions log doesn't give anything unexpected.

Unfortunately, I think my instructions for the command line were not entirely clear :-/
I'm sorry.

Can you also please do a pdf export while running Inkscape from the command line, and then copy-paste the error messages here?

Matthew Polk (mpolk) said : #8

I created a new svg file and running from the command line successfully created a pdf but it was saved in this directory which took a while to find
C:\Users\Matthew Polk\AppData\Local\VirtualStore\Program Files (x86)\Inkscape

So, I tried opening the program and using the same svg file it worked. A pdf was created, this time in the proper directory.

I then tried the program with one of the old svg files that failed previously and that now works correctly also. The file is created in the proper directory exactly as expected.

I'm sorry to waste your time and mine on this. It definitely didn't work but now it does. There have been quite a few updates to Windows 10 in the last several days which may have created the problem and then fixed it. That's my best guess.

If there's any more information I can provide I'm happy to help.
Thanks
-matthew polk

Best Hachmann (marenhachmann) said : #9

No problem, I'm glad the issue is now solved for you. At least you've learnt a bit about the command line, and also about how to find the preferences. That's useful knowledge, so it wasn't a waste of time :)

I'm afraid it's going to be impossible to find out more about the original issue, now that it works, so let's mark this as solved now.

Matthew Polk (mpolk) said : #10

I haven't used command lines much since DOS and UNIX.
Thanks
-msp

Matthew Polk (mpolk) said : #11

Thanks Hachmann, that solved my question.