search for: databaseerror

Displaying 20 results from an estimated 51 matches for "databaseerror".

2006 Jun 26
1
Rake + SQL Server + Migrations == Errors. Help?!
...ile is autogenerated. Instead of editing this file, please use the # migrations feature of ActiveRecord to incrementally modify your database, and # then regenerate this schema definition. ActiveRecord::Schema.define() do # Could not dump table "SalesCustomers" because of following DBI::DatabaseError # EOF OLE error code:800A0E78 in ADODB.Recordset Operation is not allowed when the object is closed. HRESULT error code:0x80020009 Exception occurred. # Could not dump table "SalesPlans" because of following DBI::DatabaseError # EOF OLE error code:800A0E78 in...
2011 Jul 13
1
Feature request: Determining source index of xapian-compact DatabaseError exception
Greets, When merging lots of subindexes in batches like so: xapian-compact -m idx1 idx2... dstidx Errors such as: xapian-compact: DatabaseError: Error reading block 0: got end of file present a problem since it does not provide the offending path name (of the broken index) for easy identification/removal in automated/batch scenarios (the way DatabaseOpeningError:.... does, eg). The only way to id the offending path is to step through the...
2009 Aug 17
1
Xapian DatabaseError
Hi, I've a problem to integrate xapian in my web application. I've developed the code for index e for search the documents published through my application. The app is developed in PHP. I've created a file that contain some function for search (called simpleSearch and advSearch). The problem is that if i run the code through the IDE (Zend for Eclipse) as PHP script it work correctly,
2004 May 11
2
"Error reading block xxx: got end of file"
Xapian (0.7.5) is spitting out this error on a regular basis: org.xapian.errors.DatabaseError: Error reading block 136618: got end of=20= file =A0=A0=A0=A0=A0=A0=A0 at=20 org.xapian.XapianJNI.writabledatabase_repalce_document(Native Method) =A0=A0=A0=A0=A0=A0=A0 at=20 org.xapian.WritableDatabase.replaceDocument(WritableDatabase.java:67) I don't have a gdb backtrace, only the Java...
2018 Apr 29
1
Database corruption after clean rebuild
...ut the problem remains: ~$ xapian-check ~/Mail/.notmuch/xapian docdata: blocksize=8K items=10841 firstunused=75 revision=82 levels=1 root=2 B-tree checked okay docdata table structure checked OK termlist: blocksize=8K items=1893162 firstunused=368983 revision=82 levels=3 root=177608 xapian-check: DatabaseError: 1 unused block(s) missing from the free list, first is 0 this is very similar to the old database which I had moved away: ~$ xapian-check ~/Mail/.notmuch/xapian-2018-04-29-00-22/ docdata: blocksize=8K items=10863 firstunused=78 revision=59623 levels=1 root=2 B-tree checked okay docdata table str...
2006 Feb 02
3
Strange SQL Server error
...he scaffolding generator and everything seemed to work fine. However I''ve noticed that a particular model I''ve created always fails its tests and I can''t test it out in a browser due to the same error I''m getting which is: ActiveRecord::StatementInvalid (DBI::DatabaseError: S1090 (0) [iODBC][Driver Manager]Invalid string or buffer length: SELECT * FROM (SELECT TOP 10 * FROM (SELECT TOP 10 * FROM info_lists ) AS tmp1 ) AS tmp2) I''m connecting to a MS SQL Server 2000 via Freetds on a mac, which is probably something to do with my problem. It doesn'...
2018 Apr 07
3
Database corruption after clean rebuild
...mail/.notmuch/xapian/ >    docdata: >    blocksize=8K items=63 firstunused=1 revision=2 levels=0 root=0 >    B-tree checked okay >    docdata table structure checked OK >    termlist: >    blocksize=8K items=43520 firstunused=8293 revision=2 levels=2 root=748 >    xapian-check: DatabaseError: 1 unused block(s) missing from the free > list, first is 0 OK, so probably not related to reference loops (although that patch is not very well tested). It's not clear how notmuch is triggering it, but this looks like the same bug in Xapian that olly fixed recently [1]. A possible next s...
2006 Jan 19
3
problems with migrations in sql server
...; 54 SQL:BatchCompleted EXEC sp_helpindex Foo 54 SQL:BatchCompleted IF @@TRANCOUNT > 0 ROLLBACK TRAN 54 And finally the log file contains the following: # Logfile created on Wed Jan 18 23:10:19 Eastern Standard Time 2006 by logger.rb/1.5.2.4 [4;36;1mSQL (0.000000) [0;1mDBI::DatabaseError: Execute OLE error code:80040E14 in Microsoft OLE DB Provider for SQL Server There is already an object named ''schema_info'' in the database. HRESULT error code:0x80020009 Exception occurred.: CREATE TABLE schema_info (version int) [4;35;1mSQL (0.000000) DBI::DatabaseError:...
2006 Jan 10
1
sql server & linux: left join problem
...RecipeController#find_recipes_for_workorder (for 172.17.1.102 at 2006-01-09 23:26:30) [POST] Parameters: {"workorder"=>{"name"=>"RGL004"}, "action"=>"find_recipes_for_workorder", "controller"=>"recipe"} DBI::DatabaseError ( (8156) [unixODBC][FreeTDS][SQL Server]The column ''name'' was specified multiple times for ''tally''.): /usr/lib/site_ruby/1.8/DBD/ODBC/ODBC.rb:168:in `execute'' /usr/lib/site_ruby/1.8/dbi/dbi.rb:640:in `execute'' /usr/lib/site_ruby...
2006 Aug 15
1
rails and MSSQL transactions
Hello, I have rails using a MSSQL db. The set up works fine with low volume, but with 2+ requests/second I keep on getting the following error: DBI::DatabaseError: Execute OLE error code:80004005 in Microsoft OLE DB Provider for SQL Server Cannot create new connection because in manual or distributed transaction mode. HRESULT error code:0x80020009 Exception occurred.: SELECT COLUMN_NAME as ColName, COLUMN_DEFAULT as DefaultValue, DATA_T...
2006 Feb 01
1
Rails pagination problem
I am having this problem with pagination query in my controller class. I am using SQL server and following code to create pagination fails, complains about column name ''program_name'' (which is valid column/attribute of program) The error message is: DBI::DatabaseError: S0022 (207) [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name ''program_name''.: SELECT * FROM (SELECT TOP 3 * FROM (......rest of query deleted...... query_term = ''%tiger%'' @program_pages, @programs = paginate :programs, :conditions => [&quo...
2007 Jan 12
1
xapian error
Just got this error when replacing (updating) a document in the xapian index (using php bindings): Fatal error: Uncaught exception 'Exception' with message 'DatabaseError: Error reading block 16908825: got end of file' Does anyone know what this means exactly? Alec
2006 Jan 10
1
sql server freetds/odbc question
...r_page => 10, \ :conditions => ["recipe.workorder_id = ?", params [:workorder]] render :template => ''recipe/list'' end (I''ve included the custom sorting code at bottom of message.) Here''s the top of the error: DBI::DatabaseError ( (8156) [unixODBC][FreeTDS][SQL Server]The column ''name'' was specified multiple times for ''tally''.): /usr/lib/site_ruby/1.8/DBD/ODBC/ODBC.rb:168:in `execute'' /usr/lib/site_ruby/1.8/dbi/dbi.rb:640:in `execute'' /usr/lib/site_ruby...
2007 May 31
0
Rails AR/SQLServer Unit Test: [6912] failed (but getting better)
...ms/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__'' c:/ruby/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' 2) Error: test_limited_eager_with_multiple_order_columns(EagerAssociationTest): ActiveRecord::StatementInvalid: DBI::DatabaseError: Execute OLE error code:80040E14 in Microsoft OLE DB Provider for SQL Server ORDER BY items must appear in the select list if SELECT DISTINCT is specified. HRESULT error code:0x80020009 Exception occurred.: SELECT * FROM (SELECT TOP 2 * FROM (SELECT DISTINCT TOP 3 posts.id FROM...
2005 Dec 20
9
Rails Configuration Question
...o the SQL Server, I just set this up, so the versions are the newest * Rails Version: I keep updating every time DHH posts something on the Rails page, so I guess 1.0 #Error Message and Supporting Information# When I access the action controller for a model I created I get the following error DBI::DatabaseError in Bug#index S1000 (0) [unixODBC][FreeTDS][SQL Server]Unable to connect to data source I also used to get this error in my model unit test code if I didn''t include a manual connection with Model.establish_connection(...), but it went away yesterday when I twiddled around with the database...
2020 Oct 21
2
xapian-check sorted order error
Hi, We were running xapian-check on one of our Xapian indexes and it returns the following error: position: baseB blocksize=8K items=809896869 lastblock=2090419 revision=3161 levels=3 root=2084903 Failed to check B-tree: DatabaseError: Items not in sorted order The other tables verify without issue. It looks like our oldest backup of this database (a month old) has the same issue. Searching and indexing are still working fine as far as we can see. Running xapian-check with the F option to "attempt to fix a broken database...
2018 Jul 12
1
Error while compacting: Bad position key
...t; > postlist: > blocksize=8K items=16090818 firstunused=312363 revision=15425 levels=3 root=249894 > B-tree checked okay > postlist table structure checked OK > > position: > blocksize=8K items=236476398 firstunused=653990 revision=15425 levels=3 root=598684 > xapian-check: DatabaseError: Block 459158 item 179: not in sorted order > What version of Xapian is this? I guess an obvious question is if there is some potential external cause of filesystem corruption (e.g. smart errrors, power loss at an inconvenient time). > Is there something I can do, or do I essentially need...
2006 Jul 14
1
error with Dates in SQL Server
...e SQL Server in Spanish, can I fix that in a database-agnostic way? This is a pretty standard usage of AR with migrations and Date objects assigned to some fields. I saw the SQL Server adapter transforms them into datetimes. Everything works flawlessly except for that problem. -- fxn DBI::DatabaseError: 22008 (242) [Microsoft][ODBC SQL Server Driver][SQL Server]La conversi?n del tipo de datos char a datetime p odujo un valor datetime fuera de intervalo.: INSERT INTO movimientos ([carpeta] [otras_caracteristicas], [fecha_valor], [importe_operacion], [fecha_operacion] [oficina], [referenc...
2006 Mar 10
7
ODBC adapter connection help please.
Does anyone have any experience getting ODBC to work? I could really use some help here. I''m having trouble accessing a db2 database via odbc using rails. It''s an external database, that I import data from. I have placed the connection code in my model : unless connected? establish_connection( :adapter => "odbc", :dsn => "<dsn
2009 Feb 12
4
Rails & unixODBC
...18:28 libtdsodbc.so -rw-r--r-- 1 root root 5320 2008-09-01 03:14 libtdsS.so Output from IRB test: irb(main):001:0> require "dbi" => true irb(main):002:0> dbh = DBI.connect(''dbi:ODBC:ivyweblv'', ''railsuser'', ''Pa$$w0rd'') DBI::DatabaseError: S1000 (0) [unixODBC][FreeTDS][SQL Server]Unable to connect to data source from /usr/local/lib/site_ruby/1.8/DBD/ODBC/ODBC.rb:95:in `connect'' from /usr/local/lib/site_ruby/1.8/dbi/dbi.rb:584:in `connect'' from /usr/local/lib/site_ruby/1.8/dbi/dbi.rb:384:in `...