[xbmc] - library is missing records [solved by downgrading sqlite]

Recently, about 1/2 of my library is literally empty in the GUI, but the underlying files are on the filesystem and are accessible to the user running xbmc.
Example:
/media/shows is the library root.
The following are present:
/media/shows/foo/s1/foo.s01e01.mkv
/media/shows/foo/s1/foo.s01e02.mkv
/media/shows/foo/s1/foo.s01e03.mkv
/media/shows/foo/s1/foo.s01e10.mkv
/media/shows/foo/s2/foo.s02e01.mkv
/media/shows/foo/s2/foo.s02e02.mkv
/media/shows/foo/s2/foo.s02e03.mkv
/media/shows/foo/s2/foo.s02e10.mkv
When I browse to TV Shows>foo in the GUI, all I see is ".." when in the past I would see all the content sorted by season.  I tried removing ~/.xbmc and totally rebuilding it.  The scraper found the shows and I watched it pull down the meta data, but again, when I enter the library, I see nothing under the show name.
The permissions on /media/shows are all 755 for dirs and 644 for files.  The user running xbmc owns the dirs/files.
Anyone else experiencing this?  XBMCv12.2-5 and an up-to-date system.
Attached is a debug log.  What I did:
1) Loaded xbmc
2) Navigated to Shows>foo (which was empty)
3) Exited xbmc
14:55:00 T:140085346596800 NOTICE: -----------------------------------------------------------------------
14:55:00 T:140085346596800 WARNING: Unable to determine Linux distribution
14:55:00 T:140085346596800 NOTICE: Starting XBMC (12.2 Git:Unknown), Platform: Linux (Unknown, 3.11.5-1-ARCH x86_64). Built on Jul 26 2013
14:55:00 T:140085346596800 NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
14:55:00 T:140085346596800 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/xbmc
14:55:00 T:140085346596800 NOTICE: special://masterprofile/ is mapped to: /home/facade/.xbmc/userdata
14:55:00 T:140085346596800 NOTICE: special://home/ is mapped to: /home/facade/.xbmc
14:55:00 T:140085346596800 NOTICE: special://temp/ is mapped to: /home/facade/.xbmc/temp
14:55:00 T:140085346596800 NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
14:55:00 T:140085346596800 NOTICE: Local hostname: mars
14:55:00 T:140085346596800 NOTICE: Log File is located: /home/facade/.xbmc/temp/xbmc.log
14:55:00 T:140085346596800 NOTICE: -----------------------------------------------------------------------
14:55:00 T:140085346596800 NOTICE: load settings...
14:55:00 T:140085346596800 NOTICE: special://profile/ is mapped to: special://masterprofile/
14:55:00 T:140085346596800 NOTICE: loading special://masterprofile/guisettings.xml
14:55:00 T:140085346596800 NOTICE: Getting hardware information now...
14:55:00 T:140085346596800 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
14:55:00 T:140085346596800 NOTICE: Loaded playercorefactory configuration
14:55:00 T:140085346596800 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
14:55:00 T:140085346596800 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
14:55:00 T:140085346596800 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
14:55:00 T:140085346596800 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
14:55:00 T:140085346596800 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<loglevel>0</loglevel>
<gui>
<algorithmdirtyregions>1</algorithmdirtyregions>
<nofliptimeout>1000</nofliptimeout>
</gui>
</advancedsettings>
14:55:00 T:140085346596800 NOTICE: Log level changed to 0
14:55:00 T:140085346596800 NOTICE: Getting hardware information now...
14:55:00 T:140085346596800 NOTICE: Default DVD Player: dvdplayer
14:55:00 T:140085346596800 NOTICE: Default Video Player: dvdplayer
14:55:00 T:140085346596800 NOTICE: Default Audio Player: paplayer
14:55:00 T:140085346596800 NOTICE: Disabled debug logging due to GUI setting. Level 0.
14:55:00 T:140085346596800 NOTICE: Log level changed to 0
14:55:00 T:140085346596800 NOTICE: Loading media sources from special://masterprofile/sources.xml
14:55:00 T:140085346596800 NOTICE: Running database version Addons15
14:55:01 T:140085346596800 ERROR: Unable to load libcec.so.2, reason: libcec.so.2: cannot open shared object file: No such file or directory
14:55:01 T:140085346596800 ERROR: Initialise - failed to initialise bus cec
14:55:01 T:140084887963392 NOTICE: Thread XBMC Peripherals start, auto delete: false
14:55:01 T:140085346596800 NOTICE: Setup SDL
14:55:01 T:140085346596800 NOTICE: Checking resolution 16
14:55:01 T:140085346596800 NOTICE: Using visual 0x21
14:55:01 T:140085346596800 NOTICE: GL_VENDOR = Intel Open Source Technology Center
14:55:01 T:140085346596800 NOTICE: GL_RENDERER = Mesa DRI Intel(R) G45/G43
14:55:01 T:140085346596800 NOTICE: GL_VERSION = 2.1 Mesa 9.2.2
14:55:01 T:140085346596800 NOTICE: GL_SHADING_LANGUAGE_VERSION = 1.20
14:55:01 T:140085346596800 NOTICE: GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_envmap_bumpmap GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_packed_depth_stencil GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_MESA_texture_array GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_separate_shader_objects GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_ARB_ES2_compatibility GL_ARB_debug_output GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_texture_lod GL_ARB_texture_rgb10_a2ui GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_shader_bit_encoding GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_internalformat_query GL_ARB_texture_storage GL_ARB_invalidate_subdata
14:55:01 T:140085346596800 ERROR: GLX: Same window as before, refreshing context
14:55:01 T:140085346596800 ERROR: Remote Translator: Can't find button skip
14:55:01 T:140085346596800 ERROR: Keymapping error: no such action 'skipminus' defined
14:55:01 T:140085346596800 ERROR: Remote Translator: Can't find button skip
14:55:01 T:140085346596800 ERROR: Keymapping error: no such action 'skipminus' defined
14:55:01 T:140085346596800 NOTICE: Running database version Addons15
14:55:01 T:140085346596800 NOTICE: Running database version ViewModes4
14:55:01 T:140085346596800 NOTICE: Running database version Textures13
14:55:01 T:140085346596800 NOTICE: Running database version MyMusic32
14:55:01 T:140085346596800 NOTICE: Running database version MyVideos75
14:55:01 T:140085346596800 NOTICE: Running database version TV22
14:55:01 T:140085346596800 NOTICE: Running database version Epg7
14:55:01 T:140085346596800 NOTICE: start dvd mediatype detection
14:55:01 T:140085346596800 NOTICE: initializing playlistplayer
14:55:01 T:140085346596800 NOTICE: DONE initializing playlistplayer
14:55:01 T:140084890326784 NOTICE: Thread CDetectDVDMedia start, auto delete: false
14:55:01 T:140084745492224 NOTICE: Thread XBPyThread start, auto delete: false
14:55:01 T:140085346596800 NOTICE: UpdateLibraries - Starting video library startup scan
14:55:01 T:140084745492224 NOTICE: -->Python Interpreter Initialized<--
14:55:01 T:140085346596800 NOTICE: initialize done
14:55:01 T:140084737099520 NOTICE: Thread CVideoInfoScanner start, auto delete: false
14:55:01 T:140084586215168 NOTICE: Thread XBPyThread start, auto delete: false
14:55:01 T:140085346596800 NOTICE: Enabled Joystick: Microsoft Microsoft® Nano Transceiver v2.0
14:55:01 T:140085346596800 NOTICE: Details: Total Axis: 37 Total Hats: 0 Total Buttons: 57
14:55:01 T:140085346596800 NOTICE: Running the application...
14:55:01 T:140085346596800 NOTICE: Webserver: Starting...
14:55:01 T:140085346596800 NOTICE: WebServer: Started the webserver
14:55:01 T:140084531324672 NOTICE: Thread Jobworker start, auto delete: true
14:55:01 T:140085346596800 NOTICE: starting zeroconf publishing
14:55:01 T:140084401641216 NOTICE: Thread AirPlayServer start, auto delete: false
14:55:01 T:140084410033920 NOTICE: Thread Jobworker start, auto delete: true
14:55:02 T:140084737099520 NOTICE: VideoInfoScanner: Starting scan ..
14:55:02 T:140084108060416 NOTICE: Thread Jobworker start, auto delete: true
14:55:02 T:140084116453120 NOTICE: Thread AirTunesServer start, auto delete: false
14:55:02 T:140084586215168 NOTICE: -->Python Interpreter Initialized<--
14:55:02 T:140084586215168 NOTICE: StorageServer Module loaded RUN
14:55:02 T:140084586215168 NOTICE: StorageClient-2.5.2 Starting server
14:55:02 T:140084586215168 NOTICE: StorageServer-2.5.2 Storage Server starting /home/facade/.xbmc/temp/commoncache.db
14:55:02 T:140084737099520 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
14:55:04 T:140084737099520 NOTICE: Thread Background Loader start, auto delete: false
14:55:18 T:140085346596800 NOTICE: Previous line repeats 2 times.
14:55:18 T:140085346596800 NOTICE: Storing total System Uptime
14:55:18 T:140085346596800 NOTICE: Saving settings
14:55:18 T:140085346596800 NOTICE: stop all
14:55:18 T:140085346596800 NOTICE: ES: Stopping event server
14:55:18 T:140085346596800 NOTICE: stopping zeroconf publishing
14:55:18 T:140085346596800 NOTICE: Webserver: Stopping...
14:55:18 T:140085346596800 NOTICE: WebServer: Stopped the webserver
14:55:18 T:140085346596800 NOTICE: Webserver: Stopped...
14:55:19 T:140085346596800 NOTICE: stop dvd detect media
14:55:19 T:140085346596800 NOTICE: stop sap announcement listener
14:55:19 T:140085346596800 NOTICE: clean cached files!
14:55:19 T:140085346596800 NOTICE: unload skin
14:55:19 T:140084586215168 NOTICE: StorageServer-2.5.2 Closed down
14:55:19 T:140085346596800 NOTICE: stop python
14:55:19 T:140085346596800 NOTICE: stopped
14:55:19 T:140085346596800 NOTICE: destroy
14:55:19 T:140085346596800 NOTICE: closing down remote control service
14:55:19 T:140085346596800 NOTICE: unload sections
14:55:19 T:140085346596800 NOTICE: destroy
14:55:19 T:140085346596800 WARNING: Attempted to remove window 10013 from the window manager when it didn't exist
14:55:19 T:140085346596800 WARNING: Attempted to remove window 10014 from the window manager when it didn't exist
14:55:19 T:140085346596800 WARNING: Attempted to remove window 10015 from the window manager when it didn't exist
14:55:19 T:140085346596800 WARNING: Attempted to remove window 10016 from the window manager when it didn't exist
14:55:19 T:140085346596800 WARNING: Attempted to remove window 10017 from the window manager when it didn't exist
14:55:19 T:140085346596800 WARNING: Attempted to remove window 10018 from the window manager when it didn't exist
14:55:19 T:140085346596800 WARNING: Attempted to remove window 10019 from the window manager when it didn't exist
14:55:19 T:140085346596800 WARNING: Attempted to remove window 10021 from the window manager when it didn't exist
14:55:19 T:140085346596800 WARNING: Attempted to remove window 10107 from the window manager when it didn't exist
14:55:19 T:140085346596800 WARNING: Attempted to remove window 10115 from the window manager when it didn't exist
14:55:19 T:140085346596800 WARNING: Attempted to remove window 10104 from the window manager when it didn't exist
14:55:19 T:140085346596800 NOTICE: closing down remote control service
14:55:19 T:140085346596800 NOTICE: unload sections
14:55:19 T:140085346596800 NOTICE: application stopped...
Last edited by graysky (2013-10-19 19:46:56)

johnpiers wrote:Thanks graysky, just to confirm, downgrading sqlite from 3.8.1-1 -> 3.8.0.2-1 did the trick for me as well! Just wondering how an error like this goes unnoticed before the repository is upgraded/updated?.
It goes unnoticed because of a couple of things:
1. The person doing the packing isn't running XBMC. They can't be expected to test every program that uses sqlite.
2. It seems this didn't go to [testing] at all. This usually happens when the update is necessary for security reasons, but doesn't allow the people running [testing] to find these kind of bugs before they hit the main repo. Looking through the SVN log, this never seems to go to [testing], so that's on the maintainer.

Similar Messages

  • How to find out the missing records

    Dear all,
    I feel that there is some Inconsistent records between R/3 and the extracted records BI for the data source 2LIS_03_BF. some of the records may not be updated through delta.. Is this possible? as we have created  Zkey figures to capture the diffrent unit of measure's quantity from the table MSEGO2 and updated to IC_c03 cube.
    Can any one tell me how to go about the missed records..where to find them.. and how to extract them.
    Poits will be assigned
    Regards
    venu

    hi,
    inventory scenario is difficult to handle as this have non cumulative key figures which can be viewed at the repors.
    extreme care is required while compression and intila loads and their compression.
    run the report or ask the user to run the report and sort out the missing records.
    chk out the document and chk if the procedure done by you is correct.
    inventory management
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Ramesh

  • Missing records in BW

    Hi friends,
    We load sales order daily in our Quality system using a process chain, but lately we are facing a strange issue. The records in BW rae not matching in R/3.
    EX: on 17.10.2007 in VBAK table there are around 6500 Orders created (Created on), the same will be loaded to our BW ODS without any transformation or restrictions, so we should get the same number of records. Instead we got 100 records only.
    This missing records is not happening every day. It happened in the 1st week of OCt and also on 17th of Oct rest other days its OK.
    I wanted to know if anyone of u have faced similar issue? if yes  how did u solve ( Filling up of setup tables for the missing records is not the solution), what i am looking at is is there any programs which deletes records either from the LBWQ or RSA7?.
    Your help is very much needed.
    Thanks in advance.
    BN

    Hi Manoj,
    Thanks a lot for ur quick reply. We are loading data for Header, Item and conditions in BW, we are not doing any transformations anywhere from R/3 BW, its all 1-2-1 mappings.
    We have been loading this for last 2 yrs, it suddenly started misbehaving. I suspect there must be some job which might be deleteing the records from RSA7, but im not sure if there is any prog or job which does this.
    Thanks
    BN

  • The row was not found at the Subscriber error keeps popup and stopped synchronization even after inserting missing record at subscriber - transcational replication.

    The row was not found at the Subscriber error keeps popup and stopped synchronization even after inserting missing record at subscriber - transcational replication.
    first error throws: Grab exact sequence number, find row and inserted at subscriber...
    Start synchronizing, ran fine for a while, stopped again with error with different exact sequence number, repeat again same as step 1.......
    how can we stop this and make it run without this error?
    Please advise!!!

    Hi,
    This means that your database is out of sync. You can use the continue on data consistency error profile to skip errors. However, Microsoft recommends that you use -SkipErrors parameter cautiously and only when you have a good understanding of the following:
    What the error indicates.
    Why the error occurs.
    Why it is better to skip the error instead of solving it.
    If you do not know the answers to these items, inappropriate use of the
    -SkipErrors parameter may cause data inconsistency between the Publisher and Subscriber. This article describes some problems that can occur when you incorrectly use the
    -SkipErrors parameter.
    Use the "-SkipErrors" parameter in Distribution Agent cautiously
    http://support.microsoft.com/kb/327817/en-us
    Here are two similar threads you may refer to:
    http://social.technet.microsoft.com/Forums/en-US/af531f69-6caf-4dd7-af74-fd6ebe7418da/sqlserver-replication-error-the-row-was-not-found-at-the-subscriber-when-applying-the-replicated
    http://social.technet.microsoft.com/Forums/en-US/f48c2592-bad7-44ea-bc6d-7eb99b2348a1/the-row-was-not-found-at-the-subscriber-when-applying-the-replicated-command
    Thanks.
    Tracy Cai
    TechNet Community Support

  • "your photo library is missing"

    Hi there!
    I've got MacBook pro and when I try to open iPhoto i get message:
    Your library is missing, please make sure disk is mounted...
    I can't say which iPhoto version it is, because I cannot run it.
    In my Pictures directory there is iPhoto Library folder, so I don't know what the reason can be.
    Does anyone have any idea?
    Thanks in advance
    Adam Mscisz

    problem solved..
    I've noticed it's an alias to directory that doesn't exist...so I created it...
    thanks anyway

  • My iTunes library is missing since upgrade Lion 7.2.  I have it all backed up so that's not the issue. How can I reinstall it with all my hundreds of playlists intact or do I have to recreate each one upon reinstalling the backup copy? Thank you for help

    Almost my iTunes library is missing since upgrade Lion 7.2. (the last 2.5 weeks worth of added music has transferred post-upgrade, none of whcih was bought from iTunes)
    I have it all backed up so that's not the issue. How can I reinstall it with all my hundreds of playlists intact or do I have to recreate each playlist upon reinstalling the backup copy? This would save a HUGE amount of time and efforts. Thank you for your help!

    hi Limnos,
    I do not mean the entire ITunes folder but, rather, the contents of the ITunes folder prior to September 29th.  (90% of the media is missing, along with all playlists)  The media that remains says it was added on 9/29 although I know most of it was added many months or even years earlier. There are no playlists listed at all, before or after 9/29.  (I know for certain that I added non-iTunes purchased songs on 10/6 although I had not created playlists for them)
    I have my iTunes folder backed up on both an external drive as well as Time Machine.
    I run iTunes off of an ITunes folder on my computer rather than from the external, if that's what you mean about how I have it set up. 
    Is it OK to drag the entire iTunes folder from the external drive onto my laptop's drive and see if that fixes it?
    Thank you for your help!
    Deb

  • How to get missing records from one table

    I have one table with many records in the table. Each time a record is entered the date the record was entered is also saved in the table.
    I need a query that will find all the missing records in the table.
    so if I have in my table:
    ID          Date          Location
    1           4/1/2015        bld1
    2           4/2/2015        bld1
    3           4/4/2015        bld1
    I want to run a query like
    Select Date, Location FROM [table] WHERE (Date Between '4/1/2015' and '4/4/2015') and (Location = bld1)
    WHERE Date not in
    (Select Date, Location FROM [table])
    and the results would be:
    4/3/2015   bld1
    Thank you

    Do you have a table with all possible dates in it?  You can do a left join from that to your above mentioned table where the right side of the join is null.  If you don't have a table with all possible dates you could user a numbers table.
    Below is one way to achieve what you want with a numbers table...
    DECLARE @Table table (ID Int, DateField Date, Location VarChar(4))
    DECLARE @RunDate datetime
    SET @RunDate=GETDATE()
    IF OBJECT_ID('dbo.Numbers') IS NOT NULL 
    DROP TABLE NUMBERS
    SELECT TOP 10000 IDENTITY(int,1,1) AS Number
       into Numbers
        FROM sys.objects s1
        CROSS JOIN sys.objects s2
    ALTER TABLE Numbers ADD CONSTRAINT PK_Numbers PRIMARY KEY CLUSTERED (Number)
    INSERT INTO @Table (ID, DateField, Location)
    VALUES ('1','20150401','bld1')
    ,('1','20150402','bld1')
    ,('1','20150404','bld1');
    WITH AllDates
    as
    SELECT DATEADD(dd,N.Number,D.StartDate) as Dates
    FROM Numbers N
    cross apply (SELECT CAST('20150101' as Date) as StartDate) as D
    select * 
    from AllDates AD
    left join @Table T on AD.Dates = T.DateField
    where ad.Dates between '20150401' and '20150404'
    AND T.ID IS NULL
    LucasF

  • HT3819 My iMac had a corrupt seagate HD that had to be replaced my imovie files & itunes video library are missing when I picked up my Mac from Apple?

    I purchased my 27" iMac in October 2010 after attending classes we discovered my computer needed new graphics card, hard drive, and a total rebuild after owning it only 6 months. Apple rebuilt my new computer, several months later same issues began yet again, slowly Apple began replacing defective parts they installed, my computer still hasn't worked as it should and has been in and out of Apple all the time sometimes they keep it for weeks! running tests?? February 10, 2013 I took my imac back in because it has been taking upwards of 6 minutes to make 1 single edit in imovie after 6 days of editing my project I could No Longer save in itunes, external HD, or export my imovie videos (they are 4 min up to 20 min max) Apple informed me that my Hard Drive was corrupt a bad batch of Seagate HD had been installed and my computer was again affected by this and it needed to be replaced and they couldn't get it to respond at all my itunes library was missing, etc. We saved my videos on my external HD I brought in with me. The Genius bar said they would call me in 3-5 days for me to pick up my computer. 9 Days later not hearing back from them I went in to get an update February 19, 2013 No one can tell me what was done except my HD was replaced they can't answer my questions about my itunes library being reinstated or my videos, music is missing, podcasts, etc. I was even using icloud, empty? They tell me IF I find anything wrong or not working again to just bring it back.  My iMovie videos ALL the edits are missing ? I can't find ANY of my videos in my itunes my Library is empty as it is in imovie except for 2 videos? HELP! I can't imagine having to re-edit my entire video with sound effects, fronts, graphics, etc. I spent weeks on this :-( I'm at my wits end with my iMac.... I have searched in my previous itunes library EMPTY ! Waaaah! I want my mommy....

    The Apple Store is not responsible for data loss and generally does not do any backups of your data before performing any repairs, though in some cases, as seems to be the case in yours, they guide you to making your own backup. Here's what they say on the "getting service page" (when I've taken a system in for service a similar statement was presented to me when I agreed to the service):
    Many repairs require Apple to replace or reformat the hard disk, which will result in the loss of your data. Please make sure you back up your data on a regular basis to minimize your data loss. Learn more about backup options. Apple and Apple Authorized Service Providers are not responsible for any damage to or loss of any applications, data, or other information stored on your Mac desktop while performing service.
    Since you say that you backed up your videos before the drive was replaced, why can you not just restore them? And did you not back up anything else?
    If you didn't make any sort of backup of your other data prior to taking the iMac in for service, then sorry but your data is almost certainly gone. Regular reliable backups are a must, particularly when dealing with content you spend a lot of time creating. You may be able to re-download any content you purchased from the iTunes Store or Mac App Store, but anything else you'll have to recreate or re-obtain from the original source.
    Regards.
    Message was edited by: varjak paw

  • How to identify missing records in a single-column table?

    How to identify missing records in a single-column table ?
    Column consists of numbers in a ordered manner but the some numbers are deleted from the table in random manner and need to identify those rows.

    Something like:
    WITH t AS (
               SELECT 1 ID FROM DUAL UNION ALL
               SELECT 2 ID FROM DUAL UNION ALL
               SELECT 3 ID FROM DUAL UNION ALL
               SELECT 5 ID FROM DUAL UNION ALL
               SELECT 8 ID FROM DUAL UNION ALL
               SELECT 10 ID FROM DUAL UNION ALL
               SELECT 11 ID FROM DUAL
    -- end of on-the-fly data sample
    SELECT  '[' || (id + 1) || ' - ' || (next_id - 1) || ']' gap
      FROM  (
             SELECT  id,
                     lead(id,1,id + 1) over(order by id) next_id
               FROM  t
      where id != next_id - 1
    GAP
    [4 - 4]
    [6 - 7]
    [9 - 9]
    SQL> SY.
    P.S. I assume sequence lower and upper limits are always present, otherwise query needs a little adjustment.

  • Albums folder in iPhoto Library folder missing

    The Albums folder in iPhoto Library folder missing. This means when I try to sync photos to my iPod (video) in iTunes, none of my photo albums show up (though I can seclect a specific folder useing year, month day, etc.). It also mens that I must navagate through the date folders to find photos when trying to attach them to e-mails.
    I am running a G5 with the latest version of OSX, iPhoto, iTunes.
    How do I recreat this folder?
    Thankd for any help.
    Cheers__ Heath

    Hi Heath,
    iPhoto 5 now stores the Album information in a data xml file. The Albums folder within the iPhoto Library folder is no longer used. At some point, usually after a rebuild, you will no longer have that folder in the Finder.
    If you need to access photos from an album it is very difficult for a third party application to navigate the iPhoto Library in order to find the photo you need. You will have to know the date of import in order to find the photo.
    There are some third party applications that can read the xml file and can navigate the iPhoto library and show you the Albums. Hopefully more applications will be revised to read this file.
    Until then you will have to Share/Export the photos to the desktop. You can then navigate to the desktop to use the photos (example: web uploading from online photo site)
    If your application supports drag and drop, you can drag the photo from an open iPhoto Library window into your application.
    For email you can also use the email icon within iPhoto to open a message with the highlighted photo attached.
    You can also use spotlight to find images in an Album...
    This is what I have done using Spotlight to find my images that are in iPhoto albums without opening iPhoto..
    In iPhoto, select the album, then select all, go to Photos/batch change.
    Change the comments to text. In the text field I put the name of the Album.
    Do this for each album.
    Close iPhoto.
    Open Spotlight and put in the name of the Album ( you have to remember the names of the albums or have then written down)
    In the spotlight search results. click on "show all"
    Under "Images" click on the "xx more" to show all the images in the album.
    Make sure you have it in icon view, the icon view box is the last one on the blue images line.
    Now you can control click on the image to "reveal in finder", open in iPhoto or Mail, etc.
    I am not sure if this is going to make you happy and it is a little more work, but you can find images in albums and even view them in a slideshow (by clicking the play arrow at the end of the Images highlighted blue line) using Spotlight, all without opening iPhoto.
    One important thing to know is you can set up a graphic program to be an external editor (when you double click an image in the library} such as PhotoShop or PS Elements. You set up that within iPhoto Preferences. Just make sure you save the image flattened and with the same name. The edits will then be relected in iPhoto when you hit "save".
    Two Apple kbs for you to read
    Don't tamper with files in the iPhoto library folder
    About the iPhoto Library folder
    Also, when you choose a folder to sync for your iPod, choose iPhoto in the drop down menu in iTunes, then choose the Album you want to sync. Do not choose a folder on your hard drive and then the Albums folder in the iPhoto Library folder.
    Lori

  • Can anyone tell me how to restore my itunes library and playlists? After I downloaded mountain lion my library is missing and my devices can be synced to only one library ...the missing one

    can anyone tell me how to restore my itunes library and playlists? After I downloaded mountain lion my library is missing and my devices can be synced to only one library ...the missing one

    That .itl file actually is the library -- at least the critical part of it although the library is actually many files and folders.
    Try starting iTunes and immediately hold down the option key.  When it asks, guide it to the .itl file.
    It's really hard to say without being able to poke around your computer.  Upgrading should not delete the old library, but still it happens to the very, very few which is why we make backups before updating.  If the old library file is gone then so are your playlists.  You can always see if the following is of any use:
    iTunes: How to re-create your iTunes library and playlists - http://support.apple.com/kb/ht1451

  • Insert missing records dynamically in SQL Server 2008 R2

    Hi, I am working on a requirement where I will have to work on some % calculations for 2 different states where we do business. The task that I am trying to accomplish is technically we need to have any Product sales in both the states if not for instance
    in the following example ProductC does not have sales in OR so I need to insert a record for ProductC - OR with 0. This is an intermediary resultset of all the calculations that I am working with.
    Example Dataset:
    CREATE TABLE [dbo].[Product](
    [Product] [varchar](18) NOT NULL,
    [State] [varchar](5) NOT NULL,
    [Area1] [int] NOT NULL,
    [Area2] [int] NOT NULL,
    [Area3] [int] NOT NULL,
    [Area4] [int] NOT NULL,
    [Area5] [int] NOT NULL,
    [Area6] [int] NOT NULL,
    [Area7] [int] NOT NULL,
    [Area8] [int] NOT NULL,
    [Area9] [int] NOT NULL,
    [Area10] [int] NOT NULL,
    [Total] [int] NULL
    INSERT INTO [Product] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductA','OR',0,0,2,0,2,0,0,0,0,0,4)
    INSERT INTO [Product] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductA','WA',0,0,1,0,0,0,0,0,0,0,1)
    INSERT INTO [Product] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductA','Total',0,0,3,0,2,0,0,0,0,0,5)
    INSERT INTO [Product] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductB','OR',0,0,5,0,0,0,0,0,0,0,5)
    INSERT INTO [Product] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductB','WA',0,0,2,0,0,1,0,0,0,0,3)
    INSERT INTO [Product] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductB','Total',0,0,7,0,0,1,0,0,0,0,8)
    INSERT INTO [Product] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductC','WA',0,0,0,0,0,0,0,0,0,1,1)
    INSERT INTO [Product] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductC','Total',0,0,0,0,0,0,0,0,0,1,1)
    INSERT INTO [Product] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductD','OR',5,2,451,154,43,1,0,0,0,0,656)
    INSERT INTO [Product] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductD','WA',0,20,102,182,58,36,0,1,0,0,399)
    INSERT INTO [Product] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductD','Total',5,22,553,336,101,37,0,1,0,0,1055)
    How to accomplish this in SQL Server 2008 R2.
    Insert missing record:
    INSERT INTO [Product] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductC','OR',0,0,0,0,0,0,0,0,0,0,0)
    Thanks in advance......
    Ione

    CREATE TABLE [dbo].[Products](
    [Product] [varchar](18) NOT NULL,
    [State] [varchar](5) NOT NULL,
    [Area1] [int] NOT NULL,
    [Area2] [int] NOT NULL,
    [Area3] [int] NOT NULL,
    [Area4] [int] NOT NULL,
    [Area5] [int] NOT NULL,
    [Area6] [int] NOT NULL,
    [Area7] [int] NOT NULL,
    [Area8] [int] NOT NULL,
    [Area9] [int] NOT NULL,
    [Area10] [int] NOT NULL,
    [Total] [int] NULL
    INSERT INTO [Products] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductA','OR',0,0,2,0,2,0,0,0,0,0,4)
    INSERT INTO [Products] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductA','WA',0,0,1,0,0,0,0,0,0,0,1)
    INSERT INTO [Products] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductA','Total',0,0,3,0,2,0,0,0,0,0,5)
    INSERT INTO [Products] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductB','OR',0,0,5,0,0,0,0,0,0,0,5)
    INSERT INTO [Products] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductB','WA',0,0,2,0,0,1,0,0,0,0,3)
    INSERT INTO [Products] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductB','Total',0,0,7,0,0,1,0,0,0,0,8)
    INSERT INTO [Products] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductC','WA',0,0,0,0,0,0,0,0,0,1,1)
    INSERT INTO [Products] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductC','Total',0,0,0,0,0,0,0,0,0,1,1)
    INSERT INTO [Products] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductD','OR',5,2,451,154,43,1,0,0,0,0,656)
    INSERT INTO [Products] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductD','WA',0,20,102,182,58,36,0,1,0,0,399)
    INSERT INTO [Products] ([Product],[State],[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])VALUES('ProductD','Total',5,22,553,336,101,37,0,1,0,0,1055)
    ;WIth mycte as (
    Select Product,State From (Select distinct Product from Products) p, (
    Select distinct State from Products) s
    Insert into [Products](Product,State,[Area1],[Area2],[Area3],[Area4],[Area5],[Area6],[Area7],[Area8],[Area9],[Area10],[Total])
    Select m.Product,m.State
    ,0,0,0,0,0,0,0,0,0,0,0
    from mycte m Left Join Products p on m.[Product]=p.Product and m.State=p.State
    WHERE p.Product is null and p.State is null
    select * from Products
    Order by Product
    ,Case when State='Total' Then 2 else 1 End
    Drop table Products

  • Missing records while fetching data from Data mart

    Hi,
    I have some missing records in the ODS.The data is fetched from the other BW system.
    It is a delta load & all the loads are succesfull as of now.But still some records are missing.
    If i see in reconstruction tab, some requests are showing the Transfer structure status as clock(transfer stucture has changed sine the last request). Is it because of this time stamp status got changed ?
    I have done reinitialization & the missing Datas are fetched .But i would like to know the cause of missing records.
    Regrads,
    ANita

    Hi kedar,
    If there was a time stamp difference ,the data load should have got failed.All the delta loads were succesfull.
    But now they realised there are some missing records.Just for analysis purpose , i was looking into reconstruction tab & the transfer structure status was displayed as clock.
    But actually there was no change in the transfer stucture.
    Sometimes we used to get timestamp error &
    we used to replicate the data source & activate the transfer structure.
    To avoid these things in future what needs to be done.As this load gets triggered through process chain & each time the data load status was succesful.
    Every time we cant do replication of datasource while loading through Process chain unless the transfer structure gets changed.
    But my concern was is this the cause for missing records or something else.
    Regards,
    ANita

  • Missing record in archive log

    hello all,
    to the point, i am trying to mirroring 2 database using archive log.
    so, i do some test by inserting large data (1200 record / s) into 4 table for some interval (like 10 menit).
    Each time database create archive log, my daemon in Master will copy the archive log to the Slave, and daemon in the Slave will extract them using dbms_logmnr.
    the problem is number of rows in all Slave table is not equal (less than) number of all rows in Master.
    even if i try to alter the system log file manuallly, still there is missing rows in slave.
    i have try some alternative like,
    - increasing db_writer_processes (from 1 to 2 to 4)
    - increasing redo log size (from 50 MB to 100 MB)
    - increasing redo log group (from 3 to 6)
    but still there is a missing record.
    where is those missing record go ?
    master db: 10.2.0.1.0 + ASM
    master os: SunOS z8 5.10 Generic_137138-09 i86pc
    slave db: 10.2.0.1.0
    slave os: GNU/Linux 2.6.18-8.el5 x86_64 (RHEL)

    Thank you for your reply sir.
    The problem with CDC (and/or Streams implementation) is they use a cpu resource within Oracle it self. So, if in peak time Oracle in Master has already reaching 80-90%, with addition using Streams they will make it to > 90%. Don't imagine 1000000 / day transaction here, but imagine with 1000/s transaction. And That's what the-one-who-already-use-stream says.
    i am not reinvent the wheel here, i am seeking for best alternative. in fact i am looking for answer from "where is those missing record go ?"

  • Missing record in customizing tabele after client copy

    Hi,
    A box with Solaris 10 X64, SAP ECC 6.03, SAP AFS 6.03 and MaxDB 7.6.
    In a just installed system we have crate two client as copy from 000 .... in this two client some customizing tables has missing records. In 000 client all is OK.
    Have you have any idea ?
    Regards.
    Ganimede Dignan.

    Hi,
    You have said customizing tables, are those the default one or build by you. If they are given default from SAP, please note that ceratin data  content is not copied even by Client copy (SAP_ALL profile) you have to do a manual entry.
    Since CCopy have ended with no error and you ahve selected SAP_ALL profile but you dont see the data in the table, which means they cannot be moved by C.Copy and you have enter them manually.
    Regards,
    Raju.

Maybe you are looking for

  • Appending attachments to PDF form

    When you export a form as a PDF, it would be helpful if any supporting documents attached to the form were exported with the PDF.  It would prevent having to have multiple files/docs for one respondent. 

  • Calling portlet from a normal web application

    I have the following question: I would like to deploy portlets on Oracle Portal and "call" them programmatically from a home made web application running on the same Oracle Application Server where the portal runs. As I am running my web application

  • ALE Configuration SET UP

    Hi, I am creating a ALE Scenario with Material Master. I am doing this for the first time. Please tell me whether it is possible to trasfer data from a sandbox(UPG) system to a development system. If this is possible, what are the configuration steps

  • Support for export keyword for templates in sunCC ?

    Hello Currently sunCC says "OutputTemplate.hh", line 16: Warning: Export ignored -- not yet implemented.if I try to use export to export my templates. Is sunCC going to support export keyword, like Comeau and Intel compilers ? When will export be imp

  • HT1351 My new songs aren't syncing to my ipod

    My newer songs I just purchased are not syncing on my ipod