# Jupyter launch error

**URL:** <https://discourse.openondemand.org/t/jupyter-launch-error/807>\
**Category:** Get Help\
**Created:** [March 28, 2020, 5:52pm UTC](https://discourse.openondemand.org/t/jupyter-launch-error/807 "2020-03-28T17:52:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomasbrTTU](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/thomasbrttu/32/249_2.png) [@thomasbrTTU](https://discourse.openondemand.org/u/thomasbrTTU)\
**Post date:** [March 28, 2020, 5:52pm UTC](https://discourse.openondemand.org/t/jupyter-launch-error/807/1 "2020-03-28T17:52:34Z")

</div>

We are using OOD 1.6.20, Centos 7.4, and UGE 8.6.6. Built the Jupyter app in my sandbox and when we launch jupyter we get "qsub: ERROR! argument to -N option must not contain / ". Looked at the one post and appears it may be an issue with an old version of Centos?

Thanks

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [March 30, 2020, 5:59pm UTC](https://discourse.openondemand.org/t/jupyter-launch-error/807/2 "2020-03-30T17:59:25Z")

</div>

Hi, I think SGE/UGE has a bug in the job names of the interactive apps. You’ll have to specify a static job name or write a wrapper script.

```yaml
batch_connect:
  template: basic
script:
  # try to give it a static name
  job_name: "some-static-name-like-jupyter"

```

Maybe this is the topic you’re referring to? There’s an example wrapper script there where the author goes through the args and checks for `-N` (the job name argument).

> [@Error with job\_name & SSGE 8.1.9](https://discourse.openondemand.org/t/error-with-job-name-ssge-8-1-9/558/4):
>
> Looks like you may have to specify the name of the job directly. Seems like you’ve seen the [man pages](http://gridscheduler.sourceforge.net/htmlman/htmlman1/qsub.html) and that’s why you’ve added that -N bit in native. I’d suggest the below where you attempt to add the name directly in the submit. Otherwise you’re wrapper may have to suffice until we patch it. We run qsub too at OSC but it’s version 6.1.2. You must have something higher? batch\_connect: template: vnc extra\_args: "-listen tcp -vgl -geometry 1240x1024" script: # try to give it a st…

---

<div class="post-metadata">

**Author:** ![thomasbrTTU](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/thomasbrttu/32/249_2.png) [@thomasbrTTU](https://discourse.openondemand.org/u/thomasbrTTU)\
**Post date:** [March 30, 2020, 6:03pm UTC](https://discourse.openondemand.org/t/jupyter-launch-error/807/3 "2020-03-30T18:03:09Z")

</div>

Fixed the issue by adding the following to the ~/ondemand/dev/jupyter/submit.yml.erb file.

queue\_name: “ivy”  
accounting\_id: “hrothgar”  
job\_name: “jupyter\_interactive”  
native:  
- “-pe”  
- “ivy”  
- “20”

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [May 19, 2022, 6:06pm UTC](https://discourse.openondemand.org/t/jupyter-launch-error/807/4 "2022-05-19T18:06:31Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
