similar to: Bus error in ./script/console with postgres (ext. library)

Displaying 20 results from an estimated 2000 matches similar to: "Bus error in ./script/console with postgres (ext. library)"

2007 Apr 29
4
NoMethodError exceptions
I''m getting the following exceptions when running mongrel_rails. Any ideas what might be causing the problem? Error details... $ mongrel_rails /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel/command.rb:168:in `run'': When creating '''': undefined method `downcase'' for nil:NilClass (NoMethodError) from
2005 Oct 19
3
diag() problem
Hi I have a matrix "u", for which diag() gives an error: u <- structure(c(5.42334674128216, -2.31319389204264, -5.83059042218476, -1.64112369640695, -2.31319389212801, 3.22737617646609, 1.85200668021569, -0.57102273078531, -5.83059042231881, 1.85200668008156, 11.9488923894962, -3.5525537165941, -1.64112369587405, -0.571022730886046, -3.55255371755604,
2006 Jan 16
0
PGconn class doesn''t recognize all the function export from postgres.so
Hi, I''m trying to write a new postgresql adapter which interited the old postgres adapter and I try to use the PGconn class, But I find out I can''t access to some of the exported functions in postgres.so (I''m using LINUX) In fact, only the methode export with rb_define_singleton_method can be used, only function s exported with rb_define_method, the PGconn ruby class
2006 Jul 27
7
cannot get past "Booting WEBrick"
Hi Everyone, I am following the ''Agile Web Dev. with Rails'' book, and I used instant rails to do the install on a Windows machine. Everything seemed to work fine until I got to: Booting WEBrick... After that, nothing happens. I tried creating a new rails application, but I get the same problem. I also tried reinstalling to no avail. Any ideas? Thanks for the help.
2006 Jan 07
10
RMagick bus error on OS X in console mode
This is a strange bug that I''ve never seen before. It only shows up when I run the app through the console (the app is Family Connection, and it works fine when run as a web app): 22$ ruby script/console Loading development environment. >> User /opt/local/lib/ruby/vendor_ruby/1.8/powerpc-darwin8.3.0/ RMagick.bundle: [BUG] Bus Error ruby 1.8.2 (2004-12-25)
2007 Apr 18
1
Postgres-pr interface not found
I''ve installed the postgres-pr gem, and it is found using gem list v0.4.0. In my active record source, inside the postgresql_adapter.rb file, I''ve changed line 7 from: require_library_or_gem ''postgres'' unless self.class.const_defined?(:PGconn) to: require_library_or_gem ''postgres-pr'' unless self.class.const_defined?(:PGconn) ...to try and
2006 Apr 21
9
Capistrano, OS X
If you installed your copy of ruby via DarwinPorts, the hashbang lines at the top of your dispatch.* scripts says "#!/opt/local/bin/ruby". This is a problem, if you''re deployin via Capistrano to a host with a different path to ruby (which would be practially all of them:-) Here''s a fix. Add this "fix_hashbangs.rb" script to your script directory.
2006 May 25
5
Weird Capistrano problem
I''m having problems launching the spin process via the deploy.rb task. Everything works great when is run the script manually via: % ssh admin@monterey.example.net /Web/Rails/Example/current/script/spin However, when I run ''cap spinner'' or ''rake remote:exec ACTION=spinner'', I get the following errors: % cap spinner loading configuration
2005 Aug 22
2
ezstream and OSX 10.4.2 Tiger...
Hello again, I'm having a dickens of a time getting ezstream configured - it requires libshout2 - so far so good. I installed the darwin ports library, did a port install libogg and then a port install libvorbis. Now, when I try to do a port install libshout2, configure returns the following. Any idea why it isn't working? Darwinport is configured to install in it's
2005 Dec 21
1
Escape bytea binary data in postgres SQL
Hi! I want to escape binary data correctly either manually or using some pre-defined function that does this for me! I have found on the web: PGconn.escape_bytea but I only get "undefined method". Any ideas, what is the correct way of doing this my self? I''m using Rails (WEBrick) under Windows XP with postgre-pr 0.4.0 I have tried: s_buffer = s_buffer.gsub(/['']/,
2006 Feb 09
9
RMagick on OS X - HOW
Hello all. I''m a seasoned system administrator and have no fear of building source packages on a variety of platforms, but RMagick has, until recently, evaded all of my attempts to building it on my PowerBook. Someone else just mentioned that they had trouble with RMagick on OS X (Intel, don''t really know if my advice will help) so I decided to post a HOWTO to the list. I
2004 Jun 23
0
UPDATE Patch for postgres enabled app_voicemail.c
I forgot to take out the portion that would read in the voicemail boxes from the text file. If you want to leave it in then you could have some voicemail boxes defined in the text voicemail.conf. I do not, so I have removed it. Below is the new patch: *** app_voicemail.c 2004-06-23 07:55:54.000000000 -0600 --- app_voicemail.c.new 2004-06-23 07:55:47.000000000 -0600 *************** *** 49,61 ****
2004 Jun 23
0
Patch for postgres enabled app_voicemail.c
Hello all, I am just getting going on building my system, but I thought I'd send you all a patch that I wrote so the command: show voicemail users issued from the CLI works properly when there is a postgres backend for the voicemail. The current version of the app does not display the voicemail boxes found in a database. It is called in the load_config function. I haven't done
2006 May 25
12
RMagick install problems, advice needed
Hi guys, im trying to install rmagick on windows but i have some problems with the post install, im using win2000, ruby 1.8.4 and rails 1.1, all working well. Then i downloaded RMagick-1.9.2-IM-6.2.4-6-win32.zip from http://rubyforge.org/projects/rmagick/ extracted and do the gem install RMagick-win32-1.9.2-mswin32.gem , the gem was installed sucesfully but when i do the postinstall.rb i get
2006 Aug 26
0
postgres-pr barfs at ActiveRecord::Base.allow_concurrency = true
Hi List, first of thank you Ezra for BackgroundRB. Very cool plugin indeed! This is a public service FYI. In case you are running postgres as your database backend and you are seeing the following errors in your backgroundrb.log: ActiveRecord::StatementInvalid: NoMethodError: undefined method `async_query'' for #<PGconn:0x22ed648>: You are using the postgres-pr adapter
2006 May 23
1
package installation problem
(this after asking the package author) Hi I cannot install the rmvnorm package under R-2.3.0, or R-2.3.1 beta. It installs fine under R-2.2.1. transcript for installation under R-2.3.0 follows. Robin-Hankins-Computer:~/scratch% R --version R version 2.3.0 (2006-04-24) Copyright (C) 2006 R Development Core Team R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to
2006 Feb 09
4
Ruby 1.8.4 trouble
Hi! The ruby installation on my FreeBSD-6 box have been upgraded from 1.8.2 to 1.8.4 by accident. And now all my rails have stopped working. I can''t produce any cool debug info since I have none. running script/ server just coredumps. Running the sites through apache isn''t an option since apache won''t start (get lots of these in my log: [Thu Feb 09 10:38:19
2007 Mar 05
3
postgres barfage revisted
First of all, I''d like to do what I''ve seen several others here do: thank Ezra and any other contributors for producing a really great plugin. Even though I''m having some minor problems, this is all so approachable and easy to work with and dig into... I hate to think of the hoops you''d need to jump through (both as creator of such a system and as a user) to
2005 Aug 26
0
Installing Ices on OSX 10.4.2
Hello, I have been unable to install Ices2 on the latest version of Tiger. I have tried two methods: one using DarwinPorts to install, and the other grabbing the source and building it myself. Both seem to exit compilation with the same or similar errors that I don't understand. I am not a C hacker, so I won't be able to solve this myself. All the supporting libs installed just fine
2005 Dec 19
15
OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
OpenSSL::SSL::SSLError: SSL_CTX_new:: library has no ciphers This error is thrown whenever I use anything that uses Net::HTTP. OS X Tiger, ruby 1.8.2 (2004-12-25) [powerpc-darwin8.2.1] What could it mean? Joshua Sierles