Page 1 of 1

ERROR: cannot make vector [identified]

Posted: Sun Oct 24, 2010 5:26 pm
by CheeseRedux
It seems like poking into the logs is a popular activity these days, so I thought I'd jump on the bandwagon...

Lately, my logs are chock full of these kind of messages:

Code: Select all

[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
They appear in groups of varying size, from just 1 line to 80 in a row.

I'm fairly certain it's OXP related; I've tested with an empty AddOns folder, and there was nothing there. So before I engage in a major investigation, does anyone recognize this?

1.74.2, WinXP

Posted: Sun Oct 24, 2010 7:42 pm
by Mauiby de Fug
I got a bunch of these a while back, when I was downloading a whole host of various shipsets. I think it was shady_sungs ships, although I haven't actually tested this and may be remembering wrongly...

Posted: Sun Oct 24, 2010 7:53 pm
by Eric Walch
I think the answer is here. The values look like a colour definition in a shipdata. No idea which oxp though.

But a google scann for: "could not scan a float value site:https://bb.oolite.space/" gave some more links at this forum that I didn't all read.

Posted: Sun Oct 24, 2010 8:02 pm
by CheeseRedux
Just tested with nothing but Shady Sungs in AddOn Folder:

Code: Select all

[log.header]: Opening log for Oolite version 1.74.2 (x86-32 test release) under Windows at 2010-10-24 20:46:50 +0100.
2 processors detected.
Oolite options: procedural planet textures, docking clearance, wormhole scanner, target incoming missiles, spoken messages, JavaScript console support, OXP verifier, localization tools, debug GraphViz support.

Note that the contents of the log file can be adjusted by editing logcontrol.plist.

[joystickHandler.init]: Number of joysticks detected: 0
[display.mode.list.native]: Windows native resolution detected: 1280 x 800
[dataCache.rebuild.pathsChanged]: Cache is stale (search paths have changed). Rebuilding from scratch.
[searchPaths.dumpAll]: Unrestricted Mode - Resources paths:
    Resources
    ../AddOns
    ../AddOns/shady_sungs_v1.1.oxp
[rendering.opengl.version]: OpenGL renderer version: 2.0.5883 ("2.0.5883 WinXP Release")
Vendor: ATI Technologies Inc.
Renderer: ATI Mobility Radeon X1400 x86/SSE2
[rendering.opengl.extensions]: OpenGL extensions (94):
GL_EXT_abgr, GL_ARB_texture_env_crossbar, GL_S3_s3tc, GL_ATIX_texture_env_combine3, GL_ARB_shadow, GL_EXT_texture_edge_clamp, GL_EXT_separate_specular_color, GL_EXT_blend_minmax, GL_EXT_texture_object, GL_ARB_texture_env_add, GL_EXT_texture_cube_map, GL_EXT_texture_env_dot3, GL_ATI_vertex_attrib_array_object, GL_ARB_texture_env_dot3, GL_ARB_shadow_ambient, GL_EXT_framebuffer_object, GL_EXT_blend_subtract, GL_SGI_color_matrix, GL_ATI_texture_mirror_once, GL_ARB_multitexture, GL_EXT_stencil_wrap, GL_ARB_texture_border_clamp, GL_NV_occlusion_query, GL_ARB_texture_env_combine, GL_EXT_texgen_reflection, GL_SGIS_texture_edge_clamp, GL_EXT_packed_pixels, GL_EXT_texture_env_add, GL_SGIS_texture_lod, GL_ARB_depth_texture, GL_ARB_transpose_matrix, GL_ARB_occlusion_query, GL_NV_texgen_reflection, GL_ARB_shading_language_100, GL_ARB_fragment_program_shadow, GL_ATI_shader_texture_lod, WGL_EXT_extensions_string, GL_EXT_rescale_normal, GL_ATI_fragment_shader, GL_ATI_texture_float, GL_EXT_secondary_color, GL_SUN_multi_draw_arrays, GL_ARB_texture_mirrored_repeat, GL_EXT_draw_range_elements, GL_EXT_texture_lod_bias, GL_EXT_texture_filter_anisotropic, GL_ATIX_vertex_shader_output_point_size, WGL_EXT_swap_control, GL_SGIS_texture_border_clamp, GL_SGIS_generate_mipmap, GL_ARB_point_sprite, GL_EXT_texture_compression_s3tc, GL_ARB_vertex_shader, GL_ARB_vertex_buffer_object, GL_WIN_swap_hint, GL_ARB_shader_objects, GL_ARB_vertex_blend, GL_EXT_texture_mirror_clamp, GL_EXT_vertex_shader, GL_ATI_separate_stencil, GL_ATI_vertex_array_object, GL_ATI_map_object_buffer, GL_SGIS_multitexture, GL_EXT_texture_rectangle, GL_ARB_fragment_shader, GL_EXT_texture3D, GL_EXT_fog_coord, GL_ARB_window_pos, GL_HP_occlusion_test, GL_EXT_point_parameters, GL_ARB_fragment_program, GL_EXT_texture_env_combine, GL_ARB_vertex_program, GL_EXT_bgra, GL_ARB_texture_cube_map, GL_ARB_point_parameters, GL_EXT_compiled_vertex_array, GL_EXT_vertex_array, GL_ATIX_texture_env_route, GL_ARB_multisample, GL_ARB_draw_buffers, GL_EXT_multi_draw_arrays, GL_ATI_draw_buffers, GL_ARB_texture_compression, GL_ATI_element_array, GL_EXT_blend_func_separate, GL_ATI_texture_env_combine3, GL_EXT_shadow_funcs, GL_ATI_texture_compression_3dc, GL_EXT_clip_volume_hint, GL_EXT_blend_color, GL_NV_blend_square, GL_ATI_vertex_streams, GL_ATI_envmap_bumpmap
[rendering.opengl.shader.support]: Shaders are supported.
[rendering.opengl.shader.mode]: Shader mode set to SHADERS_FULL.
[shipData.load.begin]: Loading ship data.
[script.load.world.listAll]: Loaded 5 world scripts:
    oolite-cloaking-device 1.74.2
    oolite-constrictor-hunt 1.74.2
    oolite-nova 1.74.2
    oolite-thargoid-plans 1.74.2
    oolite-trumbles 1.74.2
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[loading.complete]: ========== Loading complete. ==========
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.8, 0.83, 0.85, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.1, 0.1, 0.1, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[strings.conversion.vector]: ***** ERROR: cannot make vector from '0.3, 0.3, 0.33, 1.0': could not scan a float value.
[gameController.exitApp]: .GNUstepDefaults synchronized.

Closing log at 2010-10-24 21:00:21 +0100.
I think we have a winner.

Posted: Sun Oct 24, 2010 11:11 pm
by Mauiby de Fug
That would explain why I left it in my oxp "to do" folder, rather than in my AddOns folder!

I clearly hadn't got around to identifying the problem and being organised enough to post about it, as I was busy making sure that all the other oxps worked and trying to find out why Oolite kept on crashing on me! And since then I've been playing around with missions, rather than adding more ships...

Posted: Sun Oct 24, 2010 11:19 pm
by CheeseRedux
I don't have a 'to do' folder myself. I do have a 'screw this' folder, however...

Anyway, after Eric's gentle prodding, I dug deeper into the depths of the BB.
Several OXPs have had this problem over the years.
The problem is errant commas. Remove the commas, remove the problem.

Posted: Sun Oct 24, 2010 11:54 pm
by Mauiby de Fug
CheeseRedux wrote:
I don't have a 'to do' folder myself. I do have a 'screw this' folder, however...
They're the same thing, in my case. I'll download them, often a bunch at a time, and how brave I'm feeling dictates how many I load at the same time. Sometimes I'll do it carefully, one at a time; others I'll move a whole bunch of them in and hope for the best. If I have issues with some of them, I'll move them back out of the the AddOns folder until I can be bothered to deal with them properly.
CheeseRedux wrote:
The problem is errant commas. Remove the commas, remove the problem.
Good to know! At some point when I've got the time and energy, I'll have a look through and sort them out!

Posted: Tue Oct 26, 2010 1:22 pm
by ADCK
I am no longer developing Oxp's, if someone wants to update the plists please do so.

Re: ERROR: cannot make vector [identified]

Posted: Tue Jan 03, 2012 1:21 am
by Micha
Done.
See thread or wiki.