Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: having problem with TSP!
giorgiodid-
on
Newbie
Posts: 12
Permalink
Post having problem with TSP!
on: March 4, 2012, 17:24
Quote

hi all, i'm hving problems with TSP:
i've installed everything following evilmad wiki instruction, but if i run linkern.ee from c: root it says it cannot found cygwin1.dll (i installed cygwin packet from here: http://cygwin.com/ running setup.exe)
any help!?
thank you giorgio

ps i'm under windows xp

giorgiodid-
on
Newbie
Posts: 12
Permalink
Post Re: having problem with TSP!
on: March 4, 2012, 18:17
Quote

UPDATE!
i placed linkern.exe directly in the cygwin/bin dir and give --solver position the result is :

C:\Program Files\Inkscape>python\python C:\tspart.py --solver=c:\cygwin\bin\ C:\
dida1.pbm
Loading bitmap file C:\dida1.pbm ... done; 22293 stipples
Writing TSP solver input file C:\dida1.ol4o_b.tsp ... done
Running TSP solver ...
Traceback (most recent call last):
File "C:\tspart.py", line 253, in <module>
pipe = subprocess.Popen( cmd, shell=use_shell )
File "C:\Program Files\Inkscape\python\lib\subprocess.py", line 633, in __init
__
errread, errwrite)
File "C:\Program Files\Inkscape\python\lib\subprocess.py", line 842, in _execu
te_child
startupinfo)
WindowsError: [Error 5] Accesso negato

C:\Program Files\Inkscape>

after this i founded some file in c root and opened one in the concorde ui shell... now is computing!

SnyperBob
Beginner
Posts: 42
Permalink
Post Re: having problem with TSP!
on: March 5, 2012, 14:20
Quote

Glad you figured it out! Took me forever to get it going, so much fun. Let me know if you have any questions

SnyperBob
Beginner
Posts: 42
Permalink
Post Re: having problem with TSP!
on: March 5, 2012, 14:25
Quote

What was the name of the file in your C root directory that was generated? Was it a *.tsp file?

Did you get a *.svg file generated too, or just the TSP file?

giorgiodid-
on
Newbie
Posts: 12
Permalink
Post Re: having problem with TSP!
on: March 6, 2012, 15:56
Quote

mmmh... just tsp files, no svg file... thanks for answer!
any suggestion?
do you know why lounching tspart.py i had so many errors!?
any help is usefull!!
thanks

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: having problem with TSP!
on: March 6, 2012, 20:13
Quote

Do the links on http://code.google.com/p/polargraph/wiki/TspVectorArtOnPolargraph shed any light on this (specifically http://www.evilmadscientist.com/forum/viewtopic.php?showtopic=4728)?

giorgiodid-
on
Newbie
Posts: 12
Permalink
Post Re: having problem with TSP!
on: March 7, 2012, 13:28
Quote

hi, i've tryed everything but nothing! the only things i had are tsp files and the errors reported in my second post.
tested all on windows xp and windows7...
about the errors, the last 2 words are "accesso negato" read "access denied" (i'm from italy!), but i changed properties of inkscape folder so everyone can read write and also placed all tsp pyton files in c:\tsp\ ...
any other idea?
thank you all for your time!
giorgio

SnyperBob
Beginner
Posts: 42
Permalink
Post Re: having problem with TSP!
on: March 9, 2012, 22:12
Quote

Copy your TSP python files to your root C directory. Ie... C:\

Switch over to C:\Program Files\Inkscape directory first.

Try running this command, without the extra parameters that you were running before:

C:\Program Files\Inkscape>python\python C:\tspart.py C:\dida1.pbm

If you still get access errors, that has to be some Windows access issue or something like that. Try running that command and see what you get.

giorgiodid-
on
Newbie
Posts: 12
Permalink
Post Re: having problem with TSP!
on: March 10, 2012, 17:40
Quote

hi all
the problem was in linkern.exe path (--solver...) look here:
http://www.evilmadscientist.com/forum/viewtopic.php?showtopic=4728&lastpost=true#5618
thank you all
giorgio

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: having problem with TSP!
on: March 10, 2012, 17:52
Quote

Aha! Thanks for updating us Giorgio, I had got stuck on that too (using the path instead of the path+filename for linkern), but assumed I was doing something _else_ wrong!

sn

SnyperBob
Beginner
Posts: 42
Permalink
Post Re: having problem with TSP!
on: March 12, 2012, 04:03
Quote

Wow, that's kind of freaky seeing your posts in that thread Sandy from January. I came upon TSP on my own, and it still amazes me when life throws a coincidence like that at you 🙂

I really like your liberty picture posted in that thread!

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.062 seconds.