Inkscape stopped importing eps from command line - svg

Maybe it was with an earlier version of inkscape, but I used to be able to convert eps files to pdf files from the command line.
Eg. I'd type
inkscape test.eps --export-pdf=test.pdf
And then my file would convert into a pdf, no problems. A few system updates and whatever else later, I now get the error.
%!PS-Adobe-3.0 EPSF-3.0
^
** (inkscape:3654): WARNING **: Specified document taylor.eps cannot be opened (does not exist or not a valid SVG file)
Any suggestions for how I might be able to get things up and working again?
Inkscape --version
Inkscape 0.48.4 r9939 (Jan 22 2014)
uname -a
Linux MyMachineName 4.4.0-75-generic #96~14.04.1-Ubuntu SMP Thu Apr 20 11:06:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

This will definitely work
inkscape test.eps --export-pdf=test.pdf --without -gui

Related

Cannot install Anaconda on mac

first, I tried command
./Miniconda3-latest-MacOSX-x86_64.sh
and it reports that
line 296:
/data/keeling/a/xinyix3/miniconda/pkgs/python-3.6.0-0/bin/python:
cannot execute binary file ERROR: cannot execute native osx-64 binary,
output from 'uname -a' is: Linux keeling.earth.illinois.edu
2.6.32-642.3.1.el6.x86_64 #1 SMP Tue Jul 12 11:25:51 CDT 2016 x86_64 x86_64 x86_64 GNU/Linux
I am really new to Linux. Is there any suggestions of failure of installation?
You seem to be running the wrong binary/script for Miniconda. Use the Miniconda3-latest-Linux-x86_64.sh script if you're on linux, not the OSX one.

Font are not displayed in Idea

After updating jrk7-openjdk and jre7-openjdk fonts don't displaying from the Idea. Reinstalling the packages openjdk and idea didn't help.
uname -a:
Linux ftp27host 3.14.6-1-ARCH #1 SMP PREEMPT Sun Jun 8 10:08:38 CEST 2014 x86_64 GNU/Linux
Thanks, user3745346. I had the same problem with Idea ultimate under ArchLinux. Fixed by changing line
-Dawt.useSystemAAFontSettings=lcd
to
-Dawt.useSystemAAFontSettings=on
in the IDEA_HOME/bin/idea64.vmoptions
I had the same problem with phpstorm (it's based on idea). I've found a solution by adding:
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on'
to my /usr/bin/phpstorm.sh
The file is now:
#!/bin/sh
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on'
cd /usr/share/phpstorm/bin/
./phpstorm.sh "$#"
I think it will be the same with idea.

Cannot execute binary file on Ubuntu ./webupdater

I have downloaded "precompiled sample for GTK2" from here http://wxcode.sourceforge.net/components/webupdate/ on Ubuntu machine.
I extracted this, and it creates a folders "simple/v1.0.0" which contains executable file "webupdater".
When I run this command on terminal s5#s5-desktop:~/ble/simple/v1.0.0$ ./webupdater
-bash: ./webupdater: cannot execute binary file
it says can not execute binary file.
configuration of Ubuntu machine is given below.
s5#s5-desktop:~$ uname -a
Linux s5-desktop 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:15:33 UTC 2013 i686 i686 i386 GNU/Linux
Please help, Why this problem is coming.
Thanks and Regards
Brajesh...
Are you running a 32 or 64 bit Ubuntu ? - check tha with the command :
uname -m
EG: "x86_64" is 64 bit, and "i686" is 32 bit.
Run the file command to see what the executable is :
file /bin/ls
These threads discuss this -
http://ubuntuforums.org/showthread.php?t=1919786
https://askubuntu.com/questions/359156/how-do-you-run-a-32-bit-program-on-a-64-bit-version-of-ubuntu
I am in Ubuntu 14.10, which no longer has ia32-libs, which used to fix this.
I have yet to find a solution to running a binary that is not installed.
In my case I am going to have to look at compiling the app on my system, and I will try and feed back to the original developer...
There can be many reasons:
Check the file permissions, do chmod 777 webupdater and then try executing again,
Check the type of file by executing file webupdater and compare it with your system uname -r , ie wether both are 32-bit, 64-bit or not. the file webupdater output can give you more information.
When I executed file webupdater, it gives output given below
s5#s5-desktop:~/ble/simple/v1.0.0$ file webupdater
webupdater: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
and Ubuntu system is 32bit
thanks,
Brajesh...

make: can't find /usr/include/linux/ext3_fs.h

When I try to compile one of my old program which uses ext3 structure with new Fedora 16
I get the message
# make
Compile main.c In file included from main.c:8:0:
giis.h:18:28: fatal error: linux/ext3_fs.h: No such file or directory
compilation terminated.
I did yum install kernel-devel and kernel-headers - but still it gives above message.
# uname -a
Linux space 3.2.9-2.fc16.x86_64 #1 SMP Mon Mar 5 20:55:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
The linux kernel does not export a header called ext3_fs.h, or does not do so anymore. Edit your giis.h to do without it. See commit v2.6.25-rc8~52: “Neither of the headers actually compiles when included from userpsace nor should it be made available as userspace tools should be using the libraries or at least headers from e2fsprogs.”

libstdc++.so.6: cannot handle TLS data

I have an application compiled at:
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Linux debian 2.6.18-5-686 #1 SMP Fri Jun 1 00:47:00 UTC 2007 i686 GNU/Linux
and it runs well.
Now I want to run it at:
Linux 2.4.20_mvlcge31-tomas #7 Thu May 7 11:33:21 CEST 2009 i686 unknown
I got following errors:
libstdc++.so.6: cannot handle TLS data
From the web I saw someone suggested to do this: export LD_ASSUME_KERNEL=2.2.5
I tried but get even more errors:
ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
Who can help me with it? thanks
You had compiled the application against much newer libc and kernel version, You can't compile program on 2.6 with newest libc and expect it to run on old kernel.
Also where do you actually still use Linux 2.4?

Resources