Getting error "This file was removed" when trying to use sdk/test/httpd.

Hi, I wish to test my website using httpd.js. Now when I am trying create a add-on and use sdk/test/httpd by adding following line
var { nsHttpServer } = require("sdk/test/httpd");
I am getting following error:
Message: Error: This file was removed. A copy can be obtained from:
https://github.com/mozilla/addon-sdk/blob/master/test/lib/httpd.js
As new to Add on development I am unable to resolve this issue.
Thanks in advance.

Apologies for redirecting you to a different site, but this forum primarily handles end-user support. For extension development advice, please try here: [https://forums.mozilla.org/viewforum.php?f=7 Extension Development - Mozilla Add-ons Forum].

Similar Messages

  • Page Viewer Webpart getting error: This file is already open or in use.

    Management wants to have a Goal Chart to be updated daily with new information without having to get myself involved.  All they want to do is save to a Network location and have SharePoint Intranet site use this location to display.
    My background is an Intermediate power user, no development.  After researching I thought I could use the Page Viewer Web Part by using the File and then specify the Network location.  This worked only once. 
    When management or myself tries to save the updated PDF to the Network location get the following error message:  This file is already open or in use.
    Please let me know the best way for management to update a network location to update the SharePoint Intranet site. 
    System is SharePoint 2010 foundation.

    This is what I did and it works fine for the original document.  I want the user to be able to save to the same location on the Network to have the new PDF display within Sharepoint.  When I try to save over the original PDF, I get an error message
    when I try to save:  The file is already open or in use. 
    How do I get around getting this message. 

  • Why do I get "Error - That file is locked" when trying to save?

    Everytime I try to save a new sequence in FCP I get an error stating "Error - That file is locked" with no additional elements to determine which file is locked. I haven't changed any settings and I am the administrator of the computer. I was wondering if anyone knew how to fix this.
    Thank you!

    Everytime I try to save a new sequence in FCP I get an error stating "Error - That file is locked"
    Do you mean when you try to save the project? If so, check the project file (Get Info) and see if it is actually locked.
    -DH

  • Keep getting error message appication not found when trying to use Firefox, recently had lightning strike neighborhood box.

    also will not load automatically anymore since lost power few days ago.

    Same issue to with Windows XP SP3 x86 with Java Runtime Enviornment 1.5.0_15
    J2SE Enviornment 5.0 Update 15
    Java 6 Update 17

  • I am facing issue when opening flash files in Flash CC. (error:- This file was created with a later release of Flash Professional and might contain new features that would be lost when saved in the current format.)

    I am facing issue when opening flash files in Flash CC. (error:- This file was created with a later release of Flash Professional and might contain new features that would be lost when saved in the current format.)

    Wow. Okay...
    I'll let the real veterans in this forum tackle your issues one after the other. But, I can tell you, all will be well.
    My only comment would be re: your computer specs:
    BJReis wrote:
    .  This may be due to somewhat older equipment:
    GHz Intel Core Duo MacBook Pro with a 4GB memory computer with Ddr3 running OSX 10.8.4
    To be completely honest, FCPX is a RAM hog. It just is. But, RAM is relatively cheap, and the pay-off is good.
    4GB is right on the edge, IMHO. 16G is ideal.
    I wish you luck, hang in there, and standby for more help.

  • TS1718 I tried to update, did not work, unintstalled did not work.  Now when I try to install i get error message "The feature you are trying to use is on a network resource tha is unabailable.  Looking for itunes64.msi path.

    I tried to update, did not work, unintstalled did not work.  Now when I try to install i get error message "The feature you are trying to use is on a network resource tha is unabailable.  Looking for itunes64.msi path.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • I'm in UK but am getting Errors 503, 105007 and 105002 when trying to update

    I'm in UK but am getting Errors 503, 105007 and 105002 when trying to publish updates to 2 websites. System maintenance is going on right now in US and Australia but nothing about Europe. its Sunday 1900 here ( UTC+1)
    I was getting the same errors about 20 hours ago too - surely maintenance in US won't affect Europe and wouldn't prevent publishing for 24 hours?
    Any suggestions =   I guess the Adobe help desk will be SNAFU

    From BC Blog Post:
    Partner registration, Trial site creation Muse Publish, APIs, FTP and some admin section will not be available for 4 hours on all data centers.
    If you see the errors after maintenance is complete contact BC Support.

  • I keep getting the message-blocked plug-in when trying to use Adobe Flash Player. A message also states that I don't has a up to date flash player but I know that I have the right version of Flash player.

    I keep getting the message-blocked plug-in when trying to use Adobe Flash Player. A message also states that I don't have a up to date flash player but I know that I have the right version of Flash player.

    Hello,
    Safari, blocked plug-ins…
    http://support.apple.com/kb/HT5271

  • Help !!  I am trying to uninstall and then reinstall itunes but when I try to remove itunes it I get error message ~ the feature you are trying to use is on a network resource that is unavailable?????  Any help would be great:) !!

    Help !!  I'm trying to un install and then re-install itunes.  I get erroe message ~ the feature you are trying to use is on a network resource that is unavailable????  Any help would be great!   TXs!

    See if this previous discussion will help.  It is markd as solved:
    I am trying to uninstall itunes as it will not open error 7 (windows 126) so that I can reinstall but keep getting the message.. The feature you are trying to remove is on a network resource that is unavailable itunes.msi... Any suggestions anyone
    It was the one with the green checkmark on the right side of this page.

  • When creating PDF I get message "This file was saved to the Temporary Internet  Files Folder"

    about 80% of the time when I am creating a PDF Document using the Print to Adobe function I get the following message:
    "For your computers security, this file was saved to the Temporary Internet Files folder"
    "Do you want to open this folder?"
    It doesn't matter if I say yes I want to open the folder or not I can never locate the file.
    I am using Vista Ultimate 32. for an operating system.
    I have the following programs installed too:
    Office 2007 Enterprise
    Office 2007 Project Professional
    Office Visio Professional 2007
    As a antivirus I am using Trend Micro Internet Security Pro 2008
    Diskeeper 2008 Pro
    Nero 8
    Quicken Home and Business 2008
    WinRar
    I am using Microsoft Internet explorer V 7.0.6001.18000
    Thank you for your help. I have looked everywhere and I'm lost.

    You can get the same results (as turning protected mode off) by:
    (presuming you have an icon for Internet Explorer on your desktop or taskbar) -- right click the icon and pick "Run as administrator"
    I've got the same problem printing to pdf (Acrobat v8; problem's only in IE7) on a Dell Optiplex/Vista Business desktop machine (though not my T61/Vista Ultimate Thinkpad laptop) and the above resolves the issue for my desktop machine. Certainly not a fix but perhaps a clue to Adobe developers, on the [slim?] chance they read these posts.

  • Getting error message Cannot Resolve Symbol when trying to compile a class

    Hello All -
    I am getting an error message cannot resolve symbol while trying to compile a java class that calls another java class in the same package. The called class compiles fine, but the calling class generates
    the following error message:
    D:\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes\cal>javac
    ConnectionPool.java
    ConnectionPool.java:158: cannot resolve symbol
    symbol : class PooledConnection
    location: class cal.ConnectionPool
    private void addConnection(PooledConnection value) {
    ^
    ConnectionPool.java:144: cannot resolve symbol
    symbol : class PooledConnection
    location: class cal.ConnectionPool
    PooledConnection pcon = new PooledConnection(con);
    ^
    ConnectionPool.java:144: cannot resolve symbol
    symbol : class PooledConnection
    location: class cal.ConnectionPool
    PooledConnection pcon = new PooledConnection(con);
    The code is listed as follows for PooledConnection.java (it compiles fine)
    package cal;
    import java.sql.*;
    public class PooledConnection {
    // Real JDBC Connection
    private Connection connection = null;
    // boolean flag used to determine if connection is in use
    private boolean inuse = false;
    // Constructor that takes the passed in JDBC Connection
    // and stores it in the connection attribute.
    public PooledConnection(Connection value) {
    if ( value != null ) {
    connection = value;
    // Returns a reference to the JDBC Connection
    public Connection getConnection() {
    // get the JDBC Connection
    return connection;
    // Set the status of the PooledConnection.
    public void setInUse(boolean value) {
    inuse = value;
    // Returns the current status of the PooledConnection.
    public boolean inUse() {
    return inuse;
    // Close the real JDBC Connection
    public void close() {
    try {
    connection.close();
    catch (SQLException sqle) {
    System.err.println(sqle.getMessage());
    Now the code for ConnectionPool.java class that gives the cannot
    resolve symbol error
    package cal;
    import java.sql.*;
    import java.util.*;
    public class ConnectionPool {
    // JDBC Driver Name
    private String driver = null;
    // URL of database
    private String url = null;
    // Initial number of connections.
    private int size = 0;
    // Username
    private String username = new String("");
    // Password
    private String password = new String("");
    // Vector of JDBC Connections
    private Vector pool = null;
    public ConnectionPool() {
    // Set the value of the JDBC Driver
    public void setDriver(String value) {
    if ( value != null ) {
    driver = value;
    // Get the value of the JDBC Driver
    public String getDriver() {
    return driver;
    // Set the URL Pointing to the Datasource
    public void setURL(String value ) {
    if ( value != null ) {
    url = value;
    // Get the URL Pointing to the Datasource
    public String getURL() {
    return url;
    // Set the initial number of connections
    public void setSize(int value) {
    if ( value > 1 ) {
    size = value;
    // Get the initial number of connections
    public int getSize() {
    return size;
    // Set the username
    public void setUsername(String value) {
    if ( value != null ) {
    username = value;
    // Get the username
    public String getUserName() {
    return username;
    // Set the password
    public void setPassword(String value) {
    if ( value != null ) {
    password = value;
    // Get the password
    public String getPassword() {
    return password;
    // Creates and returns a connection
    private Connection createConnection() throws Exception {
    Connection con = null;
    // Create a Connection
    con = DriverManager.getConnection(url,
    username, password);
    return con;
    // Initialize the pool
    public synchronized void initializePool() throws Exception {
    // Check our initial values
    if ( driver == null ) {
    throw new Exception("No Driver Name Specified!");
    if ( url == null ) {
    throw new Exception("No URL Specified!");
    if ( size < 1 ) {
    throw new Exception("Pool size is less than 1!");
    // Create the Connections
    try {
    // Load the Driver class file
    Class.forName(driver);
    // Create Connections based on the size member
    for ( int x = 0; x < size; x++ ) {
    Connection con = createConnection();
    if ( con != null ) {
    // Create a PooledConnection to encapsulate the
    // real JDBC Connection
    PooledConnection pcon = new PooledConnection(con);
    // Add the Connection to the pool.
    addConnection(pcon);
    catch (Exception e) {
    System.err.println(e.getMessage());
    throw new Exception(e.getMessage());
    // Adds the PooledConnection to the pool
    private void addConnection(PooledConnection value) {
    // If the pool is null, create a new vector
    // with the initial size of "size"
    if ( pool == null ) {
    pool = new Vector(size);
    // Add the PooledConnection Object to the vector
    pool.addElement(value);
    public synchronized void releaseConnection(Connection con) {
    // find the PooledConnection Object
    for ( int x = 0; x < pool.size(); x++ ) {
    PooledConnection pcon =
    (PooledConnection)pool.elementAt(x);
    // Check for correct Connection
    if ( pcon.getConnection() == con ) {
    System.err.println("Releasing Connection " + x);
    // Set its inuse attribute to false, which
    // releases it for use
    pcon.setInUse(false);
    break;
    // Find an available connection
    public synchronized Connection getConnection()
    throws Exception {
    PooledConnection pcon = null;
    // find a connection not in use
    for ( int x = 0; x < pool.size(); x++ ) {
    pcon = (PooledConnection)pool.elementAt(x);
    // Check to see if the Connection is in use
    if ( pcon.inUse() == false ) {
    // Mark it as in use
    pcon.setInUse(true);
    // return the JDBC Connection stored in the
    // PooledConnection object
    return pcon.getConnection();
    // Could not find a free connection,
    // create and add a new one
    try {
    // Create a new JDBC Connection
    Connection con = createConnection();
    // Create a new PooledConnection, passing it the JDBC
    // Connection
    pcon = new PooledConnection(con);
    // Mark the connection as in use
    pcon.setInUse(true);
    // Add the new PooledConnection object to the pool
    pool.addElement(pcon);
    catch (Exception e) {
    System.err.println(e.getMessage());
    throw new Exception(e.getMessage());
    // return the new Connection
    return pcon.getConnection();
    // When shutting down the pool, you need to first empty it.
    public synchronized void emptyPool() {
    // Iterate over the entire pool closing the
    // JDBC Connections.
    for ( int x = 0; x < pool.size(); x++ ) {
    System.err.println("Closing JDBC Connection " + x);
    PooledConnection pcon =
    (PooledConnection)pool.elementAt(x);
    // If the PooledConnection is not in use, close it
    if ( pcon.inUse() == false ) {
    pcon.close();
    else {
    // If it is still in use, sleep for 30 seconds and
    // force close.
    try {
    java.lang.Thread.sleep(30000);
    pcon.close();
    catch (InterruptedException ie) {
    System.err.println(ie.getMessage());
    I am using Sun JDK Version 1.3.0_02" and Apache/Tomcat 4.0. Both the calling and the called class are in the same directory.
    Any help would be greatly appreciated.
    tnx..
    addi

    Is ConnectionPool in this "cal" package as well as PooledConnection? From the directory you are compiling from it appears that it is. If it is, then you are compiling it incorrectly. To compile ConnectionPool (and PooledConnection similarly), you must change the current directory to the one that contains cal and type
    javac cal/ConnectionPool.

  • I'm getting a 'JSON request was malformed' when trying to log in on a toolbar...what can I do? Thanks in advance!

    I am working with a company that requires me to log in on a toolbar, but when I do, I get the error 'JSON request was malformed'. WTH does that mean and what can I do? Thanks!

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Still getting error 4310 with itunes 11 when trying to burn a disc (and my comp is new)!!

    Help downloaded itunes 11 still getting error 4310 when buring to a disc. the computer is new. 

    whydoyouneedtoknow wrote:
    .... Given the number of people having the same issue, and given that this issue has been around for several years, it's crazy that this isn't fixed.
    I concur!! Come on Apple!!!

  • I KEEP GETTING ERROR MESSAGES 403 AND 404 WHEN TRYING TO SEARCH FROM FIREFOX..HOW COME

    when I bring up firefox it is usually to get into my mail...if I try to search for something thru google /yahoo I get error messages 403 or 404 ...

    ''SusanR62 [[#answer-722913|said]]''
    <blockquote>
    The only system I can get the video to work is Chrome.
    </blockquote>
    This is because Chrome does not use Adobe Flash Player. Chrome uses something called Pepper Flash, maintained by Google (not Adobe). The issues you are experiencing are Adobe Flash Player issues. You should be able to get assistance with these issues [https://forums.adobe.com/community/flashplayer/using_flashplayer on the Adobe forums].

  • I am trying to use the Find My Mac on iCloud. I keep getting the error message "No location available" when trying to use find my Mac. Any suggestions as to what to check?

    I am trying to use Find My Mac on Icloud. It keeps giving me the error message No location available for my Mac. Any suggestions on what to check to correct this problem? Thanks!

    http://support.apple.com/kb/TS4006

Maybe you are looking for