Purpose[edit]

Analyze the operating point of a 2-stage opamp 1) to check MOSFETs are in their saturation region and 2) to determine the compensation resistance

Description[edit]

Run the op simulation in Spectre and read results

Outputs[edit]

Result Name

Result Type

Description

Unit

Rcomp

design parameter

compensation resistance

Ohm

--> -->

sw_tag

Rcomp

IOError

[Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/var/www']

If you want to report a bug, please save this page and attach it to your bug report.

Traceback

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

  1. /servers/wiki/moin-active/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object>)

    1. 1309 self.page.send_page()
    2. 1310 else:
    3. 1311 handler(self.page.page_name, self)
    4. 1312
    5. 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
    • handler = <function do_show>
    • self = <MoinMoin.request.request_wsgi.Request object>
    • self.page = <MoinMoin.Page.Page object>
    • self.page.page_name = u'seobin/doc/op.py'
  2. /servers/wiki/moin-active/MoinMoin/action/__init__.py in do_show (pagename=u'seobin/doc/op.py', request=<MoinMoin.request.request_wsgi.Request object>, content_only=0, count_hit=1, cacheable=1, print_mode=0)

    1. 251 count_hit=count_hit,
    2. 252 print_mode=print_mode,
    3. 253 content_only=content_only,
    4. 254 )
    5. 255
    • content_only = 0
  3. /servers/wiki/moin-active/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})

    1. 1199 format_args=pi['formatargs'],
    2. 1200 do_cache=do_cache,
    3. 1201 start_line=pi['lines'])
    4. 1202
    5. 1203 # check for pending footnotes
    • start_line undefined
    • pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': u'wiki', 'formatargs': u'', 'language': 'en', 'lines': 4}
  4. /servers/wiki/moin-active/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_wsgi.Request object>, body=u'\n<<TableOfContents>>\n\n= Purpose =\n\n## BEGIN_PURP...ng macro displays the page tags\n<<ShowPageTags>>\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 4})

    1. 1285 #if not (do_cache and self.canUseCache(Parser)):
    2. 1286 if True:
    3. 1287 self.format(parser)
    4. 1288 else:
    5. 1289 try:
    • self = <MoinMoin.Page.Page object>
    • self.format = <bound method Page.format of <MoinMoin.Page.Page object>>
    • parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
  5. /servers/wiki/moin-active/MoinMoin/Page.py in format (self=<MoinMoin.Page.Page object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>)

    1. 1306 def format(self, parser):
    2. 1307 """ Format and write page content without caching """
    3. 1308 parser.format(self.formatter)
    4. 1309
    5. 1310 def execute(self, request, parser, code):
    • parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
    • parser.format = <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance>>
    • self = <MoinMoin.Page.Page object>
    • self.formatter = <MoinMoin.formatter.text_html.Formatter instance>
  6. /servers/wiki/moin-active/MoinMoin/parser/text_moin_wiki.py in format (self=<MoinMoin.parser.text_moin_wiki.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>, inhibit_p=False)

    1. 1544
    2. 1545 # Scan line, format and write
    3. 1546 formatted_line = self.scan(line, inhibit_p=inhibit_p)
    4. 1547 self.request.write(formatted_line)
    5. 1548
    • formatted_line = u'<tr> <td><p class="line862"> sw_tag </td>\n <td><p class="line862"> Rcomp </td>\n</tr>\n'
    • self = <MoinMoin.parser.text_moin_wiki.Parser instance>
    • self.scan = <bound method Parser.scan of <MoinMoin.parser.text_moin_wiki.Parser instance>>
    • line = ru|| TTTT || <<latex($\frac{1}{g_{m,\textit{MM6}}}$)>> = 4.4160K || u
    • inhibit_p = False
  7. /servers/wiki/moin-active/MoinMoin/parser/text_moin_wiki.py in scan (self=<MoinMoin.parser.text_moin_wiki.Parser instance>, line=ru|| TTTT || <<latex($\frac{1}{g_{m,\textit{MM6}}}$)>> = 4.4160K || u, inhibit_p=False)

    1. 1358 self.in_table or self.in_list):
    2. 1359 result.append(self.formatter.paragraph(1, css_class="line867"))
    3. 1360 result.append(self.replace(match, inhibit_p))
    4. 1361 end = match.end()
    5. 1362 lastpos = end
    • result = [u'<tr> <td><span class="anchor" id="line-34"></span>', '<p class="line862">', u' TTTT ', '</td>\n <td>', '<p class="line862">', u' ']
    • result.append = <built-in method append of list object>
    • self = <MoinMoin.parser.text_moin_wiki.Parser instance>
    • self.replace = <bound method Parser.replace of <MoinMoin.parser.text_moin_wiki.Parser instance>>
    • match = <_sre.SRE_Match object>
    • inhibit_p = False
  8. /servers/wiki/moin-active/MoinMoin/parser/text_moin_wiki.py in replace (self=<MoinMoin.parser.text_moin_wiki.Parser instance>, match=<_sre.SRE_Match object>, inhibit_p=False)

    1. 1402 # Get replace method and replace hit
    2. 1403 replace_func = getattr(self, '_%s_repl' % type)
    3. 1404 result.append(replace_func(hit, match.groupdict()))
    4. 1405 return ''.join(result)
    5. 1406 else:
    • result = []
    • result.append = <built-in method append of list object>
    • replace_func = <bound method Parser._macro_repl of <MoinMoin.parser.text_moin_wiki.Parser instance>>
    • hit = ru$\frac{1}{g_{m,\textit{MM6}}}$u
    • match = <_sre.SRE_Match object>
    • match.groupdict = <built-in method groupdict of _sre.SRE_Match object>
  9. /servers/wiki/moin-active/MoinMoin/parser/text_moin_wiki.py in _macro_repl (self=<MoinMoin.parser.text_moin_wiki.Parser instance>, word=ru$\frac{1}{g_{m,\textit{MM6}}}$u, groups={u'big': None, u'big_off': None, u'big_on': None, u'comment': None, u'dl': None, u'email': None, u'emph': None, u'emph_ib_or_bi': None, u'emph_ibb': None, u'emph_ibi': None, ...})

    1. 1325 if self.macro is None:
    2. 1326 self.macro = macro.Macro(self)
    3. 1327 return self.formatter.macro(self.macro, macro_name, macro_args, markup=groups.get('macro'))
    4. 1328 _macro_name_repl = _macro_repl
    5. 1329 _macro_args_repl = _macro_repl
    • self = <MoinMoin.parser.text_moin_wiki.Parser instance>
    • self.formatter = <MoinMoin.formatter.text_html.Formatter instance>
    • self.formatter.macro = <bound method Formatter.macro of <MoinMoin.formatter.text_html.Formatter instance>>
    • self.macro = <MoinMoin.macro.Macro instance>
    • macro_name = u'latex'
    • macro_args = ru$\frac{1}{g_{m,\textit{MM6}}}$u
    • markup undefined
    • groups = {u'big': None, u'big_off': None, u'big_on': None, u'comment': None, u'dl': None, u'email': None, u'emph': None, u'emph_ib_or_bi': None, u'emph_ibb': None, u'emph_ibi': None, ...}
    • groups.get = <built-in method get of dict object>
  10. /servers/wiki/moin-active/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.macro.Macro instance>, name=u'latex', args=ru$\frac{1}{g_{m,\textit{MM6}}}$u, markup=ru<<latex($\frac{1}{g_{m,\textit{MM6}}}$)>>u)

    1. 308 # call the macro
    2. 309 try:
    3. 310 return macro_obj.execute(name, args)
    4. 311 except ImportError, err:
    5. 312 errmsg = unicode(err)
    • macro_obj = <MoinMoin.macro.Macro instance>
    • macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance>>
    • name = u'latex'
    • args = ru$\frac{1}{g_{m,\textit{MM6}}}$u
  11. /servers/wiki/moin-active/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance>, macro_name=u'latex', args=ru$\frac{1}{g_{m,\textit{MM6}}}$u)

    1. 126 else:
    2. 127 raise ImportError("Cannot load macro %s" % macro_name)
    3. 128 return execute(self, args)
    4. 129
    5. 130 def _m_lang(self, text):
    • execute = <function execute>
    • self = <MoinMoin.macro.Macro instance>
    • args = ru$\frac{1}{g_{m,\textit{MM6}}}$u
  12. /servers/wiki/moin-active/wiki/data/plugin/macro/latex.py in execute (macro=<MoinMoin.macro.Macro instance>, args=ru$\frac{1}{g_{m,\textit{MM6}}}$u)

    1. 40 return l.get(self.formatter, tex, prologue)
    2. 41
    3. 42
    4. 43 def execute(macro, args):
    5. 44 return latex(macro, args).renderInPage()
    • global latex = <class wikiconfig.p_b18313e08628175e928155311d45cf8dc6ea9f3a.macro.latex.latex>
    • macro = <MoinMoin.macro.Macro instance>
    • args = ru$\frac{1}{g_{m,\textit{MM6}}}$u
    • ).renderInPage undefined
  13. /servers/wiki/moin-active/wiki/data/plugin/macro/latex.py in renderInPage (self=<wikiconfig.p_b18313e08628175e928155311d45cf8dc6ea9f3a.macro.latex.latex instance>)

    1. 38 prologue = ''
    2. 39 tex = tmp[0]
    3. 40 return l.get(self.formatter, tex, prologue)
    4. 41
    5. 42
    • l = <wikiconfig.p_b18313e08628175e928155311d45cf8dc6ea9f3a.parser.latex.Parser instance>
    • l.get = <bound method Parser.get of <wikiconfig.p_b18313...311d45cf8dc6ea9f3a.parser.latex.Parser instance>>
    • self = <wikiconfig.p_b18313e08628175e928155311d45cf8dc6ea9f3a.macro.latex.latex instance>
    • self.formatter = <MoinMoin.formatter.text_html.Formatter instance>
    • tex = ru$\frac{1}{g_{m,\textit{MM6}}}$u
    • prologue = ''
  14. /servers/wiki/moin-active/wiki/data/plugin/parser/latex.py in get (self=<wikiconfig.p_b18313e08628175e928155311d45cf8dc6ea9f3a.parser.latex.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>, inputtex=ru$\frac{1}{g_{m,\textit{MM6}}}$u, prologue='', para=False)

    1. 174 dst = "%s/%s%%d.png" % (attachdir, fn)
    2. 175 if not os.access(dst % 1, os.R_OK):
    3. 176 tmpdir = tempfile.mkdtemp()
    4. 177 try:
    5. 178 data = open("%s/%s.tex" % (tmpdir, fn), "w")
    • tmpdir undefined
    • global tempfile = <module 'tempfile' from '/usr/lib/python2.7/tempfile.pyc'>
    • tempfile.mkdtemp = <function mkdtemp>
  15. /usr/lib/python2.7/tempfile.py in mkdtemp (suffix='', prefix='tmp', dir=None)

    1. 315
    2. 316 if dir is None:
    3. 317 dir = gettempdir()
    4. 318
    5. 319 names = _get_candidate_names()
    • dir = None
    • global gettempdir = <function gettempdir>
  16. /usr/lib/python2.7/tempfile.py in gettempdir ()

    1. 259 try:
    2. 260 if tempdir is None:
    3. 261 tempdir = _get_default_tempdir()
    4. 262 finally:
    5. 263 _once_lock.release()
    • global tempdir = None
    • global _get_default_tempdir = <function _get_default_tempdir>
  17. /usr/lib/python2.7/tempfile.py in _get_default_tempdir ()

    1. 206 pass
    2. 207 raise IOError, (_errno.ENOENT,
    3. 208 ("No usable temporary directory found in %s" % dirlist))
    4. 209
    5. 210 _name_sequence = None
    • dirlist = ['/tmp', '/var/tmp', '/usr/tmp', '/var/www']

IOError

[Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/var/www']

  • args = (2, "No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/var/www']")
  • errno = 2
  • filename = None
  • message = ''
  • strerror = "No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/var/www']"

System Details

  • Date: Tue, 04 Nov 2025 13:52:24 +0000
  • Platform: Linux mics 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64
  • Python: Python 2.7.3 (/usr/bin/python)
  • MoinMoin: Release 1.8.5 (release)