You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into the error below when starting my first ipython session after installing the package. The startup folder on my default ipython profile had files - it should not have been the case, but I did not any better a few years ago happen. I had to go to ~/.ipython/profile_default/startup/ and delete the content of the folder.
Not sure if this should be a warning in the README.
(bs_model_env) [nefarian~/bs_model_instrument20241016-11:57:00] ipythonPython3.11.10|packagedbyconda-forge| (main, Oct162024, 01:27:36) [GCC13.3.0]
Type'copyright', 'credits'or'license'formoreinformationIPython8.28.0--AnenhancedInteractivePython. Type'?'forhelp.
/home/beams3/RODOLAKIS/.ipython/profile_default/startup/00-PythonPath.py/home/beams3/RODOLAKIS/.ipython/profile_default/startup/90-StartDir_FR.py
[TerminalIPythonApp] WARNING|Unknownerrorinhandlingstartupfiles:
---------------------------------------------------------------------------FileNotFoundErrorTraceback (mostrecentcalllast)
File~/.conda/envs/bs_model_env/lib/python3.11/site-packages/IPython/core/shellapp.py:403, inInteractiveShellApp._exec_file(self, fname, shell_futures)
399self.shell.safe_execfile_ipy(full_filename,
400shell_futures=shell_futures)
401else:
402# default to python, even without extension-->403self.shell.safe_execfile(full_filename,
404self.shell.user_ns,
405shell_futures=shell_futures,
406raise_exceptions=True)
407finally:
408sys.argv=save_argvFile~/.conda/envs/bs_model_env/lib/python3.11/site-packages/IPython/core/interactiveshell.py:2932, inInteractiveShell.safe_execfile(self, fname, exit_ignore, raise_exceptions, shell_futures, *where)
2930try:
2931glob, loc= (where+ (None, ))[:2]
->2932py3compat.execfile(
2933fname, glob, loc,
2934self.compileifshell_futureselseNone)
2935exceptSystemExitasstatus:
2936# If the call was made with 0 or None exit status (sys.exit(0)2937# or sys.exit() ), don't bother showing a traceback, as both of
(...)
2943# For other exit status, we show the exception unless2944# explicitly silenced, but only in short form.2945ifstatus.code:
File~/.conda/envs/bs_model_env/lib/python3.11/site-packages/IPython/utils/py3compat.py:55, inexecfile(fname, glob, loc, compiler)
53withopen(fname, "rb") asf:
54compiler=compilerorcompile--->55exec(compiler(f.read(), fname, "exec"), glob, loc)
File/home/beams3/RODOLAKIS/.ipython/profile_default/startup/90-StartDir_FR.py:83importos4#os.chdir("/home/beams22/29IDUSER/Documents/User_Macros")5#os.chdir("/home/beams3/RODOLAKIS/Documents/FR_Macros")---->8os.chdir("/home/beams/RODOLAKIS/bluesky")
10print("\nWARNING: You are running as FANNY with default profile set for bluesky_2023_2")
FileNotFoundError: [Errno2] Nosuchfileordirectory: '/home/beams/RODOLAKIS/bluesky'In [1]:
The text was updated successfully, but these errors were encountered:
I ran into the error below when starting my first
ipython
session after installing the package. The startup folder on my default ipython profile had files - it should not have been the case, but I did not any better a few years ago happen. I had to go to~/.ipython/profile_default/startup/
and delete the content of the folder.Not sure if this should be a warning in the README.
The text was updated successfully, but these errors were encountered: