[resolved] Ubuntu installation -> "Invalid Char" error's in mingle.log#518
|
|
Hi, I have downloaded and extracted the mingle archive (“mingle_unix_2_0_8323.tar.gz”). After setting up JVM and hitting the instance for the first time, I get a an “unexpected error”, and I can go no further. On closer inspection, I can see that in the “logs” folder is a “mingle.log”, and in there are loads of “Invalid Char” error’s on line 1 of “project_structure_change_cache_sweeper.rb”. When I attempt to open this file in any number of text editors, it appears to me to be corrupt – it looks like a binary file. All the other .rb files are the same. Can anyone help me please? Thanks |
|
|
Hi Matt - Could you please send your mingle.log file to our support team and we’ll try to sort this ASAP. <http://studios.thoughtworks.com/mingle-project-intelligence/support-requests> |
|
|
I have found myself in a similar situation. I have created a mingle user/group, installed to /var/mingle (where the whole directory tree has perms for user/group mingle) and on running, as mingle user, get the same error as above. If a solution was found for above, please could you post it here so that I may also fix my installation? Regards, Ubuntu 8.04, short logs below: mingleuser@spudsserver:/var/mingle$ ./MingleServer start 2008-06-01 19:34:56,243 [/] Failed to load Rails: /var/mingle/app/controllers/caching/project_structure_change_cache_sweeper.rb:1: Invalid char `\255’ (‘�’) in expression /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495 /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in `require’ /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in `require’ /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in’ /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in `require’ /var/mingle/config/initializers/fragment_caching.rb:9 /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:488:in `load’ /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:488:in `load’ /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in’ /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:488:in `load’ /var/mingle/config/environment.rb:64:in `load_application_initializers’ /var/mingle/config/environment.rb:63:in `each’ /var/mingle/config/environment.rb:63:in `load_application_initializers’ /var/mingle/config/environment.rb:181 2008-06-01 19:35:01,142 [/] Failed to load Rails: /var/mingle/app/controllers/caching/project_structure_change_cache_sweeper.rb:1: Invalid char `\255’ (‘�’) in expression /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495 /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in `require’ /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in `require’ /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in’ /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in `require’ /var/mingle/config/initializers/fragment_caching.rb:9 /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:488:in `load’ /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:488:in `load’ /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in’ /var/mingle/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:488:in `load’ /var/mingle/config/environment.rb:64:in `load_application_initializers’ /var/mingle/config/environment.rb:63:in `each’ /var/mingle/config/environment.rb:63:in `load_application_initializers’ /var/mingle/config/environment.rb:181 2008-06-01 19:35:02,534 [org.mortbay.log] Shutdown hook executing |
|
|
Hi, Have you tried newest released Mingle 2.0.1? Does this problem still happen with it? |
|
|
Thanks for your response. The mingle site is still giving out 2.0 so I haven’t tried 2.1, no. |
|
|
Hello, 2.0.1 is the latest release and was made available less than 24 hours ago. It is available on our website at http://studios.thoughtworks.com/mingle/trial#download. |
|
|
Ah, sorry – I was a bit quick to jump the gun. I have downloaded and tried to run mingle v 2.0.1, am still getting the same issues. I see the logging format has changed slightly, if you’d like to see the latest versions then let me know, but they basically say the same thing. Thanks for your help! |
|
|
Hi guys. I assume the staleness of this means no one has any other ideas. I’ll post the above to the official support channels and will update this page with any progress. Thanks for all your help. Regards, |
|
|
Don’t know if this helps – but I had this problem and it went away as soon as I made sure the mingle directory (/var/local/mingle in my case) was fully writable. |
|
|
Setve, you are right We have find out that this problem is caused by file permission issue ( though the error message is confusing :) ) |
