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)?
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).
On Tue, Jan 3, 2012 at 10:43 PM, Jiri Slaby <mago...@gmail.com> wrote: > 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 received this message because you are subscribed to the Google Groups > "Fat Free CRM Users" group. > To post to this group, send email to fat-free-crm-users@googlegroups.com. > To unsubscribe from this group, send email to > fat-free-crm-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/fat-free-crm-users?hl=en.
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.
--------------------------------------
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:
> 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
> On Tue, Jan 3, 2012 at 10:43 PM, Jiri Slaby <mago...@gmail.com> wrote:
> > 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 received this message because you are subscribed to the Google Groups
> > "Fat Free CRM Users" group.
> > To post to this group, send email to fat-free-crm-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > fat-free-crm-users+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/fat-free-crm-users?hl=en.
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.
On Wed, Jan 4, 2012 at 3:42 PM, Magovec <mago...@gmail.com> wrote: > 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.
> 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: > > 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
> > On Tue, Jan 3, 2012 at 10:43 PM, Jiri Slaby <mago...@gmail.com> wrote: > > > 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 received this message because you are subscribed to the Google > Groups > > > "Fat Free CRM Users" group. > > > To post to this group, send email to > fat-free-crm-users@googlegroups.com. > > > To unsubscribe from this group, send email to > > > fat-free-crm-users+unsubscribe@googlegroups.com. > > > For more options, visit this group at > > >http://groups.google.com/group/fat-free-crm-users?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "Fat Free CRM Users" group. > To post to this group, send email to fat-free-crm-users@googlegroups.com. > To unsubscribe from this group, send email to > fat-free-crm-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/fat-free-crm-users?hl=en.
> On 4 led, 09:07, Nathan Broadbent <nathan....@gmail.com> wrote:
> 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
> On Wed, Jan 4, 2012 at 3:42 PM, Magovec <mago...@gmail.com> wrote:
> > 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.
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
> 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
> > On 4 led, 09:07, Nathan Broadbent <nathan....@gmail.com> wrote:
> > 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
> > On Wed, Jan 4, 2012 at 3:42 PM, Magovec <mago...@gmail.com> wrote:
> > > 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.
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)
------------------
> On 4 led, 11:34, Magovec <mago...@gmail.com> wrote:
> 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
> > On 4 led, 11:22, Magovec <mago...@gmail.com> wrote:
> > No problem. I am happy to help by acting as a Win proof-tester.
> > 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
> > > On 4 led, 09:07, Nathan Broadbent <nathan....@gmail.com> wrote:
> > > 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
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?
On Thu, Jan 5, 2012 at 10:07 PM, Magovec <mago...@gmail.com> wrote: > 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.
> Tasks: TOP => crm:setup => environment > (See full trace by running task with --trace) > ------------------
> Jiri
> > On 4 led, 11:34, Magovec <mago...@gmail.com> wrote: > > 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
> > > On 4 led, 11:22, Magovec <mago...@gmail.com> wrote: > > > No problem. I am happy to help by acting as a Win proof-tester.
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.
> On 5 led, 18:22, Nathan Broadbent <nathan....@gmail.com> wrote:
> 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
> On Thu, Jan 5, 2012 at 10:07 PM, Magovec <mago...@gmail.com> wrote:
> > 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.
> > Tasks: TOP => crm:setup => environment
> > (See full trace by running task with --trace)
> > ------------------
> > Jiri
> > > On 4 led, 11:34, Magovec <mago...@gmail.com> wrote:
> > > 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
> > > > On 4 led, 11:22, Magovec <mago...@gmail.com> wrote:
> > > > No problem. I am happy to help by acting as a Win proof-tester.
> 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.
> > On 5 led, 18:22, Nathan Broadbent <nathan....@gmail.com> wrote: > > 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
> > On Thu, Jan 5, 2012 at 10:07 PM, Magovec <mago...@gmail.com> wrote: > > > 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.
> > > Tasks: TOP => crm:setup => environment > > > (See full trace by running task with --trace) > > > ------------------
> > > Jiri
> > > > On 4 led, 11:34, Magovec <mago...@gmail.com> wrote: > > > > 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
> > > > > On 4 led, 11:22, Magovec <mago...@gmail.com> wrote: > > > > > No problem. I am happy to help by acting as a Win proof-tester.
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
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.
> On 5 led, 20:27, Nathan Broadbent <nathan....@gmail.com> wrote:
> 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!
On Fri, Jan 6, 2012 at 3:52 AM, Magovec <mago...@gmail.com> wrote: > 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):
> 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
> > On 5 led, 20:27, Nathan Broadbent <nathan....@gmail.com> wrote: > > 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
> -- > You received this message because you are subscribed to the Google Groups > "Fat Free CRM Users" group. > To post to this group, send email to fat-free-crm-users@googlegroups.com. > To unsubscribe from this group, send email to > fat-free-crm-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/fat-free-crm-users?hl=en.
> On 5 led, 21:29, Nathan Broadbent <nathan....@gmail.com> wrote:
> Thanks for reporting that issue! It looks like it was just a bug, so I've
> pushed a change that should fix it.
> Nathan
> On Fri, Jan 6, 2012 at 3:52 AM, Magovec <mago...@gmail.com> wrote:
> > 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):
> > 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
> > > On 5 led, 20:27, Nathan Broadbent <nathan....@gmail.com> wrote:
> > > 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
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Fat Free CRM Users" group.
> > To post to this group, send email to fat-free-crm-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > fat-free-crm-users+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/fat-free-crm-users?hl=en.