You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, February 1st 2011, 12:00am

Linux commando problem

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

Quoted


./kmakemultires test.jpg


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

Quoted

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

Quoted

./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

Tuesday, February 1st 2011, 11:34am

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

Tuesday, February 1st 2011, 4:34pm

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.

Quoted

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

Sage

Posts: 3,784

Location: Netherlands

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

  • Send private message

4

Tuesday, February 1st 2011, 5:31pm

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

maybe there is the problem in this case

Tuur *thumbsup*

5

Thursday, February 3rd 2011, 3:59pm

Hi,

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

Quoted

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

Ariel

Beginner

Posts: 45

Location: Argentina

  • Send private message

6

Thursday, September 12th 2013, 5:17pm

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

Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

7

Thursday, September 12th 2013, 5:28pm

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

Ariel

Beginner

Posts: 45

Location: Argentina

  • Send private message

8

Thursday, September 12th 2013, 7:05pm

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

This post has been edited 1 times, last edit by "Ariel" (Sep 13th 2013, 7:36pm)


Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

9

Thursday, September 12th 2013, 10:12pm

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

This post has been edited 1 times, last edit by "sachagriffin" (Sep 13th 2013, 8:00pm)


Ariel

Beginner

Posts: 45

Location: Argentina

  • Send private message

10

Friday, September 13th 2013, 4:25pm

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

This post has been edited 1 times, last edit by "Ariel" (Sep 13th 2013, 7:35pm)


Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

11

Friday, September 13th 2013, 6:17pm

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

Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

12

Saturday, September 14th 2013, 2:33am

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

Similar threads