Typo 4.0.3
Posted by Scott Laird Fri, 18 Aug 2006 04:14:24 GMT
Typo 4.0.3. It’s available as a .gem as well as tar and zip files. This is a bugfix release, fixing several small bugs that have been reported since 4.0.2.
Posted by Scott Laird Fri, 18 Aug 2006 04:14:24 GMT
Typo 4.0.3. It’s available as a .gem as well as tar and zip files. This is a bugfix release, fixing several small bugs that have been reported since 4.0.2.
Comments are disabled
Upgrading seems to have a problem:
Making scripts executable Checking database Creating initial database /usr/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer/databases.rb:119:inread’: No such file or directory - /home/wijnand/typo/db/schema.postgres.sql (Errno::ENOENT) from /usr/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer/databases.rb:119:increate' from /usr/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:479:increateinitialdatabase’ from /usr/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:689:inin_directory' from /usr/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:478:increateinitialdatabase’ from /usr/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:213:ininstall_sequence' from /usr/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:192:ininstall’ from /usr/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer/commands.rb:95:incommand' from /usr/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:646:inexecute_command’ from /usr/lib/ruby/gems/1.8/gems/typo-4.0.3/bin/typo:39 from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:inload' from /usr/bin/typo:18That doesn’t look like an upgrade–the line “Creating initial database” shows that the installer couldn’t connect to the existing DB.
What does ‘typo config /home/wijnand/typo’ show?
Aftter If I try to use the “Update database now” of the Typo interface I get an “Application error”, but if I execute
rake migrate RAILS_ENV=productionI get the following error:Sorry, the error (by the way, Typo administration says I’m currently using database version 50 and the new one is 53)
== FixCanonicalServerUrl: migrating rake aborted! private method 'gsub' called for nil:NilClass./lib/tasks/release.rake:17 ./lib/tasks/release.rake:11:in 'initialize' ./lib/tasks/release.rake:11:in 'new' ./lib/tasks/release.rake:11 /home/.declan/x/typo/config/../vendor/rails/railties/lib/tasks/rails.rb:7:in 'load' /home/.declan/x/typo/config/../vendor/rails/railties/lib/tasks/rails.rb:7 /home/.declan/x/typo/config/../vendor/rails/railties/lib/tasks/rails.rb:7:in 'each' /home/.declan/x/typo/config/../vendor/rails/railties/lib/tasks/rails.rb:7 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in 'require__' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in 'require' /home/.declan/x/typo/Rakefile:10 /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1828:in 'load' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1828:in 'load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1900:in 'run' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /usr/bin/rake:18:in 'load' /usr/bin/rake:18Now I get the following error
private method 'gsub' called for nil:NilClass ./db/migrate//051_fix_canonical_server_url.rb:10:in 'real_up'I think there is a problem with the gsub replace of the canonical server url
I just installed Typo on textdrive.
I used: svn co svn://typosphere.org/typo/trunk/ .
and got 4.0.3
my database is version 50 and it says the new one is 55
When I first login it tells me to Update Database now. I try it and:
I get Application Error (RAILS)
Now
I’m having some problems while installing the sqlite3-ruby dependency needed to install typo with the gem install package on my hosted Site5 account.
This is what I’ve done so far:
$ export GEM_PATH=~/gems $ gem install -i ~/gems typo
This prompts me to install the various dependencies, all of which are successfully installed except sqlite3-ruby 1.1.0 (ruby), which errors out because it can’t find sqlite3.h.
So, I try to install sqlite3-ruby by itself:
$ gem install -i ~/gems sqlite3-ruby
Same problem…
ERROR: While executing gem … (RuntimeError) ERROR: Failed to build gem native extension. Gem files will remain installed in /home/webbplan/gems/gems/sqlite3-ruby-1.1.0 for inspection. ruby extconf.rb install -i /home/webbplan/gems sqlite3-rubynchecking for sqlite3.h… no
The results I’ve found thus far point to sqlite3 not being installed, but as far as I can tell sqlite3 version 3.3.3 is installed in /usr/bin/sqlite3.
Any ideas?
Hi Scott,
I am still using typo 2.6 and wonder if there is an update path? In particular I like to install typo 4.0.3 from scratch and reimport the old blog posts. Is that possible?
Cheers, Mariano
i am getting:
when running rake migrate. searching the web gives me no answers. i was poking around here:
http://www.typosphere.org/trac/ticket/1093
and it says the ticket is closed and fixed. i did an svn up on my install to make sure and i get the same error.
someone posted here:
http://blog.aidenbordner.com/articles/2006/07/24/getting-typo-4-0-0-running-on-dreamhost
that they commented out a line in the
file. i can’t find any other info on the repercussions of doing so in the long run so i would prefer not to if possible.
any help would be appreciated.