Displaying 20 results from an estimated 1000 matches similar to: "SQlite3 hoopup issues on mac os x"
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
2006 Jan 03
4
in-memory test database -- where''s the schema?
I''m trying to get the unit testing for a new project to use the wonderful
:memory: database specification for SQLite. However, like many people
before me, I can''t get the schema to import or have anything else useful.
Initially, the error I get is:
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/errors.rb:94:in
`check'': cannot rollback - no transaction is
2003 Aug 10
1
read.spss doesn't work anymore
A couple of months ago, probably using an older version of R, R used to
run the following code just fine:
library("foreign")
data.exp1 <- as.data.frame(read.spss("dataDef.sav"))
Issuing the same commands now (after starting R using --vanilla), gives
me the following behavior:
> library("foreign")
> x <- read.spss("dataDef.sav")
Error
2005 Dec 22
13
in-memory SQLite for testing
I am following the rails book, and arrived to the section about
testing. The test database is configured as:
test:
adapter: sqlite3
database: ":memory:"
and I get this error with the simple product test:
% ruby test/unit/product_test.rb
Loaded suite test/unit/product_test
Started
E/usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/
errors.rb:94:in
2005 Dec 15
7
PHP include() Type Functionality in Ruby/Rails
Greetings,
I am working on extending a new part of our site to use Ruby on
Rails, and have several portions of the site that is included in
external files. The rest of the site is built on top of MovableType
and uses PHP Includes to reference the external files.
Is there similar functionality in Ruby or Rails that I can use so I
don''t have to update excess content in two
2006 Mar 02
0
SQLite3 hook up error on OS X 10.4.5
friends of the int-arweb.
what does this mean:
(in bold) ActiveRecord::StatementInvalid in Contact#create
SQLite3::SQLException: SQL logic error or missing database: INSERT
INTO contacts
Context:
this happened after I had finished setting up RoR as per the tutorial
at http://maczealots.com/tutorials/ruby-on-rails/
the database, is like, there. is there a nice ruby command like deal
to
2005 Nov 02
3
problems running rails on mac osx tiger (10.4.3)
Hi,
I''m newbie to rails, so please be gentle with me.
I got one of the new powerbooks that apple just released
last month (october 2005).
I installed rails using RubyGems
and also the installer for mac osx found
here
http://www.tonyarnold.com/articles/2005/08/10/rolling-with-ruby-on-rails-on-mac-os-x-tiger-for-beginners
everything seems to update and install fine.
But when I type
2002 Feb 20
2
Unable to join W2K domain
Hello list,
I'm trying to join the W2K domain, but without success.
After typing the following line
/usr/local/samba/bin/smbpasswd -j WORLD -r SRV5N -U adm
Password:
this message apears:
Unable to join domain WORLD
The content of smb.conf:
[global]
netbios name = SRVSX
security = domain
domain logons = yes
workgroup= WORLD
password server = SRV5N
keep alive = 30
os level = 0
domain master
2007 Oct 22
13
An error on edge at -r 2767
Morning,
Having done an svn up this morning all my specs are broken with the
following:
SQLite3::SQLException in ServiceConfig with minimum set of valid parameters
should return nil for the service path''
SQL logic error or missing database
C:/development/sandbox/prototypes/user_admin_client/config/../vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/rails_example.rb:17:in
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 Mar 29
10
create new clientconfigs database
Hi, I''m upgrading from 23.2 to the latest and have "dbmigrate = true"
in my config.
When I try to run puppetd, I''m getting:
Could not migrate database: SQLite3::SQLException: no such table:
schema_info: SELECT version FROM schema_info
I''m perfectly blowing away my old db (by deleting /var/lib/puppet/
state/clientconfigs.sqlite3 ?), but I haven''t
2007 Dec 18
5
resource collection error
I''m seeing these in my logs on my puppetmaster:
puppetmasterd[4111]: Could not store configs: SQLite3::SQLException: SQL
logic error or missing database: DELETE FROM fact_values
WHERE "id" = 8
currently this is 0.24.0
relect from some previously collected resource that wasn''t cleaned up?
upgrade issue?
nothing to worry about?
that''s the only
2006 Oct 30
4
Excel Read only file bug back on 3.0.23x?
Hi,
I believe that the BUG 2346 which was resolved in samba 3.0.14 has come back in the 3.0.23 series.
Here is what I have noticed on two separate configurations. The samba packages were built on each
machine using rpmbuild with the SRPMS provided for Fedora in the samba web site.
Configuration 1.
Two machines running with RHEL4, samba 3.0.23b-1, drbd-0.7.21 protocol C.
Kernel:
2010 Mar 04
2
exec failure
Hello,
I''m using puppet 0.25.1 - and I''m trying to create a custom resource to
use launchctl to stop a launchd job.
command => "launchctl stop `launchctl list | grep $job_real | cut -f 3`",
yeilds:
err:
//sav/Stop_launchd_job[com.Symantec.SymSecondaryLaunch]/Exec[com.Symantec.SymSecondaryLaunch]/returns:
change from notrun to 0 failed: launchctl stop `launchctl
2011 Apr 05
4
Rails 3.0.5 gives SQLite3::SQLException for the same code that works on 3.0.3
Hello,
I recently updated Rails to 3.0.5. The very same code that worked on
3.0.3 now gives error.
The code is:
def kategorialista
Kategoria.where(:elfogadva => TRUE).order("nev").collect {|s|
[s.nev, s.sefuri]}
end
It is in application_controller.rb with
helper_method :kategorialista
The error it gives on 3.0.5:
SQLite3::SQLException: no such table: kategoria: SELECT
2006 Feb 19
4
is "display" a reserved name of some sort?
A view display.rhtml sees no controller state variables set in the
corresponding display action. Why?
-- fxn
2006 Jun 01
5
History plugin
Hello,
I felt annoyed enough when having to redirect user back to their
previous location in a hackish way that I wrote this plugin.
It avoids storing POST and Ajax request. It also has a facility to
specify actions not to store in the history.
If you are interested, it''s there:
http://blog.cosinux.org/pages/rails-history
See you all,
Damien
--
Damien MERENNE
2011 Jul 20
4
Setup database on new clone
I''ve just cloned my rails app onto another PC, and I''m having a
problem getting the database set up.
I''ve tried rake db:migrate, then db:create and also db:reset, but I
keep getting an SQLException "no such table". It seems this is due to
a line in an initializer which accesses one of my tables.
Why do the db:* tasks run the initializers ? Do I need to move
2007 Feb 13
1
Domain Admins with Samba 3.024
I can't seem to get the Domain Admins group members to be recognisd as
administrators on domain member PCs.Running net groupmap list yeilds the
following:
Domain Admins (S-1-5-21-1288424760-4211430746-2168377316-512) -> admin
--irrelevant groups omitted--
Running net rpc group members "Domain Admins" yeilds:
RLRMR\administrator
RLRMR\root
Looging in as administrator on a
2007 Jul 11
10
autocomplete in array
Experts,
have you figure it out with autocomplete to pass as array objects?
still i''m finding out the way to figure. :(
regards,
Bala
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to