From: Hong M. <re...@bu...> - 2012-05-20 21:43:55
|
New submission from Hong Minhee <mi...@da...>: I tried easy_install Pygments (which is a syntax highlighting library) it occurs "Method code too large!" error. $ ../../.tox/jython/bin/easy_install Pygments Searching for Pygments Reading http://pypi.python.org/simple/Pygments/ Reading http://pygments.org/ Reading http://pygments.pocoo.org/ Best match: Pygments 1.5 Downloading http://pypi.python.org/packages/2.7/P/Pygments/Pygments-1.5-py2.7.egg#md5=8ea02c2eafb2580336b7637be629f7ce Processing Pygments-1.5-py2.7.egg creating /.../jython/Lib/site-packages/Pygments-1.5-py2.7.egg Extracting Pygments-1.5-py2.7.egg to /.../jython/Lib/site-packages Traceback (most recent call last): File ".../jython/bin/easy_install", line 8, in <module> sys.exit( File "/.../jython/Lib/site-packages/distribute-0.6.24-py2.7.egg/setuptools/command/easy_install.py", line 1883, in main with_ei_usage(lambda: File "/.../jython/Lib/site-packages/distribute-0.6.24-py2.7.egg/setuptools/command/easy_install.py", line 1864, in with_ei_usage return f() File "/.../jython/Lib/site-packages/distribute-0.6.24-py2.7.egg/setuptools/command/easy_install.py", line 1883, in <lambda> with_ei_usage(lambda: File "/usr/local/jython2.7a1/Lib/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/local/jython2.7a1/Lib/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/local/jython2.7a1/Lib/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/local/jython2.7a1/Lib/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/.../jython/Lib/site-packages/distribute-0.6.24-py2.7.egg/setuptools/command/easy_install.py", line 349, in run self.easy_install(spec, not self.no_deps) File "/.../jython/Lib/site-packages/distribute-0.6.24-py2.7.egg/setuptools/command/easy_install.py", line 589, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/.../jython/Lib/site-packages/distribute-0.6.24-py2.7.egg/setuptools/command/easy_install.py", line 619, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/.../jython/Lib/site-packages/distribute-0.6.24-py2.7.egg/setuptools/command/easy_install.py", line 773, in install_eggs return [self.install_egg(dist_filename, tmpdir)] File "/.../jython/Lib/site-packages/distribute-0.6.24-py2.7.egg/setuptools/command/easy_install.py", line 845, in install_egg self.execute(f, (egg_path, destination), File "/usr/local/jython2.7a1/Lib/distutils/cmd.py", line 349, in execute util.execute(func, args, msg, dry_run=self.dry_run) File "/usr/local/jython2.7a1/Lib/distutils/util.py", line 409, in execute func(*args) File "/.../jython/Lib/site-packages/distribute-0.6.24-py2.7.egg/setuptools/command/easy_install.py", line 1153, in unpack_and_compile self.byte_compile(to_compile) File "/.../jython/Lib/site-packages/distribute-0.6.24-py2.7.egg/setuptools/command/easy_install.py", line 1169, in byte_compile byte_compile(to_compile, optimize=0, force=1, dry_run=self.dry_run) File "/usr/local/jython2.7a1/Lib/distutils/util.py", line 567, in byte_compile compile(file, cfile, dfile) File "/usr/local/jython2.7a1/Lib/py_compile.py", line 96, in compile _py_compile.compile(file, cfile, dfile) File "/usr/local/jython2.7a1/Lib/py_compile.py", line 96, in compile _py_compile.compile(file, cfile, dfile) at org.python.objectweb.asm.MethodWriter.a(Unknown Source) at org.python.objectweb.asm.ClassWriter.toByteArray(Unknown Source) at org.python.compiler.ClassFile.write(ClassFile.java:124) at org.python.compiler.Module.write(Module.java:618) at org.python.compiler.Module.compile(Module.java:674) at org.python.core.imp.compileSource(imp.java:330) at org.python.core.imp.compileSource(imp.java:252) at org.python.modules._py_compile.compile(_py_compile.java:28) at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) java.lang.RuntimeException: java.lang.RuntimeException: Method code too large! ---------- components: Core messages: 7111 nosy: dahlia severity: normal status: open title: "Method code too large!" error during compilation type: crash versions: 2.7a1 _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue1891> _______________________________________ |