pinard/Pymacs — Issue #8: Error (setting-constant enable-multibyte-characters) when loading pymacs
Author: oggers
Created: 2011-10-14 10:16:42+00:00
State: open

Hi,

I just started to configure pymacs, rope, ropemacs and when emacs executes **(pymacs-load "ropemacs", "rope-")** it stops with an error.
Here is te section that produces the error:

```lisp
;; pymacs rope ropemacs
(add-to-list 'load-path "~/.emacs.d/vendor/pymacs")
(setenv "PYMACS_PYTHON" "~/.emacs.d/vendor/python/usr/bin/python")

(autoload 'pymacs-apply "pymacs")
(autoload 'pymacs-call "pymacs")
(autoload 'pymacs-eval "pymacs" nil t)
(autoload 'pymacs-exec "pymacs" nil t)
(autoload 'pymacs-load "pymacs" nil t)

(require 'pymacs)

;; Load ropemacs, which depends on Pymacs (see above).

(pymacs-load "ropemacs" "rope-")
(setq ropemacs-enable-autoimport t)
```

And here the backtrace:

```
Debugger entered--Lisp error: (setting-constant enable-multibyte-characters)
pymacs-set-buffer-multibyte(nil)
pymacs-start-services()
pymacs-serve-until-reply("eval" (pymacs-print-for-apply (quote "pymacs_load_helper") (quote ("ropemacs" "rope-"))))
pymacs-call("pymacs_load_helper" "ropemacs" "rope-")
pymacs-load("ropemacs" "rope-")
eval-buffer(#> nil "/home/jcn/.emacs.d/oggers/python.el" nil t) ; Reading at buffer position 1891
load-with-code-conversion("/home/jcn/.emacs.d/oggers/python.el" "/home/jcn/.emacs.d/oggers/python.el" nil nil)
load("~/.emacs.d/oggers/python")
eval-buffer(# nil "/home/jcn/.emacs.d/init.el" nil t) ; Reading at buffer position 574
load-with-code-conversion("/home/jcn/.emacs.d/init.el" "/home/jcn/.emacs.d/init.el" t t)
load("/home/jcn/.emacs.d/init" t t)
#[0 "\205\262
```

I'm using emacs 24.0.90.1.

Thanks.