Displaying 20 results from an estimated 20000 matches similar to: "SQlite"
2006 Apr 11
0
Unit test is failing when I am using SQLite
Hi,
There seems to be an issue with SQLite adapter. Any idea what is causing
it?
document_test.rb contains default scaffold and works fine with MySQL but
fails with SQLite. Other unit tests work fine with either DB.
Sergei Serdyuk
Red Leaf Software LLC
http://www.redleafsoft.com
document_test.rb:
require File.dirname(__FILE__) + ''/../test_helper''
class DocumentTest <
2006 Oct 10
1
Python/sqlite date time problems.
Bear with me, this is CentOS related. :)
I have a python CGI that's behaving weirldy on Whitebox systems
that've been switched over to CentOS 4 (ages ago, no other problems to
speak of aside from this one).
I've broken the problem down to a minimal test case...
1. Create a small database
# sqlite3 /tmp/testcase.db 'CREATE TABLE testtable ( date date primary
key unique, name
2016 Oct 20
2
queue_log/cel sqlite
On Thu, Oct 20, 2016 at 4:50 AM, marek cervenka <cervajs2 at gmail.com> wrote:
> i tested this
>
> # cat /etc/asterisk/extconfig.conf
> [settings]
> queue_log => sqlite3,cdrDb
>
> # cat /etc/asterisk/res_config_sqlite3.conf
> [cdrDb]
> dbfile = /var/lib/asterisk/realtime.sqlite3
>
> sqlite3 /var/lib/asterisk/realtime.sqlite3
>
> CREATE TABLE
2014 Jun 30
0
Login failure with SElinux enforcing + Sqlite user DB
I am having a very strange issue with Dovecot + Sqlite + SELinux in enforcing. I am able to log in via IMAPS if SELinux is in permissive, but not able to do so when in enforcing. I do not see any SELinux denials even with dontaudit's enabled. I am running Centos 5 on x86_64 with a customized kernel build and SElinux Strict policy. The log dumps below are in the following order:?
1. My syslog
2014 Nov 08
2
SQLite does not depend on zlib, was: Re: [PATCH] Split sql drivers from lib-sql to plugins
Tomas Janousek <tjanouse at redhat.com> wrote in news:20070413132731.GA8281
@redhat.com:
> - SQL_LIBS="$SQL_LIBS -lsqlite3 -lz"
> + SQLITE_LIBS="$SQLITE_LIBS -lsqlite3 -lz"
Hi,
this patch fixes a build error during cross compilation to a system without
the libz target package:
--- dovecot-2.2.15.org/configure.ac 2014-10-25
2005 Dec 23
2
SQLite in-memory
I left ":memory:" in database.yml for testing and the most simple
tests in the Agile book do not work (see trace below for test_truth).
Since that''s what comes with the distributed database.yml I suppose
it''s me doing something wrong.
Did someone get SQLite ":memory:" working? How does it grab the schema?
-- fxn
% rake test_units
(in
2015 Apr 22
0
SQLite does not depend on zlib, was: Re: [PATCH] Split sql drivers from lib-sql to plugins
Bernd Kuhls <bernd.kuhls at t-online.de> wrote in
news:XnsA3DF68DCAEF69berndkuhlsPkbjNfxxIA at bernd-kuhls.de:
> Tomas Janousek <tjanouse at redhat.com> wrote in news:20070413132731.GA8281
> @redhat.com:
>
>> - SQL_LIBS="$SQL_LIBS -lsqlite3 -lz"
>> + SQLITE_LIBS="$SQLITE_LIBS -lsqlite3 -lz"
>
> Hi,
>
2007 Nov 15
2
Story adapter and SQLite Was:What command to run all stories?
Hi, by switching to MySQL from SQLite, it fixed the problem. I ran
rdebug on it and it is trying to call
I ActiveRecord::Base.connection.begin_db_transaction. from
ActiveRecordSafetyListener.scenario_started. I don''t think SQLLite
likes transactions.
Ed
On Nov 15, 2007 10:56 AM, Ed Howland <ed.howland at gmail.com> wrote:
> If I run the story stand-alone, I get:
> ruby
2012 Mar 01
1
CentOS-5 - Need help sourcing an SQLite-3.6.16 or later rpm
CentOS-5.7
SQLite-3.6.6
Ruby on Rails 3.1
Ruby-1.8.7
I have a situation wherein the version of SQLite-3 on
CentOS-5 is too 'old' for the Ruby language sqlite3 DBMS
adapter to successfully build against. I managed to
obtain an rpm for ruby-1.8.7 but I cannot find one for
sqlite-3.6.16 or later. Does anyone here have a lead on
where such a beast, including the sqlite development
headers,
2006 Dec 29
5
sqlite errors
Hello,
When I kick off SVN1992 with storeconfigs=yes, I get the following error:
err: Could not store configs: SQLite3::SQLException: SQL logic error
or missing database: INSERT INTO resources ("exported", "line",
"title", "host_id", "restype", "source_file_id") VALUES(NULL, 23,
''svnpkgadd-emacs-nox-etc'', NULL, NULL,
2010 Jul 16
1
Rails 3 bug: undefined method `<=>' for class `ActiveSupport::Multibyte::Chars'
I''m getting the following bug when I try to run rake db:migrate in
Rails 3 beta 4:
$ rake db:migrate --trace
(in C:/Users/Adam/Documents/Aptana Workspace/QuestionBank)
default formats are encoded in ISO-8859-1
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
== CreateUsers: migrating
2012 Aug 27
1
Querying sqlite through RODBC causes R to crash
Dear R-SIG-Debian,
while trying to query data from an SQLite database through RODBC on
Debian testing, R crashes with the following message:
library(RODBC)
con3 <- odbcConnect("test3")
# 'test3' being an ODBC datasource configured with SQLite3 driver,
# but the same happens with SQLite driver
sqlQuery(con3, "select * from test") # 'test' being any table
2006 May 24
7
migrations and SQLite
I read in the instructions of Tracks that "upgrading via the rake
migrate command is quite a bit more tricky currently with SQLite and
SQLite3". Is there any gotcha regarding migrations and SQLite3?
-- fxn
2008 Jan 15
6
SQLite concurrency, SQLite3::BusyException
I am currently experiencing concurrency issues after moving from MySQL
to SQLite.
My original program worked fined using MySQL but is now returning
"SQLite3::BusyException" errors. The same result happens whether or
not I enable the allow_concurrency flag.
If I do manually acquire a lock on the SQLite DB the problem would
disapear, but I thought that rails was supposed to handle this
2005 Jun 29
3
trouble with active record and sqlite
I am getting an error that I can''t figure out. I have a class called
Test with 3 fields, id, x, and y. When I do Test.new(''x''=>1,
''y''=>2).save, I get an error saying that id (my ''not null primary
key'') can''t be null. But isn''t active record supposed to deal with
setting that for me? Here''s the code
2018 May 30
0
[SROA][DebugInfo][GSoC] Testing SROA on amalgamated sqlite source
> On May 30, 2018, at 8:37 AM, Anast Gramm <anastasis.gramm2 at gmail.com> wrote:
>
> Introduction
> ============
>
> `SROA' is an early stage pass running at the very beginning of the
> pipeline in `-O{1,2,3}'. Greg Bedwell's report from his DExTer tool
> shows SROA on function as one of the major culprits of Debug Info
> loss.
>
> With
2005 May 08
3
sqlite, views, incorrect data types?
This has been driving me crazy for a few days now. I am using sqlite3
however I have also found this to be the case with 2.8.15:
I have data types text or integer on every column of every table in
the database. Now i know sqlite doesnt care much about data types,
but I believe rails does (correct me if im wrong). On pages that
query a table, everything is perfect.
BUT when I use a view
2006 Jan 19
1
sqlite patch
Hi,
http://plonk.de/sw/dovecot/dovecot.sqlite.4.diff
It uses sqlite3 and is not heavily tested, but it works quite fine here.
Have fun!
2012 Feb 19
0
A Postfix/Dovecot example with SQLite backend [crossposted]
There are many mail howtos on the web ... can one more hurt?
http://rob0.nodns4.us/howto/README
http://rob0.nodns4.us/howto/
http://rob0.nodns4.us/howto/latest.tar.gz (all files)
(Sorry, not HTML yet. That is on the agenda.)
This is a multiple address class sample implementation of a Postfix
MTA and Dovecot IMAP server using a SQLite3 data backend. Domain
lookups, user maps, access and
2011 Aug 09
5
Sqlite 3 install error on Heroku, Rails 3.1
Hello Rails people.
I tried to push a Rails 3.1 app ( created using cedar stack) to Heroku
and I encountered the following error
Installing sqlite3 (1.3.4) with native extensions Unfortunately, a
fatal error has occurred. Please report this error to the Bundler
issue tracker at https://github.com/carlhuda/bundler/issues so that we
can fix it. Thanks!