Recent Posts by Darrel Miller

Subscribe to Recent Posts by Darrel Miller 4 post(s) found

Jun 4, 2008
Avatar Darrel Miller 4 post(s) #1645

Topic: ThoughtWorks "IT Matters" Podcast Discussion / Podcast #4 & #5 Discussion: REST

Where exactly are the .mp3 files? The RSS feed is invalid. The .m4a files that are referred to in the feed will not play in Windows Media Player. I’m sorry but I refuse to install ITunes just to listen to this podcast.
Sorry about the tone, I’m just frustrated.

 
Apr 16, 2008
Avatar Darrel Miller 4 post(s) #1228

Topic: Mingle Bug Reports / REST API docs have wrong URL

The examples use the following url

http://user:password@your.mingle.server:8080/project/example_project/cards/42.xml

I believe that “project” should be “projects”.

P.S. Roy would be a tad disappointed in your application of “hypermedia as an engine of application state”. :-)

 
Apr 16, 2008
Avatar Darrel Miller 4 post(s) #1226

Topic: Troubleshooting Installation of Mingle / 2.0 Upgrade failed - W2K3/Postgres

RESOLVED.
I deleted all the tables in my database.
Restored the database from a backup.
Reinstalled Mingle 1.1
Tested to make sure it worked.
Uninstalled Mingle 1.1 – rebooted
Installed Mingle 2.0.
Web browser came up with 404 error.
Waited a few minutes.
Mingle 2.0 came up and seems to be running fine.

 
Apr 15, 2008
Avatar Darrel Miller 4 post(s) #1225

Topic: Troubleshooting Installation of Mingle / 2.0 Upgrade failed - W2K3/Postgres

Environment:
Windows 2003 Enterprise Server running in VMWare VM
Postgres 8.2

Upgrading a V1.1 to 2
The V1.1 was previously migrated from 1.0

From the error log:

2008-04-15 20:22:29,388 [/] Migrating to CreateCardDefaults (73)

2008-04-15 20:22:32,210 [/] Migration failed

2008-04-15 20:22:32,210 [/] Couldn’t find M73Project with ID=4

2008-04-15 20:22:32,210 [/] migration failed
C:/Program Files/Mingle-2_0/vendor/rails/activerecord/lib/active_record/base.rb:1031:in `find_one’: Couldn’t find M73Project with ID=4 (ActiveRecord::RecordNotFound) from C:/Program Files/Mingle-2_0/vendor/rails/activerecord/lib/active_record/base.rb:1014:in `find_from_ids’ from C:/Program Files/Mingle-2_0/vendor/rails/activerecord/lib/active_record/base.rb:419:in `find’ from C:/Program Files/Mingle-2_0/vendor/rails/activerecord/lib/active_record/base.rb:1643:in `reload’ from C:/Program Files/Mingle-2_0/db/migrate/073_create_card_defaults.rb:52:in `column_holders’ from C:/Program Files/Mingle-2_0/db/migrate/073_create_card_defaults.rb:46:in `update’ from C:/Program Files/Mingle-2_0/db/migrate/073_create_card_defaults.rb:86:in `up’ from C:/Program Files/Mingle-2_0/db/migrate/073_create_card_defaults.rb:75:in `each’ from C:/Program Files/Mingle-2_0/db/migrate/073_create_card_defaults.rb:75:in `up’ ... 7 levels… from C:/Program Files/Mingle-2_0/vendor/rails/activerecord/lib/active_record/migration.rb:288:in `migrate’ from C:\Program Files\Mingle-2_0\app\models\license.rb:83:in `do_migration’ from

The part I don’t understand is in the ruby code for migration step 73, I found the following:

class M73Project < ActiveRecord::Base set_table_name ”#{ActiveRecord::Base.table_name_prefix}projects”

The problem is, in my database the projects table is not prefixed at all. The cards, card_defaults and card_versions are prefixed, but not the projects table.

Darrel