-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
frontend: Revamp Import #2633
Closed
Closed
frontend: Revamp Import #2633
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pylint result on modfied files:
|
I'm getting this error while trying to import a configuration: 15:58:52 (INFO) Importing backup: backup_test__113.yml
15:58:52 (ERROR) Error while running async job: <function BackupManager.import_backup at 0x7f7b50e64700>
Exception: 'NoneType' object has no attribute 'create_bottle_from_config'
File "/var/home/TheEvilSkeleton/Projects/Bottles/build/share/bottles/bottles/backend/utils/threading.py", line 59, in __target
result = self.task_func(*args, **kwargs)
File "/var/home/TheEvilSkeleton/Projects/Bottles/build/share/bottles/bottles/backend/managers/backup.py", line 114, in import_backup
if config_load.status and manager.create_bottle_from_config(config_load.data):
Exception in thread Thread-12 (__target):
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/var/home/TheEvilSkeleton/Projects/Bottles/build/share/bottles/bottles/backend/utils/threading.py", line 70, in __target
self.callback(result, error)
File "/var/home/TheEvilSkeleton/Projects/Bottles/build/share/bottles/bottles/frontend/main.py", line 373, in finish
if result.status:
AttributeError: 'AttributeError' object has no attribute 'status' |
This is caused by a piece of overlooked code during backend rewrite, fixing in #2749. |
TheEvilSkeleton
force-pushed
the
revamp-import
branch
from
July 29, 2023 23:34
df640d1
to
1e26aad
Compare
Closing this as I won't be working on it anymore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This removes the redundant Import page with entries in the primary menu.
Depends on Fix backend rewrite #2749Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce.