You are not logged in.

globule22

Trainee

  • "globule22" started this thread

Posts: 57

Location: Rennes, France

  • Send private message

1

Wednesday, June 2nd 2010, 12:08pm

Kmakemultires 1.0.8.10 error

Hi Klaus,

I have a 55Gb Giga panorama which i want to be tiled.

I start in terminal calling Kmakemultires with parameters. After telling it the configuration of my panorama, it starts creating the tiles for level 7: l7_%0v_%0h.jpg

But i get an error

Source code

1
ERROR: unable to create file /xxx/xxx/xxx/pano.tiles/l7_01_253.jpg



Any idea?

Thanks

Regards

2

Wednesday, June 2nd 2010, 12:41pm

Hi,

on what system you are? (Mac?)
what tilesize do you use and what are the image dimensions?
(enough disk space?)

best regards,
Klaus

globule22

Trainee

  • "globule22" started this thread

Posts: 57

Location: Rennes, France

  • Send private message

3

Wednesday, June 2nd 2010, 2:44pm

I am on a Mac 10.6.3 Snow Leopard

The panorama is on a separated hard drive, kmakemultires too.

The hard drive is 1.31 To available.

The size of the picture is 233059*59652 px ; and the tilesize is automaticlly by 780px

Maybe it is a swap file problem? like i had on this thread: kmakemultires 1.0.8 bug with High gigapixel panorama

Regards

4

Wednesday, June 2nd 2010, 2:55pm

Hi,

on Mac the number of files that are opened at the same time by one program is limited by default (I think to 256), and a program can't change that limit by itself,

the kmaketiles tool is writing all tiles for one row at the same time,
that means for a 233.059 pixel wide image a minimum of 299 (=233059/780) files will be needed,
and this is more than the limited 256 files,

you can increase this 256 files limit in the terminal by the ulimit command,
e.g. to increase the limit to 1000 files:

Source code

1
ulimit -n 1000


than it should work,

best regards,
Klaus

globule22

Trainee

  • "globule22" started this thread

Posts: 57

Location: Rennes, France

  • Send private message

5

Wednesday, June 2nd 2010, 3:01pm

Nice Klaus,

Genration start well ! just need to wait a little ;)

Regards

6

Friday, October 1st 2010, 11:57am

hi, i have the same problem on both windows and linux. kmakemultires makes a preview.jpg alright and crashes.

Quoted

kmakemultires 1.0.8.11 (build 2010-05-31)

processing - project (SPHERE)
inputfile:
image: project.jpg (25000x12500)
outputfiles:
xml: project.xml
preview: project.tiles/preview.jpg
tiles: project.tiles
parameters:
-xmltemplate=panoonly.xml
-tilesize=625 (automatic)
-levels=4 - 25000x12500, 12500x6250, 6250x3125, 3125x1563

generate:
making preview...
making tiles: project.tiles - 40x20 (800) tiles
ERROR: unable to create file /storage/virttours/gigapan/jpeg/project.tiles


on linux i tried

Quoted

ulimit -n 2000

but that wouldn't help. i also moved the krpano tools and the panoramic image to another hard drive where there is a lot of free space - no change.

7

Friday, October 1st 2010, 12:59pm

Hi,

that must be a different problem,
in your case there's just 40 files / row, that shouldn't be that problem,

does the tool has the rights/permissions to write to that folder?

best regards,
Klaus

8

Friday, October 1st 2010, 5:12pm

i guess it has, because it successfully creates the folder project.tiles and the file preview.jpg inside