Sie sind nicht angemeldet.

1

Dienstag, 1. Februar 2011, 00:00

Linux commando problem

Hi!
I place myself in the folder where kmakemultires is and do

Zitat


./kmakemultires test.jpg


where test.jpg is the input file.
I get this error:

Zitat

"kmakemultires 1.0.8.12 (build 2010-11-24)
ERROR: no input images"
then i tried

Zitat

./kmakemultires -panotype=cylinder -hfov=360test.jpg
Both with and without sudo.
always the same error.
the folder has write permissions
What it can be?

Thank you in advance!!!
PS: de license is located in the same folder, just for in case.

2

Dienstag, 1. Februar 2011, 11:34

Hi,

is the test.jpg also in the same folder?

the message "no input images" means that the tool was not able to load any images, either the path was wrong or the image was defect or not supported,

best regards,
Klaus

3

Dienstag, 1. Februar 2011, 16:34

Hi!
Thank you for answering!
Yes, test.jpg its in the same folder.
Here is the test.jpg info:
13034 x 2427 píxels
72 x 72 ppp
Color RGB
1 layer
I've tried with *.tiff and *.png files but it's the same.

thank you!

PS: Maybe i don't have all program files in he folder?
Here is an "ls" answer.

Zitat

user@machine:~/Apps/krpanotools-1.0.8.12-linux-2010-11-24$ ls
kcube2sphere kmakepreview krpano.swf test3.tif
kencrypt kmaketiles krpanotools.license test.jpg
kmakemultires kprotectcl ktransform
kmakemultires.config krpano.license swfkrpano.js

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

4

Dienstag, 1. Februar 2011, 17:31

13034 x 2427 píxels is not a sphere..

maybe there is the problem in this case

Tuur *thumbsup*

5

Donnerstag, 3. Februar 2011, 15:59

Hi,

maybe try using a path for the image to make sure that it searches in the right folder:

Zitat

./kmakemultires ./test.jpg
best regards,
Klaus

6

Donnerstag, 12. September 2013, 17:17

Same Problem

Hello, I'm having the same problem, I need to create the pano on a server.
I'm running the commando through PHP code:

shell_exec('./kmakemultires ./templates/multires.config ./frey-04.tif')

This is the output I get:

kmakemultires 1.16.6 (build 2013-08-09)
- using config: multires.config
ERROR: no input images

frey-04.tif is in the same folder than kmakemultires

Can you help me please?
Thank you !
Ariel M.
Build and Customize your virtual tours with Spinattic
www.spinattic.com

My profile in Spinattic

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

7

Donnerstag, 12. September 2013, 17:28

try using the full system path to the input images.

Maybe is a permission problem on the tif.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

8

Donnerstag, 12. September 2013, 19:05

Thank you very much for your answer !

I've tried this:

shell_exec('./kmakemultires /home/mysite.com/material/frey-04.tif -config=./templates/vtour-multires.config')

but get the same output :(

the permissions to the file and the folder are set "777"

I tried with other tif s and same problem...

The weird thing is that the path to the vtour-multires.config file is ok and the application finds it

Any clue?

Thank you !!
Ariel M.
Build and Customize your virtual tours with Spinattic
www.spinattic.com

My profile in Spinattic

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Ariel« (13. September 2013, 19:36)


Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

9

Donnerstag, 12. September 2013, 22:12

Try

shell_exec('./kmakemultires ./templates/vtour-multires.config /home/spinattic/xxx/material/frey-04.tif');

could be kmakemultires is in your path and the working directory is the root of the website.

Make sure you "cwd" to the directory of kmakemultires first.

or make sure ./templates/vtour-multires.config is /home/wherever/your/config/really/is/templates/vtour-multires.config

try not to use relative paths.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »sachagriffin« (13. September 2013, 20:00)


10

Freitag, 13. September 2013, 16:25

Hello ! Thank you again for your answer !

I tried inverting the config file with the image file like you said but I get the same error

Then, I tried this:
shell_exec('cwd /home/mysite.com/material'); (here is where kmakemultires is located)
shell_exec('./kmakemultires ./templates/vtour-multires.config ./frey-04.tif');

But, same error...

Now... if I modify the config file path, I get another Error message:

ERROR: loading config "./templatess/vtour-multires.config" failed!

So I think the app is interpreting the path well.

I also tried moving the image file to template folder and do this:

shell_exec('./kmakemultires ./templates/vtour-multires.config ./templates/frey-04.tif');

But same error....

Is there any path inside the config file that can send this error?

I don't know what to do...
Thank you again !
Ariel M.
Build and Customize your virtual tours with Spinattic
www.spinattic.com

My profile in Spinattic

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Ariel« (13. September 2013, 19:35)


Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

11

Freitag, 13. September 2013, 18:17

What happens if you don't use relative paths like "./"
Another thing you can double check is to actually shell in and check it out on the command line. Shouldn't be necessary, But it may show unusual problems.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

12

Samstag, 14. September 2013, 02:33

kmakemultires for linux requires that the input image has an absolute file path. Don't ask me why.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Ähnliche Themen