-
Notifications
You must be signed in to change notification settings - Fork 496
Open
Labels
bug 🐛high effortA lot to implement but still doable by a single person. The task is large or difficult.A lot to implement but still doable by a single person. The task is large or difficult.medium impactDefault level of impactDefault level of impactmust haveSomething we consider an essential part of Solidity 1.0.Something we consider an essential part of Solidity 1.0.
Description
Hi, I'm getting an internal exception error but I'm not too sure why. I'm running solc on an express server.
Steps to getting this error:
- Compile a contract that has invalid imports
- Try to compile a contract that has valid imports
solc.compile()
throws error
Error i'm getting:
{
errors: [
{
component: 'general',
formattedMessage: 'Internal exception in StandardCompiler::compile: /solidity/libsolidity/interface/CompilerStack.cpp(107): Throw in function solidity::frontend::CompilerStack::CompilerStack(ReadCallback::Callback)\n' +
'Dynamic exception type: boost::wrapexcept<solidity::langutil::InternalCompilerError>\n' +
'std::exception::what: You shall not have another CompilerStack aside me.\n' +
'[solidity::util::tag_comment*] = You shall not have another CompilerStack aside me.\n',
message: 'Internal exception in StandardCompiler::compile: /solidity/libsolidity/interface/CompilerStack.cpp(107): Throw in function solidity::frontend::CompilerStack::CompilerStack(ReadCallback::Callback)\n' +
'Dynamic exception type: boost::wrapexcept<solidity::langutil::InternalCompilerError>\n' +
'std::exception::what: You shall not have another CompilerStack aside me.\n' +
'[solidity::util::tag_comment*] = You shall not have another CompilerStack aside me.\n',
severity: 'error',
type: 'InternalCompilerError'
}
]
}
Metadata
Metadata
Assignees
Labels
bug 🐛high effortA lot to implement but still doable by a single person. The task is large or difficult.A lot to implement but still doable by a single person. The task is large or difficult.medium impactDefault level of impactDefault level of impactmust haveSomething we consider an essential part of Solidity 1.0.Something we consider an essential part of Solidity 1.0.