Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
ffcrm running on WinXP?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jiri Slaby  
View profile  
 More options Jan 3 2012, 9:43 am
From: Jiri Slaby <mago...@gmail.com>
Date: Tue, 3 Jan 2012 06:43:43 -0800 (PST)
Local: Tues, Jan 3 2012 9:43 am
Subject: ffcrm running on WinXP?
Hi all,

I am using ffcrm (fatfreecrm-fat_free_crm-0.10.1-rc3-81) on WinXP. I
managed to install and set up a full Ruby environment and compile and
run ffcrm. I found some bugs (cannot access some Accounts - error when
opening the page, etc.). I decided to install the latest version of
ffcrm (fatfreecrm-fat_free_crm-0.10.1-rc3-408). It cannot compile.
Every week I try to get the latest git source code, uncompress it to
the new directory, amend config and DB files and using 'bundle
install' I try to install this new versions. Every time since that old
version it fails. For the last 4 weeks it fails at

Using ruby-progressbar (0.0.10)
Using fuubar (0.0.6)
Using haml (3.1.4)
Installing kgio (2.7.0) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension
.

        D:/Ruby/bin/ruby.exe extconf.rb
checking for CLOCK_MONOTONIC in time.h... no
checking for CLOCK_MONOTONIC() in time.h... no
checking for clockid_t in time.h... no
checking for clock_gettime() in -lrt... no
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for poll() in poll.h... no
checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... no
getaddrinfo required
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

When googling I have found that kgio is *NIX only.

Am I right that ffcrm is no longer intended to run on Win* systems? Or
is there a way how to overcome this (e.g. to install getaddrinfo
manually)?

Many thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Broadbent  
View profile  
 More options Jan 3 2012, 7:45 pm
From: Nathan Broadbent <nathan....@gmail.com>
Date: Wed, 4 Jan 2012 08:45:23 +0800
Local: Tues, Jan 3 2012 7:45 pm
Subject: Re: [fat-free-crm-users:670] ffcrm running on WinXP?

Hi Jiri,

Sorry about that, I have added the 'unicorn' gem to the Gemfile for heroku
deployments, and this depends on 'kgio'. Sorry that this broke your
installation on windows.
You can safely ignore the unicorn gem under the :heroku group in the
Gemfile, by running 'bundle install --without heroku'. I hope you can get
FFCRM running again after this. I'll also add that to the README.

We do still want to support windows. Unfortunately, we don't have a way of
detecting problems automatically, since our CI service (Travis CI) can't
run tests on Windows (yet).

Regards,
Nathan B


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Magovec  
View profile  
 More options Jan 4 2012, 2:42 am
From: Magovec <mago...@gmail.com>
Date: Tue, 3 Jan 2012 23:42:02 -0800 (PST)
Local: Wed, Jan 4 2012 2:42 am
Subject: Re: ffcrm running on WinXP?
Thanks for this hint. Tried it righaway. Unfortunately it fails still,
but somewhere else:

--------------------------------------
Using ruby-progressbar (0.0.10)
Using fuubar (0.0.6)
Using haml (3.1.4)
Installing libv8 (3.3.10.4) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension
.

        D:/Ruby/bin/ruby.exe extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=D:/Ruby/bin/ruby
Checking for Python...Unable to build libv8: Python not found!

Gem files will remain installed in D:/Ruby/lib/ruby/gems/1.9.1/gems/
libv8-3.3.10
.4 for inspection.
Results logged to D:/Ruby/lib/ruby/gems/1.9.1/gems/libv8-3.3.10.4/ext/
libv8/gem_
make.out
An error occured while installing libv8 (3.3.10.4), and Bundler cannot
continue.

Make sure that `gem install libv8 -v '3.3.10.4'` succeeds before
bundling.
--------------------------------------

I googled again and found this

https://github.com/fractaloop/libv8/issues/25

where the solutoon is definitely a sad one.

More googling reveald also this

https://github.com/cowboyd/less.rb/issues/15

where the answer leads to

https://github.com/cowboyd/therubyracer/issues/133

respectively to

http://groups.google.com/group/rubyinstaller/browse_thread/thread/72b...

where the answer is even worse that the first one.

But I do not want to give up. I still believe that ffcrm is the tool
that I want to use (did not find any better that is that light I
need).

As a summary is Python needed for libv8? If so how if is possible that
for that old version of ffcrm I installed 'bundle install' (even with
heroku) without problems including libv8. I did not change my
environment at all (Python is not installed). I am confused here a
bit :(

Thanks
Jiri

On 4 led, 01:45, Nathan Broadbent <nathan....@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Broadbent  
View profile  
 More options Jan 4 2012, 3:07 am
From: Nathan Broadbent <nathan....@gmail.com>
Date: Wed, 4 Jan 2012 16:07:01 +0800
Local: Wed, Jan 4 2012 3:07 am
Subject: Re: [fat-free-crm-users:672] Re: ffcrm running on WinXP?

Hi Jiri,

Sorry again. 'therubyracer' gem uses the libv8 javascript engine to compile
coffeescript.
However, Windows should come with JScript, which rails (via
execjs<https://github.com/sstephenson/execjs>)
will automatically detect and use, so libv8 and therubyracer should not be
necessary on Windows. So I have changed the Gemfile again to make the
'therubyracer' only install for *nix.

Please do update and try again, and let me know if there are any more
problems.

Thanks,
Nathan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Magovec  
View profile  
 More options Jan 4 2012, 5:22 am
From: Magovec <mago...@gmail.com>
Date: Wed, 4 Jan 2012 02:22:37 -0800 (PST)
Local: Wed, Jan 4 2012 5:22 am
Subject: Re: ffcrm running on WinXP?
No problem. I am happy to help by acting as a Win proof-tester.

'bundle install --without heroku' finished correctly now. Then 'rake
crm:upgrade:schema' failed

------------------
D:\www\fat>rake crm:upgrade:schema
rake aborted!
Expected D:/www/fat/app/helpers/tags_helper.rb to define TagsHelper

Tasks: TOP => crm:upgrade:schema => environment
(See full trace by running task with --trace)
------------------

so I run it with --trace

------------------
D:\www\fat>rake crm:upgrade:schema --trace
** Invoke crm:upgrade:schema (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Expected D:/www/fat/app/helpers/tags_helper.rb to define TagsHelper
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/dependen
cies.rb:490:in `load_missing_constant'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/dependen
cies.rb:181:in `block in const_missing'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/dependen
cies.rb:179:in `each'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/dependen
cies.rb:179:in `const_missing'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/inflecto
r/methods.rb:124:in `block in constantize'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/inflecto
r/methods.rb:123:in `each'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/inflecto
r/methods.rb:123:in `constantize'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/core_ext
/string/inflections.rb:43:in `constantize'
D:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/
abstract_controller/helper
s.rb:136:in `block in modules_for_helpers'
D:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/
abstract_controller/helper
s.rb:131:in `map!'
D:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/
abstract_controller/helper
s.rb:131:in `modules_for_helpers'
D:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/
action_controller/metal/he
lpers.rb:89:in `modules_for_helpers'
D:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/
abstract_controller/helper
s.rb:95:in `helper'
D:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/
action_controller/railties
/paths.rb:17:in `block (2 levels) in with'
D:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_view/
test_case.rb:1
1:in `<class:TestCase>'
D:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_view/
test_case.rb:1
0:in `<module:ActionView>'
D:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_view/
test_case.rb:8
:in `<top (required)>'
D:/Ruby/lib/ruby/gems/1.9.1/gems/prototype-rails-3.1.0/lib/prototype-
rails/on_lo
ad_action_view.rb:17:in `<top (required)>'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/dependen
cies.rb:240:in `require'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/dependen
cies.rb:240:in `block in require'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/dependen
cies.rb:225:in `load_dependency'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/dependen
cies.rb:240:in `require'
D:/Ruby/lib/ruby/gems/1.9.1/gems/prototype-rails-3.1.0/lib/prototype-
rails.rb:12
:in `block (2 levels) in <class:Engine>'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/lazy_loa
d_hooks.rb:36:in `instance_eval'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/lazy_loa
d_hooks.rb:36:in `execute_hook'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/lazy_loa
d_hooks.rb:26:in `on_load'
D:/Ruby/lib/ruby/gems/1.9.1/gems/prototype-rails-3.1.0/lib/prototype-
rails.rb:11
:in `block in <class:Engine>'
D:/Ruby/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/
initializable.rb:30:in
 `instance_exec'
D:/Ruby/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/
initializable.rb:30:in
 `run'
D:/Ruby/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/
initializable.rb:55:in
 `block in run_initializers'
D:/Ruby/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/
initializable.rb:54:in
 `each'
D:/Ruby/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/
initializable.rb:54:in
 `run_initializers'
D:/Ruby/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/
application.rb:96:in `
initialize!'
D:/Ruby/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/railtie/
configurable.r
b:30:in `method_missing'
D:/www/fat/config/environment.rb:5:in `<top (required)>'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/dependen
cies.rb:240:in `require'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/dependen
cies.rb:240:in `block in require'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/dependen
cies.rb:223:in `block in load_dependency'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/dependen
cies.rb:640:in `new_constants_in'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/dependen
cies.rb:223:in `load_dependency'
D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/
active_support/dependen
cies.rb:240:in `require'
D:/Ruby/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/
application.rb:83:in `
require_environment!'
D:/Ruby/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/
application.rb:193:in
`block (2 levels) in initialize_tasks'
D:/Ruby/lib/ruby/1.9.1/rake/task.rb:205:in `call'
D:/Ruby/lib/ruby/1.9.1/rake/task.rb:205:in `block in execute'
D:/Ruby/lib/ruby/1.9.1/rake/task.rb:200:in `each'
D:/Ruby/lib/ruby/1.9.1/rake/task.rb:200:in `execute'
D:/Ruby/lib/ruby/1.9.1/rake/task.rb:158:in `block in
invoke_with_call_chain'
D:/Ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
D:/Ruby/lib/ruby/1.9.1/rake/task.rb:151:in `invoke_with_call_chain'
D:/Ruby/lib/ruby/1.9.1/rake/task.rb:176:in `block in
invoke_prerequisites'
D:/Ruby/lib/ruby/1.9.1/rake/task.rb:174:in `each'
D:/Ruby/lib/ruby/1.9.1/rake/task.rb:174:in `invoke_prerequisites'
D:/Ruby/lib/ruby/1.9.1/rake/task.rb:157:in `block in
invoke_with_call_chain'
D:/Ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
D:/Ruby/lib/ruby/1.9.1/rake/task.rb:151:in `invoke_with_call_chain'
D:/Ruby/lib/ruby/1.9.1/rake/task.rb:144:in `invoke'
D:/Ruby/lib/ruby/1.9.1/rake/application.rb:116:in `invoke_task'
D:/Ruby/lib/ruby/1.9.1/rake/application.rb:94:in `block (2 levels) in
top_level'

D:/Ruby/lib/ruby/1.9.1/rake/application.rb:94:in `each'
D:/Ruby/lib/ruby/1.9.1/rake/application.rb:94:in `block in top_level'
D:/Ruby/lib/ruby/1.9.1/rake/application.rb:133:in
`standard_exception_handling'
D:/Ruby/lib/ruby/1.9.1/rake/application.rb:88:in `top_level'
D:/Ruby/lib/ruby/1.9.1/rake/application.rb:66:in `block in run'
D:/Ruby/lib/ruby/1.9.1/rake/application.rb:133:in
`standard_exception_handling'
D:/Ruby/lib/ruby/1.9.1/rake/application.rb:63:in `run'
D:/Ruby/bin/rake:32:in `<main>'
Tasks: TOP => crm:upgrade:schema => environment
------------------

So I have not run rake db:migrate yet until you tell me that the
schema upgrade is not needed and I can skip this step.

Thanks for your help so far. We will fine-tune this to enable FFCRM on
Windows :-)

Jiri

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Magovec  
View profile  
 More options Jan 4 2012, 5:34 am
From: Magovec <mago...@gmail.com>
Date: Wed, 4 Jan 2012 02:34:55 -0800 (PST)
Local: Wed, Jan 4 2012 5:34 am
Subject: Re: ffcrm running on WinXP?
Perhaps one more thing how I prepare every new environment. For you to
validate if I am not missing something or doing it wrong.

1. Download full source code from github
2. rename the old ffcrm directory
3. Unpack the new source code to the fat directory where the previous
version was (now it is empty)
4. copy database.yml from the old version
5. copy all fat_free_crm_development.sqlite3 files to the DB directory
6. run bundle install --without heroku
7. run rake crm:upgrade:schema
8. run db:migrate
9. run rails server

Till now we are successfully between 6 and 7.

Jiri

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Magovec  
View profile  
 More options Jan 5 2012, 9:07 am
From: Magovec <mago...@gmail.com>
Date: Thu, 5 Jan 2012 06:07:00 -0800 (PST)
Subject: Re: ffcrm running on WinXP?
I also tried to do a fresh install (not to migrate) and instead of
crm:upgrade I run db:create. It completed successfully, but then the
next (setup) step failed for the same reason as crm:upgrade:schema.

------------------
D:\www\fat>rake db:create

D:\www\fat>
D:\www\fat>rake crm:setup
rake aborted!
Expected D:/www/fat/app/helpers/tags_helper.rb to define TagsHelper

Tasks: TOP => crm:setup => environment
(See full trace by running task with --trace)
------------------

Jiri

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Broadbent  
View profile  
 More options Jan 5 2012, 12:22 pm
From: Nathan Broadbent <nathan....@gmail.com>
Date: Fri, 6 Jan 2012 01:22:48 +0800
Local: Thurs, Jan 5 2012 12:22 pm
Subject: Re: [fat-free-crm-users:676] Re: ffcrm running on WinXP?

Hi Jiri,

I'm sorry, I really don't know why you are getting that error. I've never
seen that before, and cannot reproduce it (on Linux, at least).
Would you please be able to tell me which Ruby version you are using, and
how you installed Ruby and Rails on Windows? Also, are you using any
plugins?

Thanks,
Nathan

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Magovec  
View profile  
 More options Jan 5 2012, 12:34 pm
From: Magovec <mago...@gmail.com>
Date: Thu, 5 Jan 2012 09:34:45 -0800 (PST)
Local: Thurs, Jan 5 2012 12:34 pm
Subject: Re: ffcrm running on WinXP?
Hi,

hmm strange.

-----------------
D:\www\fat>ruby -v
ruby 1.9.3p0 (2011-10-30) [i386-mingw32]

D:\www\fat>rails -v
Rails 3.1.3
-----------------

No plugins I am aware of. Or tell me which command I should run to
give you the best info you need.

I can also show you all gems I am using. The several versions you can
see happens as I run bundle install several times during the last
month and some versions of ffcrm downloaded newer gems.

-----------------
D:\www\fat>gem list

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.1.3, 3.1.1, 3.0.7)
actionpack (3.1.3, 3.1.1, 3.0.7)
activemodel (3.1.3, 3.1.1, 3.0.7)
activerecord (3.1.3, 3.1.1, 3.0.7)
activeresource (3.1.3, 3.1.1, 3.0.7)
activesupport (3.1.3, 3.1.1, 3.0.7)
acts-as-taggable-on (2.2.1, 2.2.0, 2.1.1)
acts_as_commentable (3.0.1)
acts_as_list (0.1.4)
annotate (2.4.1.beta1, 2.4.0)
arel (2.2.1, 2.0.10)
authlogic (3.1.0, 3.0.3)
awesome_print (1.0.2, 1.0.1, 0.4.0)
bigdecimal (1.1.0)
builder (3.0.0, 2.1.2)
bundle (0.0.1)
bundler (1.0.21)
cocaine (0.2.1, 0.2.0)
coffee-rails (3.1.1)
coffee-script (2.2.0)
coffee-script-source (1.2.0, 1.1.3, 1.1.2)
diff-lcs (1.1.3)
erubis (2.7.0, 2.6.6)
execjs (1.2.13, 1.2.12, 1.2.9)
factory_girl (2.3.2, 2.1.0, 1.3.3)
factory_girl_rails (1.4.0, 1.0.1)
ffaker (1.11.0, 1.10.1, 1.8.1)
fuubar (0.0.6)
haml (3.1.4, 3.1.3)
hike (1.2.1)
hoe (2.12.3)
i18n (0.6.0, 0.5.0)
io-console (0.3)
json (1.6.4, 1.6.3, 1.6.1, 1.5.4)
mail (2.3.0, 2.2.19)
mime-types (1.17.2, 1.16)
minitest (2.5.1)
multi_json (1.0.4, 1.0.3)
paperclip (2.4.5, 2.3.16)
pg (0.12.0 x86-mingw32)
polyglot (0.3.3, 0.3.2)
prototype-rails (3.1.0)
rack (1.3.6, 1.3.5, 1.2.3)
rack-cache (1.1)
rack-mount (0.8.3, 0.6.14)
rack-ssl (1.3.2)
rack-test (0.6.1, 0.5.7)
rails (3.1.3, 3.1.1, 3.0.7)
railties (3.1.3, 3.1.1, 3.0.7)
rake (0.9.2.2, 0.8.7)
rake-compiler (0.7.9)
rdoc (3.12, 3.11, 3.9.4)
rspec (2.7.0, 2.6.0)
rspec-core (2.7.1, 2.6.4)
rspec-expectations (2.7.0, 2.6.0)
rspec-instafail (0.1.9)
rspec-mocks (2.7.0, 2.6.0)
rspec-rails (2.7.0, 2.6.1)
ruby-progressbar (0.0.10)
sass (3.1.12, 3.1.10, 3.1.7)
sass-rails (3.1.5, 3.1.4)
simple_form (1.5.2)
sprockets (2.0.3)
sqlite3 (1.3.5 x86-mingw32, 1.3.4 x86-mingw32)
test-unit (1.2.3)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.31, 0.3.29)
uglifier (1.2.1, 1.1.0)
will_paginate (3.0.2, 3.0.0)

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Broadbent  
View profile  
 More options Jan 5 2012, 2:27 pm
From: Nathan Broadbent <nathan....@gmail.com>
Date: Fri, 6 Jan 2012 03:27:42 +0800
Local: Thurs, Jan 5 2012 2:27 pm
Subject: Re: [fat-free-crm-users:678] Re: ffcrm running on WinXP?

Thanks, that helps! I installed Ruby 1.9.3 and reproduced the error. We
hadn't started to support Ruby 1.9.3 yet, but it's about time.

I figured out the cause of the TagsHelper problem (a conflicting module in
the acts-as-taggable-on gem), so it be fixed at
bfd0bb3<https://github.com/fatfreecrm/fat_free_crm/commit/bfd0bb3adf15f2b763e...>
.
I hope this latest change solves your problem. Thanks for your patience!

Regards,
Nathan

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Magovec  
View profile  
 More options Jan 5 2012, 2:52 pm
From: Magovec <mago...@gmail.com>
Date: Thu, 5 Jan 2012 11:52:42 -0800 (PST)
Local: Thurs, Jan 5 2012 2:52 pm
Subject: Re: ffcrm running on WinXP?
Perfect! That was it. Now it compiles without problems including DB
migration.

FFCRM is running again! :-) Thanks for your support.

Unfortunately, it did not solve the problem why I originally decided
to install a new version of ffcrm. Perhaps you can advise also here.

ffcrm was running ok, I was using it and one day suddenly when I click
on the Accounts tab and then on a particular account to show all its
opportunities it shows this error (the URL is http://localhost:3000/accounts/12):

-------------
NoMethodError in Accounts#show

Showing D:/www/fat/app/views/accounts/_sidebar_show.html.haml where
line #2 raised:

You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.+
Extracted source (around line #2):

1: - won = @account.opportunities.won.map(&:amount).sum
2: - lost = @account.opportunities.lost.map(&:amount).sum
3: - pipeline =
@account.opportunities.pipeline.map(&:weighted_amount).sum
4:
5: .panel#summary
Trace of template inclusion: app/views/layouts/_sidebar.html.haml, app/
views/layouts/_tabbed.html.haml, app/views/layouts/
application.html.haml

Rails.root: D:/www/fat

Application Trace | Framework Trace | Full Trace
app/views/accounts/_sidebar_show.html.haml:2:in
`_app_views_accounts__sidebar_show_html_haml___1033353113_29508012'
app/views/layouts/_sidebar.html.haml:8:in
`_app_views_layouts__sidebar_html_haml__795503163_29392224'
app/views/layouts/_tabbed.html.haml:16:in
`_app_views_layouts__tabbed_html_haml__196030962_28885440'
app/views/layouts/application.html.haml:31:in
`_app_views_layouts_application_html_haml__275871720_28335012'
Request

Parameters:

{"id"=>"12"}
Show session dump

Show env dump

Response

Headers:

None
-----------------

I thought originally that the database got corrupted somehow. So I
used an admin tool to look into tables and records are there with all
IDs. No visible problem. ffcrm is running normally - I can create new
account and opportunities, etc. This happens only at several accounts.

Jiri


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Broadbent  
View profile  
 More options Jan 5 2012, 3:29 pm
From: Nathan Broadbent <nathan....@gmail.com>
Date: Fri, 6 Jan 2012 04:29:38 +0800
Local: Thurs, Jan 5 2012 3:29 pm
Subject: Re: [fat-free-crm-users:680] Re: ffcrm running on WinXP?

Thanks for reporting that issue! It looks like it was just a bug, so I've
pushed a change that should fix it.

Nathan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Magovec  
View profile  
 More options Jan 6 2012, 2:53 am
From: Magovec <mago...@gmail.com>
Date: Thu, 5 Jan 2012 23:53:04 -0800 (PST)
Local: Fri, Jan 6 2012 2:53 am
Subject: Re: ffcrm running on WinXP?
You were right. That was it. Bug fixed.

Cheers

Jiri


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »