Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8240039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T20:21:03+00:00 2026-06-07T20:21:03+00:00

What does the following error message mean? fence has already activated — too late

  • 0

What does the following error message mean?

fence has already activated — too late to add writes

Here’s an example of how to get it:

Environment:

  • Mac OS X Lion
  • Meteor 0.3.8

Project creation:

meteor create test
cd test
meteor add coffeescript http
mv test.js test.coffee
meteor

test.coffee:

Records = new Meteor.Collection("records")

if Meteor.is_client
    Meteor.startup ->
        Meteor.call "test"

if Meteor.is_server
    Meteor.methods
        test: ->
            Meteor.http.get "http://www.meteor.com", ->
                Records.insert some:"data"
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T20:21:06+00:00Added an answer on June 7, 2026 at 8:21 pm

    Once the method is done executing you can’t add additional writes. To delay completing the methods you can use Futures. Something like this:

    Meteor.methods({
      foo: function() {
        var futures = _.map(urls, function(url) {
          var future = new Future();
          var onComplete = future.resolver();
    
          Meteor.http.get(url, function(error, result) {
            // do whatever you need
    
            onComplete();
          });
    
          return future;
        });
    
        Future.wait(futures);
      }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What does the following error message mean? AttributeError: 'NoneType' object has no attribute 'tk'
What does the following error message mean? cannot override a concrete member without a
I got following error message in Common Lisp. What does || mean in CL?
What does the following error message mean? Googling for MARKED_FOR_JOINED doesn't return any useful
The following code does not want to compile. See the included error message. Code:
I get the following error: Client does not support authentication protocol requested by server;
Why does following code snippet doesn't work? It doesn't gives any error, but also
Question: I receive the following error for the code below, does anyone know why?
I get the following error when compiling my app. warning: class 'ConfigureViewController' does not
Hi every one I am getting the following error: The name 'ConfigurationManager' does not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.