inkscape 0.46 + windows + uniconverter + cdr
inkscape 0.46 + windows + uniconverter + cdr
Hello.
Under ubuntu 8.04 import cdr work perfect.
But under windows i can`t find instruction how to force it work. Please help me.
Under ubuntu 8.04 import cdr work perfect.
But under windows i can`t find instruction how to force it work. Please help me.
Re: inkscape 0.46 + windows + uniconverter + cdr
It doesn't work under Windows in Inkscape 0.46. But it should be possible to make it work.
First you need to install UniConvertor (and the Python Image Library) in Inkscape's own copy of Python. That's a bit awkward, as UniConvertor's own installer won't do it (at least, not without some registry hacking). But someone has posted a 7-zip archive of all the necessary files here: https://bugs.launchpad.net/inkscape/+bug/197617/comments/8 - this should be unzipped into Inkscape's Python directory. Add the Python scripts directory to the system path.
Then you'll need uniconv-ext.py and an updated version of cdr_input.inx. Put them in your Inkscape extensions directory (probably C:\Program Files\Inkscape\share\extensions). You also need to change the line
<dependency type="executable" location="path">uniconv</dependency>
in cdr_input.inx to
<dependency type="executable" location="path">uniconv.cmd</dependency>
Then I think it should work.
First you need to install UniConvertor (and the Python Image Library) in Inkscape's own copy of Python. That's a bit awkward, as UniConvertor's own installer won't do it (at least, not without some registry hacking). But someone has posted a 7-zip archive of all the necessary files here: https://bugs.launchpad.net/inkscape/+bug/197617/comments/8 - this should be unzipped into Inkscape's Python directory. Add the Python scripts directory to the system path.
Then you'll need uniconv-ext.py and an updated version of cdr_input.inx. Put them in your Inkscape extensions directory (probably C:\Program Files\Inkscape\share\extensions). You also need to change the line
<dependency type="executable" location="path">uniconv</dependency>
in cdr_input.inx to
<dependency type="executable" location="path">uniconv.cmd</dependency>
Then I think it should work.
Re: inkscape 0.46 + windows + uniconverter + cdr
sas wrote:It doesn't work under Windows in Inkscape 0.46. But it should be possible to make it work.
First you need to install UniConvertor (and the Python Image Library) in Inkscape's own copy of Python. That's a bit awkward, as UniConvertor's own installer won't do it (at least, not without some registry hacking). But someone has posted a 7-zip archive of all the necessary files here: https://bugs.launchpad.net/inkscape/+bug/197617/comments/8 - this should be unzipped into Inkscape's Python directory. Add the Python scripts directory to the system path.
Then you'll need uniconv-ext.py and an updated version of cdr_input.inx. Put them in your Inkscape extensions directory (probably C:\Program Files\Inkscape\share\extensions). You also need to change the line
<dependency type="executable" location="path">uniconv</dependency>
in cdr_input.inx to
<dependency type="executable" location="path">uniconv.cmd</dependency>
Then I think it should work.
mmm... not work. "Failed to load the requested file C:\1.cdr".
in begin of uniconv-ext.py - i add test lines, which create test txt file.
"python uniconv-ext.py c:\1.txt" - create test file, and return svg file in COUT.
but when i open .cdr in inkscape - test txt file not create. uniconv-ext.py - not start.
Maybe problem in cdr_input.inx or somewhere. Any ideas?
Re: inkscape 0.46 + windows + uniconverter + cdr
The namespace binding in the .inx file may be a problem - this was added a few days ago, and I don't think it's compatible with 0.46. So remove the namespace declaration
xmlns="http://www.inkscape.org/namespace/inkscape/extension"
from cdr_input.inx and restart Inkscape. Does that work?
xmlns="http://www.inkscape.org/namespace/inkscape/extension"
from cdr_input.inx and restart Inkscape. Does that work?
Re: inkscape 0.46 + windows + uniconverter + cdr
Big thanks. It works!!!!
. If file in root disk, example "c:\1.cdr" - it open without problem.
If file in directory with spaces in path - example - C:\Documents and Settings\Admin\Desktop\1.cdr - ERROR: C:\Documents file is not found!
solve: open C:\Program Files\Inkscape\python\Scripts\uniconv.cmd and
replace
on
SAS, big respect ))

If file in directory with spaces in path - example - C:\Documents and Settings\Admin\Desktop\1.cdr - ERROR: C:\Documents file is not found!
solve: open C:\Program Files\Inkscape\python\Scripts\uniconv.cmd and
replace
Code: Select all
@python -c "import uniconvertor" "%1" "%2"
on
Code: Select all
@python -c "import uniconvertor" %1 %2
SAS, big respect ))
Re: inkscape 0.46 + windows + uniconverter + cdr
nooby wrote:Big thanks. It works!!!!. If file in root disk, example "c:\1.cdr" - it open without problem.
If file in directory with spaces in path - example - C:\Documents and Settings\Admin\Desktop\1.cdr - ERROR: C:\Documents file is not found!
solve: open C:\Program Files\Inkscape\python\Scripts\uniconv.cmd and
replaceCode: Select all
@python -c "import uniconvertor" "%1" "%2"
onCode: Select all
@python -c "import uniconvertor" %1 %2
SAS, big respect ))
Sorry, but I have some problem with UniConvertor. I made all that You told about and UniConverter is not functionally. I have Win XP.
Re: inkscape 0.46 + windows + uniconverter + cdr
You will need to provide more information if you want us to have a chance of working out what's wrong. How exactly does it fail? Does UniConvertor work on the command line?
Re: inkscape 0.46 + windows + uniconverter + cdr
sas wrote:You will need to provide more information if you want us to have a chance of working out what's wrong. How exactly does it fail? Does UniConvertor work on the command line?
The UiCinvertor does not start. Inkscape can not load the cdr.files. I can not run "uniconv --help". If you have some tips, ideas, help me, please. The UniConvertor is a most comlicated application.
Re: inkscape 0.46 + windows + uniconverter + cdr
p72 wrote:I can not run "uniconv --help".
If you mean that you get the message "'uniconv' is not recognized as an internal or external command, operable program or batch file" (or something similar), then you need to add the directory where uniconv.cmd is installed (probably C:\Program Files\Inkscape\python\Scripts) to the system path.
Re: inkscape 0.46 + windows + uniconverter + cdr
sas wrote:p72 wrote:I can not run "uniconv --help".
If you mean that you get the message "'uniconv' is not recognized as an internal or external command, operable program or batch file" (or something similar), then you need to add the directory where uniconv.cmd is installed (probably C:\Program Files\Inkscape\python\Scripts) to the system path.
System path is ok, I have that done. I don´t get any message about "uniconv". In inkscape I get message that program" can´t load c: .cdr file ".
Re: inkscape 0.46 + windows + uniconverter + cdr
Hi, I'm trying import CDR files, i do exactely what it writen above, he recognized the CDR files, but give me an error that " RUN TIME ERROR - This apllication has requested the runtime to terminate it in an unusual way.
please contact the apllications support team for more information...."
And after the Inkscape automaticaly close...
Cau U Help me Please
Regards
please contact the apllications support team for more information...."
And after the Inkscape automaticaly close...
Cau U Help me Please
Regards
Re: inkscape 0.46 + windows + uniconverter + cdr
sas wrote:p72 wrote:I can not run "uniconv --help".
If you mean that you get the message "'uniconv' is not recognized as an internal or external command, operable program or batch file" (or something similar), then you need to add the directory where uniconv.cmd is installed (probably C:\Program Files\Inkscape\python\Scripts) to the system path.
How add direcroty to the system path?
I creat test.cmd file to c:\Program Files\Inscape\test.cmd with text:
python\python.exe share\extensions\uniconv-ext.py c:\1.cdr
pause
I have error code:
C:\Program Files\Inkscape>python\python.exe share\extensions\uniconv-ext.py c:\1
.cdr c:\2.svg
UniConvertor failed: 'uniconv' is not recognized as an internal or external comm
and,
operable program or batch file.
C:\Program Files\Inkscape>pause
Re: inkscape 0.46 + windows + uniconverter + cdr
sas wrote:p72 wrote:I can not run "uniconv --help".
If you mean that you get the message "'uniconv' is not recognized as an internal or external command, operable program or batch file" (or something similar), then you need to add the directory where uniconv.cmd is installed (probably C:\Program Files\Inkscape\python\Scripts) to the system path.
I have the directory in system path, but "uniconv" not run....Command line write this same text: "'uniconv is not recognized as an internal or external command, operable program or batch file".
This same is, when i go directly to directory where is "uniconv.cmd".....I have Win Vista 64-bit...It may be problem here?
And sorry for my english...it's not my strong side... I hope, it was understandable...