Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Exceptions in Packings Slip Processing During Ship #305

Open
stdavis opened this issue Nov 26, 2019 · 0 comments
Open

Handle Exceptions in Packings Slip Processing During Ship #305

stdavis opened this issue Nov 26, 2019 · 0 comments
Labels

Comments

@stdavis
Copy link
Member

stdavis commented Nov 26, 2019

Several times we've deleted data during the day that is involved in a crate in the packing slip. Then forklift short circuits during the ship that night preventing any other pallets/crates from being processed. We should handle these errors more gracefully allowing for the other pallets to be processed.

Here's an example error:

Traceback (most recent call last): File "c:\program files\arcgis\pro\bin\python\envs\forklift\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\program files\arcgis\pro\bin\python\envs\forklift\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\forklift\Scripts\forklift.exe\__main__.py", line 7, in sys.exit(main()) File "c:\program files\arcgis\pro\bin\python\envs\forklift\lib\site-packages\forklift\__main__.py", line 124, in main engine.ship_data() File "c:\program files\arcgis\pro\bin\python\envs\forklift\lib\site-packages\forklift\engine.py", line 309, in ship_data pallets_to_ship = _process_packing_slip(None, pallet_arg) File "c:\program files\arcgis\pro\bin\python\envs\forklift\lib\site-packages\forklift\engine.py", line 607, in _process_packing_slip pallet.add_packing_slip(item) File "c:\program files\arcgis\pro\bin\python\envs\forklift\lib\site-packages\forklift\models.py", line 234, in add_packing_slip crate_objects_by_name[slip_crate['name']].result = [slip_crate['result']] KeyError: 'Contours_2Meter_SLCounty'
Forklift version: 9.2.1

Here's a link (@utah.gov accounts only) to an example log file: https://drive.google.com/file/d/1e5Jqxcgkl2NvRN0RAS4RLL_xJ91wfHHR/view?usp=sharing

@stdavis stdavis added the bug label Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant