Status

()

RESOLVED INCOMPLETE
3 years ago
2 months ago

People

(Reporter: smarty_1995_ayush, Unassigned, NeedInfo)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36

Steps to reproduce:

Opened The file in android studio


Actual results:

Information:Gradle tasks [clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:compileDebugSources, :app:compileDebugAndroidTestSources, :base:generateDebugSources, :base:generateDebugAndroidTestSources, :base:compileDebugSources, :base:compileDebugAndroidTestSources, :thirdparty:generateDebugSources, :thirdparty:generateDebugAndroidTestSources, :thirdparty:compileDebugSources, :thirdparty:compileDebugAndroidTestSources]
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred evaluating settings 'mozilla-central'.
> Process '[/home/ayush/mozilla-central/mach, environment, --format, json, --verbose]' finished with non-zero exit value 1:
  
  Error running mach:
  
      ['environment', '--format', 'json', '--verbose']
  
  The error occurred in code that was called by the mach command. This is either
  a bug in the called code itself or in the way that mach is calling it.
  
  You should consider filing a bug for this issue.
  
  If filing a bug, please include the full output of mach, including this error
  message.
  
  The details of the failure are as follows:
  
  BuildEnvironmentNotFoundException: config.status not available. Run configure.
  
    File "/home/ayush/mozilla-central/python/mozbuild/mozbuild/mach_commands.py", line 1287, in environment
      return func(sys.stdout, verbose)
    File "/home/ayush/mozilla-central/python/mozbuild/mozbuild/mach_commands.py", line 1397, in _environment_json
      json.dump(self, cls=EnvironmentEncoder, sort_keys=True, fp=out)
    File "/usr/local/lib/python2.7/json/__init__.py", line 189, in dump
      for chunk in iterable:
    File "/usr/local/lib/python2.7/json/encoder.py", line 442, in _iterencode
      o = _default(o)
    File "/home/ayush/mozilla-central/python/mozbuild/mozbuild/mach_commands.py", line 1391, in default
      result['substs'] = obj.substs
    File "/home/ayush/mozilla-central/python/mozbuild/mozbuild/base.py", line 273, in substs
      return self.config_environment.substs
    File "/home/ayush/mozilla-central/python/mozbuild/mozbuild/base.py", line 260, in config_environment
      raise BuildEnvironmentNotFoundException('config.status not available. Run configure.')
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Information:BUILD FAILED
Information:Total time: 0.899 secs
Error:
FAILURE: Build failed with an exception.

* Where:
Settings file '/home/ayush/mozilla-central/settings.gradle' line: 13

* What went wrong:
A problem occurred evaluating settings 'mozilla-central'.
> Process '[/home/ayush/mozilla-central/mach, environment, --format, json, --verbose]' finished with non-zero exit value 1:
  
  Error running mach:
  
      ['environment', '--format', 'json', '--verbose']
  
  The error occurred in code that was called by the mach command. This is either
  a bug in the called code itself or in the way that mach is calling it.
  
  You should consider filing a bug for this issue.
  
  If filing a bug, please include the full output of mach, including this error
  message.
  
  The details of the failure are as follows:
  
  BuildEnvironmentNotFoundException: config.status not available. Run configure.
  
    File "/home/ayush/mozilla-central/python/mozbuild/mozbuild/mach_commands.py", line 1287, in environment
      return func(sys.stdout, verbose)
    File "/home/ayush/mozilla-central/python/mozbuild/mozbuild/mach_commands.py", line 1397, in _environment_json
      json.dump(self, cls=EnvironmentEncoder, sort_keys=True, fp=out)
    File "/usr/local/lib/python2.7/json/__init__.py", line 189, in dump
      for chunk in iterable:
    File "/usr/local/lib/python2.7/json/encoder.py", line 442, in _iterencode
      o = _default(o)
    File "/home/ayush/mozilla-central/python/mozbuild/mozbuild/mach_commands.py", line 1391, in default
      result['substs'] = obj.substs
    File "/home/ayush/mozilla-central/python/mozbuild/mozbuild/base.py", line 273, in substs
      return self.config_environment.substs
    File "/home/ayush/mozilla-central/python/mozbuild/mozbuild/base.py", line 260, in config_environment
      raise BuildEnvironmentNotFoundException('config.status not available. Run configure.')


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Information:1 error
Information:0 warnings
Information:See complete output in console


Expected results:

It shoudl have built the file

Comment 1

4 months ago
Hello,

Is this still an issue?

Thank you?!
Flags: needinfo?(smarty_1995_ayush)

Comment 2

3 months ago
Hi,

Due to the lack of additional info, I'll close this issue as Incomplete.
If the reporter (or anyone else) can provide more information, please feel free to reopen or comment on the issue, and we'll have a thorough look on it.

Thanks!
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 months ago
Resolution: --- → INCOMPLETE

Comment 3

2 months ago
i am facing the same issue

Comment 4

2 months ago
(In reply to miralobontiu from comment #2)
> Hi,
> 
> Due to the lack of additional info, I'll close this issue as Incomplete.
> If the reporter (or anyone else) can provide more information, please feel
> free to reopen or comment on the issue, and we'll have a thorough look on it.
> 
> Thanks!

please help me with the same issue! can give you details

Comment 5

2 months ago
Process '[/home/mozilla-central/mach, environment, --format, json, --verbose]' finished with non-zero exit value 1:

Error running mach:

    ['environment', '--format', 'json', '--verbose']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

BuildEnvironmentNotFoundException: config.status not available. Run configure.

  File "/home/dirolabs/mozilla-central/python/mozbuild/mozbuild/mach_commands.py", line 1112, in environment
    return func(sys.stdout, verbose)
  File "/home/dirolabs/mozilla-central/python/mozbuild/mozbuild/mach_commands.py", line 1182, in _environment_json
    json.dump(self, cls=EnvironmentEncoder, sort_keys=True, fp=out)
  File "/usr/lib/python2.7/json/__init__.py", line 189, in dump
    for chunk in iterable:
  File "/usr/lib/python2.7/json/encoder.py", line 442, in _iterencode
    o = _default(o)
  File "/home/dirolabs/mozilla-central/python/mozbuild/mozbuild/mach_commands.py", line 1176, in default
    result['substs'] = obj.substs
  File "/home/dirolabs/mozilla-central/python/mozbuild/mozbuild/base.py", line 257, in substs
    return self.config_environment.substs
  File "/home/dirolabs/mozilla-central/python/mozbuild/mozbuild/base.py", line 240, in config_environment
    raise BuildEnvironmentNotFoundException('config.status not available. Run configure.')

Open File
You need to log in before you can comment on or make changes to this bug.