emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Cannot open load file: ob-sh
@ 2014-01-21 13:35 Thorsten Jolitz
  2014-01-21 15:26 ` Eric Schulte
  0 siblings, 1 reply; 11+ messages in thread
From: Thorsten Jolitz @ 2014-01-21 13:35 UTC (permalink / raw)
  To: emacs-orgmode


Hi List, 

I just updated Org and - with (sh . t) in my Org Babel language list -
get the following error:

,-----------------------------
| Cannot open load file: ob-sh
`-----------------------------

It seems that 'lang' is "sh" in the load function 

,--------------------------------------------------------------
| (defun org-babel-do-load-languages (sym value)
|   "Load the languages defined in `org-babel-load-languages'."
|    [...]
|   (require (intern (concat "ob-" lang)
|   [...]
`--------------------------------------------------------------


but the files have been renamed to ob-shell instead of ob-sh:

  ,--------------------------------------------------------
  | -rw-r--r-- 1 tj users   9399 21. Jan 02:48 ob-shell.el
  | -rw-r--r-- 1 tj users   9223 21. Jan 02:48 ob-shell.elc
  `--------------------------------------------------------

-- 
cheers,
Thorsten

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [BUG] Cannot open load file: ob-sh
  2014-01-21 13:35 [BUG] Cannot open load file: ob-sh Thorsten Jolitz
@ 2014-01-21 15:26 ` Eric Schulte
  2014-01-21 15:45   ` Bastien
  0 siblings, 1 reply; 11+ messages in thread
From: Eric Schulte @ 2014-01-21 15:26 UTC (permalink / raw)
  To: Thorsten Jolitz; +Cc: emacs-orgmode

Thorsten Jolitz <tjolitz@gmail.com> writes:

> Hi List, 
>
> I just updated Org and - with (sh . t) in my Org Babel language list -
> get the following error:
>

Yes, ob-sh has been renamed to ob-shell, the above should be changed to
(shell . t).

Best,

>
> ,-----------------------------
> | Cannot open load file: ob-sh
> `-----------------------------
>
> It seems that 'lang' is "sh" in the load function 
>
> ,--------------------------------------------------------------
> | (defun org-babel-do-load-languages (sym value)
> |   "Load the languages defined in `org-babel-load-languages'."
> |    [...]
> |   (require (intern (concat "ob-" lang)
> |   [...]
> `--------------------------------------------------------------
>
>
> but the files have been renamed to ob-shell instead of ob-sh:
>
>   ,--------------------------------------------------------
>   | -rw-r--r-- 1 tj users   9399 21. Jan 02:48 ob-shell.el
>   | -rw-r--r-- 1 tj users   9223 21. Jan 02:48 ob-shell.elc
>   `--------------------------------------------------------

-- 
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [BUG] Cannot open load file: ob-sh
  2014-01-21 15:26 ` Eric Schulte
@ 2014-01-21 15:45   ` Bastien
  2014-01-21 16:53     ` Eric Schulte
  0 siblings, 1 reply; 11+ messages in thread
From: Bastien @ 2014-01-21 15:45 UTC (permalink / raw)
  To: Eric Schulte; +Cc: emacs-orgmode, Thorsten Jolitz

Hi Eric,

Eric Schulte <schulte.eric@gmail.com> writes:

> Yes, ob-sh has been renamed to ob-shell, the above should be changed to
> (shell . t).

Can you not it in ORG-NEWS as an incompatible change in master?

These things tend to get easily forgotten.

Thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [BUG] Cannot open load file: ob-sh
  2014-01-21 15:45   ` Bastien
@ 2014-01-21 16:53     ` Eric Schulte
  2014-04-22 19:52       ` Vikas Rawal
  0 siblings, 1 reply; 11+ messages in thread
From: Eric Schulte @ 2014-01-21 16:53 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode, Thorsten Jolitz

Bastien <bzg@gnu.org> writes:

> Hi Eric,
>
> Eric Schulte <schulte.eric@gmail.com> writes:
>
>> Yes, ob-sh has been renamed to ob-shell, the above should be changed to
>> (shell . t).
>
> Can you not it in ORG-NEWS as an incompatible change in master?
>
> These things tend to get easily forgotten.
>
> Thanks!

Done.  Thanks,

-- 
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [BUG] Cannot open load file: ob-sh
  2014-01-21 16:53     ` Eric Schulte
@ 2014-04-22 19:52       ` Vikas Rawal
  2014-04-22 19:55         ` Vikas Rawal
  0 siblings, 1 reply; 11+ messages in thread
From: Vikas Rawal @ 2014-04-22 19:52 UTC (permalink / raw)
  To: Eric Schulte; +Cc: Bastien, Thorsten Jolitz, emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1542 bytes --]

I tried to update my org-mode using make up2 but got an error that looks
similar.

----------

install -m 755 -d /tmp/tmp-orgtest
TMPDIR=/tmp/tmp-orgtest emacs  -Q -batch --eval '(setq vc-handled-backends
nil org-startup-folded nil)'  --eval '(add-to-list '"'"'load-path (concat
default-directory "lisp"))' --eval '(add-to-list '"'"'load-path (concat
default-directory "testing"))'  -l org-batch-test-init --eval '(setq
org-batch-test t org-babel-load-languages (quote ( (awk . t)  (C . t)
(fortran . t)  (maxima . t)  (lilypond . t)  (octave . t)  (python . t)
(sh . t)  (perl . t)  (emacs-lisp . t)  (shell . t)  (org . t)))
org-test-select-re "\\(org\\|ob\\)" )' -l org-loaddefs.el -l cl -l
testing/org-test.el -l ert -l org -l ox  --eval '(org-test-run-batch-tests
org-test-select-re)'
`flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'.
Cannot open load file: ob-sh
make[1]: *** [test-dirty] Error 255
make: *** [up2] Error 2

----------

Where does it load the list of babel languages from?

Vikas


On Tue, Jan 21, 2014 at 5:53 PM, Eric Schulte <schulte.eric@gmail.com>wrote:

> Bastien <bzg@gnu.org> writes:
>
> > Hi Eric,
> >
> > Eric Schulte <schulte.eric@gmail.com> writes:
> >
> >> Yes, ob-sh has been renamed to ob-shell, the above should be changed to
> >> (shell . t).
> >
> > Can you not it in ORG-NEWS as an incompatible change in master?
> >
> > These things tend to get easily forgotten.
> >
> > Thanks!
>
> Done.  Thanks,
>
> --
> Eric Schulte
> https://cs.unm.edu/~eschulte
> PGP: 0x614CA05D
>
>

[-- Attachment #2: Type: text/html, Size: 2430 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [BUG] Cannot open load file: ob-sh
  2014-04-22 19:52       ` Vikas Rawal
@ 2014-04-22 19:55         ` Vikas Rawal
  2014-04-22 20:45           ` Nick Dokos
  0 siblings, 1 reply; 11+ messages in thread
From: Vikas Rawal @ 2014-04-22 19:55 UTC (permalink / raw)
  To: Eric Schulte; +Cc: Bastien, Thorsten Jolitz, emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1769 bytes --]

I am running emacs on os-x, if that is relevant.

Vikas


On Tue, Apr 22, 2014 at 9:52 PM, Vikas Rawal <
vikaslists@agrarianresearch.org> wrote:

> I tried to update my org-mode using make up2 but got an error that looks
> similar.
>
> ----------
>
> install -m 755 -d /tmp/tmp-orgtest
> TMPDIR=/tmp/tmp-orgtest emacs  -Q -batch --eval '(setq vc-handled-backends
> nil org-startup-folded nil)'  --eval '(add-to-list '"'"'load-path (concat
> default-directory "lisp"))' --eval '(add-to-list '"'"'load-path (concat
> default-directory "testing"))'  -l org-batch-test-init --eval '(setq
> org-batch-test t org-babel-load-languages (quote ( (awk . t)  (C . t)
> (fortran . t)  (maxima . t)  (lilypond . t)  (octave . t)  (python . t)
> (sh . t)  (perl . t)  (emacs-lisp . t)  (shell . t)  (org . t)))
> org-test-select-re "\\(org\\|ob\\)" )' -l org-loaddefs.el -l cl -l
> testing/org-test.el -l ert -l org -l ox  --eval '(org-test-run-batch-tests
> org-test-select-re)'
> `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or
> `cl-letf'.
>
> Cannot open load file: ob-sh
> make[1]: *** [test-dirty] Error 255
> make: *** [up2] Error 2
>
> ----------
>
> Where does it load the list of babel languages from?
>
> Vikas
>
>
> On Tue, Jan 21, 2014 at 5:53 PM, Eric Schulte <schulte.eric@gmail.com>wrote:
>
>> Bastien <bzg@gnu.org> writes:
>>
>> > Hi Eric,
>> >
>> > Eric Schulte <schulte.eric@gmail.com> writes:
>> >
>> >> Yes, ob-sh has been renamed to ob-shell, the above should be changed to
>> >> (shell . t).
>> >
>> > Can you not it in ORG-NEWS as an incompatible change in master?
>> >
>> > These things tend to get easily forgotten.
>> >
>> > Thanks!
>>
>> Done.  Thanks,
>>
>> --
>> Eric Schulte
>> https://cs.unm.edu/~eschulte
>> PGP: 0x614CA05D
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 3009 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [BUG] Cannot open load file: ob-sh
  2014-04-22 19:55         ` Vikas Rawal
@ 2014-04-22 20:45           ` Nick Dokos
  2014-04-22 20:53             ` Bastien
  0 siblings, 1 reply; 11+ messages in thread
From: Nick Dokos @ 2014-04-22 20:45 UTC (permalink / raw)
  To: emacs-orgmode

Vikas Rawal <vikaslists@agrarianresearch.org> writes:

> I am running emacs on os-x, if that is relevant.
>
> Vikas
>
> On Tue, Apr 22, 2014 at 9:52 PM, Vikas Rawal <vikaslists@agrarianresearch.org> wrote:
>
>     I tried to update my org-mode using make up2 but got an error that looks similar.
>    
>     ----------
>    
>     install -m 755 -d /tmp/tmp-orgtest
>     TMPDIR=/tmp/tmp-orgtest emacs  -Q -batch --eval '(setq vc-handled-backends nil org-startup-folded nil)'  --eval '(add-to-list
>     '"'"'load-path (concat default-directory "lisp"))' --eval '(add-to-list '"'"'load-path (concat default-directory "testing"))
>     '  -l org-batch-test-init --eval '(setq org-batch-test t org-babel-load-languages (quote ( (awk . t)  (C . t)  (fortran . t) 
>     (maxima . t)  (lilypond . t)  (octave . t)  (python . t)  (sh . t)  (perl . t)  (emacs-lisp . t)  (shell . t)  (org . t)))
>     org-test-select-re "\\(org\\|ob\\)" )' -l org-loaddefs.el -l cl -l testing/org-test.el -l ert -l org -l ox  --eval '
>     (org-test-run-batch-tests org-test-select-re)'
>     `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'.
>    
>     Cannot open load file: ob-sh
>     make[1]: *** [test-dirty] Error 255
>     make: *** [up2] Error 2
>    
>     ----------
>    
>     Where does it load the list of babel languages from?
>

Check local.mk for BTEST_OB_LANGUAGES: delete sh if present.

>     Vikas
>
>     On Tue, Jan 21, 2014 at 5:53 PM, Eric Schulte <schulte.eric@gmail.com> wrote:
>    
>         Bastien <bzg@gnu.org> writes:
>        
>         > Hi Eric,
>         >
>         > Eric Schulte <schulte.eric@gmail.com> writes:
>         >
>         >> Yes, ob-sh has been renamed to ob-shell, the above should be changed to
>         >> (shell . t).
>         >
>         > Can you not it in ORG-NEWS as an incompatible change in master?
>         >
>         > These things tend to get easily forgotten.
>         >
>         > Thanks!
>        
>         Done.  Thanks,
>        
>         --
>         Eric Schulte
>         https://cs.unm.edu/~eschulte
>         PGP: 0x614CA05D

--
Nick

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [BUG] Cannot open load file: ob-sh
  2014-04-22 20:45           ` Nick Dokos
@ 2014-04-22 20:53             ` Bastien
  2014-04-23  3:11               ` Vikas Rawal
  2014-04-23 19:31               ` Achim Gratz
  0 siblings, 2 replies; 11+ messages in thread
From: Bastien @ 2014-04-22 20:53 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

Nick Dokos <ndokos@gmail.com> writes:

> Check local.mk for BTEST_OB_LANGUAGES: delete sh if present.

Or rename sh to shell.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [BUG] Cannot open load file: ob-sh
  2014-04-22 20:53             ` Bastien
@ 2014-04-23  3:11               ` Vikas Rawal
  2014-04-23 19:31               ` Achim Gratz
  1 sibling, 0 replies; 11+ messages in thread
From: Vikas Rawal @ 2014-04-23  3:11 UTC (permalink / raw)
  To: Bastien; +Cc: Nick Dokos, emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 123 bytes --]

> Check local.mk for BTEST_OB_LANGUAGES: delete sh if present.
>
> Or rename sh to shell.
>
> --
>

Worked. Thanks.

Vikas

[-- Attachment #2: Type: text/html, Size: 517 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [BUG] Cannot open load file: ob-sh
  2014-04-22 20:53             ` Bastien
  2014-04-23  3:11               ` Vikas Rawal
@ 2014-04-23 19:31               ` Achim Gratz
  2014-04-29 12:21                 ` Bastien
  1 sibling, 1 reply; 11+ messages in thread
From: Achim Gratz @ 2014-04-23 19:31 UTC (permalink / raw)
  To: emacs-orgmode

Bastien writes:
> Nick Dokos <ndokos@gmail.com> writes:
>
>> Check local.mk for BTEST_OB_LANGUAGES: delete sh if present.
>
> Or rename sh to shell.

No, delete it.  There is no reason to include it there since it is
automatically present when testing.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [BUG] Cannot open load file: ob-sh
  2014-04-23 19:31               ` Achim Gratz
@ 2014-04-29 12:21                 ` Bastien
  0 siblings, 0 replies; 11+ messages in thread
From: Bastien @ 2014-04-29 12:21 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Achim Gratz <Stromeko@nexgo.de> writes:

> No, delete it.  There is no reason to include it there since it is
> automatically present when testing.

Indeed, thanks for correcting me here,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-04-29 12:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-21 13:35 [BUG] Cannot open load file: ob-sh Thorsten Jolitz
2014-01-21 15:26 ` Eric Schulte
2014-01-21 15:45   ` Bastien
2014-01-21 16:53     ` Eric Schulte
2014-04-22 19:52       ` Vikas Rawal
2014-04-22 19:55         ` Vikas Rawal
2014-04-22 20:45           ` Nick Dokos
2014-04-22 20:53             ` Bastien
2014-04-23  3:11               ` Vikas Rawal
2014-04-23 19:31               ` Achim Gratz
2014-04-29 12:21                 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).