Skip to content

Trying to run scenario from year 2024 / 2015 hits varying bug #330

@tapajyoti-ghosh

Description

@tapajyoti-ghosh

https://github.com/NREL/celavi/tree/Resolving_issue_326

https://github.nrel.gov/rhanes/celavi-data/tree/circfutures

mkdir: cannot create directory ‘/scratch/tghosh/celavicf_new/’: File exists
rm: cannot remove '/scratch/tghosh/celavicf_new/jobdirsubmit_tryscenario44': No such file or directory
mkdir: cannot create directory ‘/kfs2/projects/celavicf/celavi-master-usa/results/’: File exists
/var/spool/slurmd/job12396251/slurm_script: line 35: cd: JOBDIR: No such file or directory
Using shortcut LCA cache for US-CA, window glass manufacturing, 2025: 27 entries
Using shortcut LCA cache for US-CA, window glass manufacturing, 2025: 27 entries
Using shortcut LCA cache for US-CA, window glass manufacturing, 2025: 27 entries
Shortcut LCA cache missing entry for US-CO, window glass manufacturing, 2025
Shortcut LCA cache missing entry for US-GA, window glass manufacturing, 2025
Using shortcut LCA cache for US-IL, window glass manufacturing, 2025: 27 entries
Using shortcut LCA cache for US-IN, window glass manufacturing, 2025: 27 entries
Shortcut LCA cache missing entry for US-IA, window glass manufacturing, 2025
Using shortcut LCA cache for US-KS, window glass manufacturing, 2025: 27 entries
Shortcut LCA cache missing entry for US-KY, window glass manufacturing, 2025
Using shortcut LCA cache for US-MI, window glass manufacturing, 2025: 27 entries
Shortcut LCA cache missing entry for US-MO, window glass manufacturing, 2025
Using shortcut LCA cache for US-NY, window glass manufacturing, 2025: 27 entries
Using shortcut LCA cache for US-NC, window glass manufacturing, 2025: 27 entries
Using shortcut LCA cache for US-OH, window glass manufacturing, 2025: 27 entries
Using shortcut LCA cache for US-OK, window glass manufacturing, 2025: 27 entries
Shortcut LCA cache missing entry for US-OR, window glass manufacturing, 2025
Using shortcut LCA cache for US-PA, window glass manufacturing, 2025: 27 entries
Using shortcut LCA cache for US-PA, window glass manufacturing, 2025: 27 entries
Shortcut LCA cache missing entry for US-SC, window glass manufacturing, 2025
Using shortcut LCA cache for US-TN, window glass manufacturing, 2025: 27 entries
Using shortcut LCA cache for US-TN, window glass manufacturing, 2025: 27 entries
Using shortcut LCA cache for US-TX, window glass manufacturing, 2025: 27 entries
Using shortcut LCA cache for US-TX, window glass manufacturing, 2025: 27 entries
Using shortcut LCA cache for US-TX, window glass manufacturing, 2025: 27 entries
Shortcut LCA cache missing entry for US-VA, window glass manufacturing, 2025
Using shortcut LCA cache for US-WA, window glass manufacturing, 2025: 27 entries
Using shortcut LCA cache for US-WI, window glass manufacturing, 2025: 27 entries
Using shortcut LCA cache for US-WI, window glass manufacturing, 2025: 27 entries
Traceback (most recent call last):
  File "/kfs2/projects/celavicf/celavi-master-usa/celavi/des.py", line 577, in update_cost_graph_process
    self.cost_graph.update_costs(_path_dict)
  File "/kfs2/projects/celavicf/celavi-master-usa/celavi/costgraph.py", line 963, in update_costs
    print(f'CostGraph.update_costs: Costs updated for {self.year} after {np.round(time() - self.update_time, 1)} s',
AttributeError: 'CostGraph' object has no attribute 'update_time'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/tghosh/.conda-envs/celavi/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/tghosh/.conda-envs/celavi/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/kfs2/projects/celavicf/celavi-master-usa/celavi/__main__.py", line 25, in <module>
    Scenario(parser=PARSER)
  File "/kfs2/projects/celavicf/celavi-master-usa/celavi/scenario.py", line 115, in __init__
    self.execute()
  File "/kfs2/projects/celavicf/celavi-master-usa/celavi/scenario.py", line 588, in execute
    self.context.run()
  File "/kfs2/projects/celavicf/celavi-master-usa/celavi/des.py", line 596, in run
    self.env.run(until=int(self.max_timesteps))
  File "/home/tghosh/.conda-envs/celavi/lib/python3.8/site-packages/simpy/core.py", line 246, in run
    self.step()
  File "/home/tghosh/.conda-envs/celavi/lib/python3.8/site-packages/simpy/core.py", line 204, in step
    raise exc
AttributeError: 'CostGraph' object has no attribute 'update_time'
cp: cannot stat 'debugtryscenario44output.txt': No such file or directory
cp: cannot stat 'debugtryscenario44error.txt': No such file or directory

Metadata

Metadata

Assignees

Labels

on holdGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions