Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

volos

Anfänger

  • »volos« ist der Autor dieses Themas

Beiträge: 4

Wohnort: Vinnitsa Ukraine

Beruf: system administrator

  • Nachricht senden

1

Freitag, 3. August 2012, 13:52

kmakemultires ERROR: unable to create file /home/mostinf/krpano/test.tiles

Hello,

I use kmakemultires based on Linux OS and when I run it I get an error. It has been ran from the user and root, but no results.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
mostinf@most-inform.com [~/krpano]# ./kmakemultires /home/mostinf/krpano/test.jpg

kmakemultires 1.0.8.12 - 64bit (build 2010-11-24)

processing - test (SPHERE to CUBE)

converting image to cube format...
loading inputimage ...
done. (input imagesize 8000x4000)
making cube files... 6x2546x2546
making left...  test_tempcube033309_l.tif
making front... test_tempcube033309_f.tif
making right... test_tempcube033309_r.tif
making back...  test_tempcube033309_b.tif
making up...	test_tempcube033309_u.tif
making down...  test_tempcube033309_d.tif
done.  

inputfiles: (6x2546x2546)
	left: test_tempcube033309_l.tif
   front: test_tempcube033309_f.tif
   right: test_tempcube033309_r.tif
	back: test_tempcube033309_b.tif
  	up: test_tempcube033309_u.tif
	down: test_tempcube033309_d.tif
outputfiles:
 preview: test.tiles/preview.jpg
   tiles: test.tiles
parameters:
 -tilesize=728 (automatic)
 -levels=2 - 2546x2546, 1273x1273

generate:
making tiles: test.tiles - 4x4 (16) tiles
ERROR: unable to create file /home/mostinf/krpano/test.tiles


The system version and account settings.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
mostinf@most-inform.com [~/krpano]# uname -a
Linux node.most-inform.com 2.6.32-220.23.1.el6.x86_64 #1 SMP Mon Jun 18 18:58:52 BST 2012 x86_64 x86_64 x86_64 GNU/Linux
mostinf@most-inform.com [~/krpano]# 
mostinf@most-inform.com [~/krpano]# cat /etc/redhat-release 
CentOS release 6.3 (Final)
mostinf@most-inform.com [~/krpano]# ulimit -a
core file size      	(blocks, -c) 0
data seg size       	(kbytes, -d) unlimited
scheduling priority         	(-e) 0
file size           	(blocks, -f) unlimited
pending signals             	(-i) 46677
max locked memory   	(kbytes, -l) 64
max memory size     	(kbytes, -m) unlimited
open files                  	(-n) 8192
pipe size        	(512 bytes, -p) 8
POSIX message queues 	(bytes, -q) 819200
real-time priority          	(-r) 0
stack size          	(kbytes, -s) 10240
cpu time           	(seconds, -t) unlimited
max user processes          	(-u) 1024
virtual memory      	(kbytes, -v) unlimited
file locks                  	(-x) unlimited
mostinf@most-inform.com [~/krpano]# 
mostinf@most-inform.com [~/krpano]# df -h
Файловая система  	Разм  Исп  Дост  Исп% смонтирована на
/dev/vda3         	106G   52G   50G  51% /
tmpfs             	2,9G 	0  2,9G   0% /dev/shm


The resolving of the issue has been advised in the following tasks (here), but it was not fixed.

pleas help me/

Beiträge: 1 850

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Sonntag, 5. August 2012, 20:34

Running a quota?
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

volos

Anfänger

  • »volos« ist der Autor dieses Themas

Beiträge: 4

Wohnort: Vinnitsa Ukraine

Beruf: system administrator

  • Nachricht senden

3

Dienstag, 7. August 2012, 20:05

Hello,

Sorry, I don't understand your response.
The quota for this user is normal and diskspace is not overused. By the way I ran an application from root and such problems won't take place

Beiträge: 1 850

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

4

Mittwoch, 8. August 2012, 19:51

Does the same command work on your windows system? I see you're not using a config file.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

volos

Anfänger

  • »volos« ist der Autor dieses Themas

Beiträge: 4

Wohnort: Vinnitsa Ukraine

Beruf: system administrator

  • Nachricht senden

5

Donnerstag, 9. August 2012, 18:19

On the current server Linux is being used only, I don't have server with Windows. Regarding the config, it is available, please see below

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
root@node [/home/mostinf/krpano]# ls -la
итого 7116
drwxr-xr-x  2 mostinf mostinf    4096 Авг  7 20:53 ./
drwx--x--x 61 mostinf mostinf    4096 Авг  9 10:40 ../
-rwxr-xr-x  1 mostinf mostinf 1024520 Ноя 24  2010 kmakemultires*
-rw-r--r--  1 mostinf mostinf    9309 Авг  3 11:50 kmakemultires.config
-rw-r--r--  1 mostinf mostinf    1128 Авг  2 16:54 krpano.license
-rw-r--r--  1 mostinf mostinf    1041 Авг  2 17:45 krpanotools.license
-rw-r--r--  1 mostinf mostinf 6227098 Авг  2 11:25 test.jpg
root@node [/home/mostinf/krpano]# 
root@node [/home/mostinf/krpano]# 
root@node [/home/mostinf/krpano]# cat kmakemultires.config 
# kmakemultires.config
#
# kmakemultires 1.0 - default config file
# krpano tools 1.0.6 - krpano.com
# min. krpano version: 1.0.6
#
#
# USAGE:
#
# - edit it
# or 
# - make a copy of it, modify it, remove default/unwanted tags,
#   and pass/drop the modified file together with the panorama images.
#   first the default confif file will be parsed and the the passed one,
#   the parameters from the passed config file overwrite the default ones.
#
#
# NOTE for commandline usage
# - all parameters can also be set direct on command line 
# - this parameter overwrite the default settings defined here
# - syntax:  "-parameter=value"
# - e.g:  "kmakemultires -tilesize=512 -levels=3 *.tif"
#
#
# NOTES for filepaths:
# 
# placeholder %INPUTPATH%:
# - this is path of the inputfile(s)
# - it can be used to generate the output at the same path
#
# placeholder %BASENAME%:
# - this is the basic name of a panorama with out filepath,
# - it will be generated for the input filename,  without extenstion and 
#   without the cube side suffixes
# - if it is not possible to generate the basename from the input file,
#   a the name 'pano0000' is used, where '0000' is a sequential number
#



# tilepath
# - path for the multiresolution tiles
# - use the placeholder %INPUTPATH% for path of the input images
# - use the placeholder %BASENAME% for the basename of the panorama
#
tilepath=%INPUTPATH%/%BASENAME%.tiles


# preview
# - generate a preview image
# - true or false
#
preview=true          


# cspreview
# - generate a cubestrip preview image
# - better quality for zenith/nadir views
# - possible settings:
#   - true  => always cubestrip preview image
#   - false => always spherical preview image
#
cspreview=true


# previewsmooth
# - smooth preview image
# - 0-100 (higher values are smoother)
#
previewsmooth=77


# previewpath
# - path for the preview image
# - use the placeholder %INPUTPATH% for path of the input images
# - use the placeholder %BASENAME% for the basename of the panorama
#
previewpath=%INPUTPATH%/%BASENAME%.tiles/preview.jpg


# tilesize
# - size of the image tiles
# - should be around 512 and 1024 (state: krpano version 1.0.6) 
# - use 'auto' to find automatically the best
#
tilesize=auto


# levels
# - number of multiresolution levels to generate
# - use 'auto' to find automatically the best
# - the number of the automaic levels depends on
#   the image size of the panorama and the on the 
#   'minsize' and 'maxsize' settings
#
levels=auto


# levelstep
# - each multiresolution level will be reduced by 'levelstep'
# - examples: 
#    levelstep=2
#      level1=10000x5000
#      level2=5000x2500   (=10000/2, =5000/2)
#      level3=2500x1250   (=5000/2,  =2500/2)
#    levelstep=2.5
#      level1=10000x5000
#      level2=4000x2000   (=10000/2.5  =5000/2.5)
#      level3=1600x800    (=4000/2.5, =2000/2.5)		
# - default=2
#
levelstep=2


# minsize
# - minimum size for multiresolution levels
#   (for spherical panorama images this is the height)
# - when levels=auto it will automatically generate
#   levels down to this side
# - use 'auto' to find automatically the best for typical fullscreen panoramas
#
minsize=auto


# maxsize
# - maximum size for multiresolution levels
#   (for spherical panorama images this is the height)
# - if the size of the source panorama image is higher then 
#   this -> it will be downsampled to this size
# - use 'auto' for the size of the source image
#
maxsize=auto


# xml
# - generate a xml file (true or false)
# - it uses the 'xmltemplate' file to generate the a xml for the panorama
#
xml=false


# xmlpath
# - path of the xml to generate
# - use the placeholder %INPUTPATH% for path of the input images
# - use the placeholder %BASENAME% for the basename of the panorama
#
xmlpath=%INPUTPATH%/%BASENAME%.xml


# xmltemplate
# - template file for the xml
# - there are 2 placeholders in the xml file:
#   [PREVIEW] - for the preview tag
#   [IMAGE]   - for the image tag
#   they will be replaced with the generated xml code for the panorama
#
# some templates:
#
# default template with default settings:
#xmltemplate=kmakemultires.xmltemplates/default.xml
#
# template with options and editor plugins included:
#xmltemplate=kmakemultires.xmltemplates/with_plugins.xml
#
# template without fisheye effect: (current default)
xmltemplate=kmakemultires.xmltemplates/without_fisheye.xml


# xmltemplate_additional_file
# - additional files of the xmltemplate (plugins, lensflares, include files ...)
# - can be used more than once
# - this files will be copied to the panorama directory
# - the paths are made realtive to the .xml file
#
#
# addtional files for the with_plugins.xml template:
#
#xmltemplate_additional_file=kmakemultires.xmltemplates/krpano_default_flares.jpg
#xmltemplate_additional_file=kmakemultires.xmltemplates/plugins/options.swf
#xmltemplate_additional_file=kmakemultires.xmltemplates/plugins/editor.swf


# copyswf
# - copy the krpano.swf to the panorama folder
#
copyswf=false


# krpanoswf
# - path to the krpano.swf file
# - only needed when using copyswf=true or renamedswf=true
#
krpanoswf=kmakemultires.krpano/krpano.swf


# renamedswf
# - copy and rename the krpano.swf to the same name as the xml file
# - this allowes starting the viewer by just clicking the swf file
# - copyswf must be also set to true
# 
# - NOTE - using this is not recommended!
#   - this makes updating for future krpano.swf versions laborious!
#     (each swf file must be updated separately)
#   - the htmltemplate was not adjusted for the renamed swf file
#   - and the license file must copyied/renamed for every panorama!
#   - should be only used for offline testing!
#
renamedswf=false


# html
# - generate a html file (true or false)
# - it uses the 'htmltemplate' file to generate the a html file for the panorama
# - this is only possible when xml is also set to true
#
html=false


# htmlpath
# - path of the generated html
# - use the placeholder %INPUTPATH% for path of the input images
# - use the placeholder %BASENAME% for the basename of the panorama
#
htmlpath=%INPUTPATH%/%BASENAME%.html


# htmltemplate
# - template file for the html
# - there is 1 placeholders in the html file:
#   [XML] - for the path to the xml file
#
htmltemplate=kmakemultires.htmltemplates/fullscreen.html


# htmltemplate_additional_file
# - additional files of the htmltemplate
# - can be used more than once
# - this files will be copied to the panorama directory
# - the paths are made realtive to the htmltemplate .html file
#
htmltemplate_additional_file=kmakemultires.htmltemplates/swfobject/swfobject.js
htmltemplate_additional_file=kmakemultires.htmltemplates/swfobject/swfkrpanomousewheel.js
htmltemplate_additional_file=kmakemultires.htmltemplates/swfobject/expressinstall.swf


# indexbase
# - numbering start of the tiles
#
indexbase=1


# filter
# - downsample filter for lower multiresolution levels
# - possible filters:
#   - POINT    = simple point filtering (bad quality)
#   - LINEAR   = linear filtering (better, but still bad quality)
#   - CUBIC    = cubic filtering (soft, some loss of details)
#   - HAMMING  = hamming filter (good, only a little loss of details)
#   - GAUSS    = gaussion filtering (good, only a little loss of details)
#   - MITCHELL = mitchell filtering (good quality for upsampling)
#   - LANCZOS  = windowed sinc filter (best quality, keeps the most details)
#
filter=LANCZOS


# postprocess (NOT IMPLEMENTED YET)
# - postprocess tiles after resizing and before saving as jpeg
# - possible commands (commands can be separated with ';')
#   - unsharpmask(strength) - one pixel radius unsharp mask, strength=0-500
#
postprocess=unsharpmask(33);


# jpegquality
# - jpeg compression quality for the image tiles
# - possible values:
#   - 1-100 ... 1=worst, 100=best qualitiy
#   - auto  ... depending on the resolution it tries to find automatically 
#               the best setting (NOT IMPLEMENTED YET)
#
jpegquality=85


# jpegsubsamp
# - jpeg color subsampling to reduce file size
# - more informations: http://en.wikipedia.org/wiki/Chroma_subsampling
# - possible values:
#   444 = no color subsampling (best quality)
#   422 = horizontal (1/2) color subsampling
#   420 = horizontal (1/2) and vertical (1/2) color subsampling (normally the jpeg default)
#   411 = horizontal (1/4) and vertical (1/2) color subsampling (best compression)
#   auto = try to select automaticly the best (NOT IMPLEMENTED YET)
#
jpegsubsamp=420


# jpegoptimize
# - optimize jpeg huffman compression
# - should be always on
# - but this needs more processing memory
# - if memory usage is critical it should be disabled
#
jpegoptimize=true


# manualjpegcompression
# - manual jpeg compression
# - instead of saving jpegs, lossless tiffs are saved
# - these tiffs must be manually converted to jpegs 
#
manualjpegcompression=false


# quiet
# - no console output, process silently
# - only errors are shown
#
quiet=false


# waitkey
# - wait for keypress after processing
#
waitkey=false

6

Freitag, 10. August 2012, 16:42

Hi,

your config file is too old:

Quellcode

1
min. krpano version: 1.0.6


in the old versions the tilepath was only setting the path/folder of the tiles:

Quellcode

1
tilepath=%INPUTPATH%/ºSENAME%.tiles


but in the new tools versions also the tile filename itself need to be set:

Quellcode

1
tilepath=%INPUTPATH%/%BASENAME%.tiles/l%Al[_c]_%Av_%Ah.jpg


and this missing file template is the problem here

best regards,
Klaus

volos

Anfänger

  • »volos« ist der Autor dieses Themas

Beiträge: 4

Wohnort: Vinnitsa Ukraine

Beruf: system administrator

  • Nachricht senden

7

Freitag, 10. August 2012, 16:59

Thank you, everything works fine. Thanks for your help


Kowabunga!!! *smile*