{"action":"created","issue":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab-latex/issues/49","repository_url":"https://api.github.com/repos/jupyterlab/jupyterlab-latex","labels_url":"https://api.github.com/repos/jupyterlab/jupyterlab-latex/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/jupyterlab/jupyterlab-latex/issues/49/comments","events_url":"https://api.github.com/repos/jupyterlab/jupyterlab-latex/issues/49/events","html_url":"https://github.com/jupyterlab/jupyterlab-latex/issues/49","id":292941352,"number":49,"title":"Not found `.tex` file on jupyterhub+jupyterlab","user":{"login":"epifanio","id":18949,"avatar_url":"https://avatars0.githubusercontent.com/u/18949?v=4","gravatar_id":"","url":"https://api.github.com/users/epifanio","html_url":"https://github.com/epifanio","followers_url":"https://api.github.com/users/epifanio/followers","following_url":"https://api.github.com/users/epifanio/following{/other_user}","gists_url":"https://api.github.com/users/epifanio/gists{/gist_id}","starred_url":"https://api.github.com/users/epifanio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epifanio/subscriptions","organizations_url":"https://api.github.com/users/epifanio/orgs","repos_url":"https://api.github.com/users/epifanio/repos","events_url":"https://api.github.com/users/epifanio/events{/privacy}","received_events_url":"https://api.github.com/users/epifanio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-01-30T21:20:40Z","updated_at":"2018-02-09T23:06:29Z","closed_at":null,"author_association":"NONE","body":"Running jupyterlab from a jupyterhub multiuser server , I got the following log trying to build a latex file:\r\n\r\n```\r\nRequest cannot be completed; no file at `/home/epinux/Work/Geoscience_250279/test.tex`.\r\n```\r\n\r\nthe real path to the file is:\r\n\r\n```\r\n/home/epinux/notebooks/Work/Geoscience_250279/test.tex\r\n```\r\n\r\nWhere:\r\n\r\n```\r\n/home/$USER/notebooks/\r\n```\r\nIs the `/root/` Directory for each unix `$USER` on the server.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab-latex/issues/comments/364595220","html_url":"https://github.com/jupyterlab/jupyterlab-latex/issues/49#issuecomment-364595220","issue_url":"https://api.github.com/repos/jupyterlab/jupyterlab-latex/issues/49","id":364595220,"user":{"login":"minrk","id":151929,"avatar_url":"https://avatars1.githubusercontent.com/u/151929?v=4","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T23:06:29Z","updated_at":"2018-02-09T23:06:29Z","author_association":"NONE","body":"base_url is only used as a prefix to all URLs in the webapp. It shouldn't be involved in locating files, however it is necessary when receiving a URL to not consider the base url part of the path to the file.\r\n\r\nNotebooks are served from NotebookApp.notebook_dir, not necessarily the CWD, which is my guess as to the source of your issue.\r\n\r\nYou can test with:\r\n\r\n    jupyter notebook /path/to/some/dir\r\n\r\nand see if it is locating files correctly"}}
{"actor":{"display_login":"minrk"}}