═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ GUILD ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ 2025-02-04 22:07:38.442 | ERROR | ImportError: cannot import name 'get_server_monthday' from 'module.config.utils' (/home/izum1/App/alas/module/config/utils.py) ╭───────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────╮ │ │ │ /home/izum1/App/alas/alas.py:69 in run │ │ │ │ 66 │ │ try: │ │ 67 │ │ │ if not skip_first_screenshot: │ │ 68 │ │ │ │ self.device.screenshot() │ │ ❱ 69 │ │ │ self.__getattribute__(command)() │ │ 70 │ │ │ return True │ │ 71 │ │ except TaskEnd: │ │ 72 │ │ │ return True │ │ │ │ ╭──────────────────────────────────────────────────── locals ─────────────────────────────────────────────────────╮ │ │ │ command = 'guild' │ │ │ │ e = ImportError("cannot import name 'get_server_monthday' from 'module.config.utils' │ │ │ │ (/home/izum1/App/alas/module/config/utils.py)") │ │ │ │ self = │ │ │ │ skip_first_screenshot = False │ │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │ │ /home/izum1/App/alas/alas.py:209 in guild │ │ │ │ 206 │ │ RewardMeowfficer(config=self.config, device=self.device).run() │ │ 207 │ │ │ 208 │ def guild(self): │ │ ❱ 209 │ │ from module.guild.guild_reward import RewardGuild │ │ 210 │ │ RewardGuild(config=self.config, device=self.device).run() │ │ 211 │ │ │ 212 │ def reward(self): │ │ │ │ ╭──────────────────────── locals ─────────────────────────╮ │ │ │ self = │ │ │ ╰─────────────────────────────────────────────────────────╯ │ │ │ │ /home/izum1/App/alas/module/guild/guild_reward.py:3 in │ │ │ │ 1 from module.guild.lobby import GuildLobby │ │ 2 from module.guild.logistics import GuildLogistics │ │ ❱ 3 from module.guild.operations import GuildOperations │ │ 4 from module.ui.page import page_guild, page_main │ │ 5 │ │ 6 │ │ │ │ ╭──────────────────────────────────────────────────── locals ─────────────────────────────────────────────────────╮ │ │ │ __builtins__ = { │ │ │ │ │ '__name__': 'builtins', │ │ │ │ │ '__doc__': 'Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the │ │ │ │ `nil'+46, │ │ │ │ │ '__package__': '', │ │ │ │ │ '__loader__': , │ │ │ │ │ '__spec__': ModuleSpec(name='builtins', loader=), │ │ │ │ │ '__build_class__': , │ │ │ │ │ '__import__': , │ │ │ │ │ 'abs': , │ │ │ │ │ 'all': , │ │ │ │ │ 'any': , │ │ │ │ │ ... +143 │ │ │ │ } │ │ │ │ __cached__ = '/home/izum1/App/alas/module/guild/__pycache__/guild_reward.cpython-37.pyc' │ │ │ │ __doc__ = None │ │ │ │ __file__ = '/home/izum1/App/alas/module/guild/guild_reward.py' │ │ │ │ __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7f16663910> │ │ │ │ __name__ = 'module.guild.guild_reward' │ │ │ │ __package__ = 'module.guild' │ │ │ │ __spec__ = ModuleSpec(name='module.guild.guild_reward', │ │ │ │ loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f16663910>, │ │ │ │ origin='/home/izum1/App/alas/module/guild/guild_reward.py') │ │ │ │ GuildLobby = │ │ │ │ GuildLogistics = │ │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │ │ │ │ /home/izum1/App/alas/module/guild/operations.py:6 in │ │ │ │ 3 from module.base.button import ButtonGrid │ │ 4 from module.base.timer import Timer │ │ 5 from module.base.utils import * │ │ ❱ 6 from module.config.utils import get_server_monthday │ │ 7 from module.exception import GameBugError │ │ 8 from module.guild.assets import * │ │ 9 from module.guild.base import GuildBase │ │ │ │ ╭──────────────────────────────────────────────────── locals ─────────────────────────────────────────────────────╮ │ │ │ __builtins__ = { │ │ │ │ │ '__name__': 'builtins', │ │ │ │ │ '__doc__': 'Built-in functions, exceptions, and other │ │ │ │ objects.\n\nNoteworthy: None is the `nil'+46, │ │ │ │ │ '__package__': '', │ │ │ │ │ '__loader__': , │ │ │ │ │ '__spec__': ModuleSpec(name='builtins', loader=), │ │ │ │ │ '__build_class__': , │ │ │ │ │ '__import__': , │ │ │ │ │ 'abs': , │ │ │ │ │ 'all': , │ │ │ │ │ 'any': , │ │ │ │ │ ... +143 │ │ │ │ } │ │ │ │ __cached__ = '/home/izum1/App/alas/module/guild/__pycache__/operations.cpython-37.pyc' │ │ │ │ __doc__ = None │ │ │ │ __file__ = '/home/izum1/App/alas/module/guild/operations.py' │ │ │ │ __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7fa071a150> │ │ │ │ __name__ = 'module.guild.operations' │ │ │ │ __package__ = 'module.guild' │ │ │ │ __spec__ = ModuleSpec(name='module.guild.operations', │ │ │ │ loader=<_frozen_importlib_external.SourceFileLoader object at 0x7fa071a150>, │ │ │ │ origin='/home/izum1/App/alas/module/guild/operations.py') │ │ │ │ area_cross_area = │ │ │ │ area_in_area = │ │ │ │ area_limit = │ │ │ │ area_offset = │ │ │ │ area_pad = │ │ │ │ area_size = │ │ │ │ ButtonGrid = │ │ │ │ col2name = │ │ │ │ color_bar_percentage = │ │ │ │ color_mapping = │ │ │ │ color_similar = │ │ │ │ color_similar_1d = │ │ │ │ color_similarity = │ │ │ │ color_similarity_2d = │ │ │ │ crop = │ │ │ │ cv2 = │ │ │ │ datetime = │ │ │ │ ensure_int = │ │ │ │ ensure_time = │ │ │ │ extract_letters = │ │ │ │ extract_white_letters = │ │ │ │ float2str = │ │ │ │ get_bbox = │ │ │ │ get_bbox_reversed = │ │ │ │ get_color = │ │ │ │ Image = │ │ │ │ image_channel = │ │ │ │ image_left_strip = │ │ │ │ image_paste = │ │ │ │ image_size = │ │ │ │ limit_in = │ │ │ │ load_image = │ │ │ │ location2node = │ │ │ │ name2col = │ │ │ │ node2location = │ │ │ │ np = │ │ │ │ point2str = │ │ │ │ point_in_area = │ │ │ │ point_limit = │ │ │ │ random_line_segments = │ │ │ │ random_normal_distribution_int = │ │ │ │ random_rectangle_point = │ │ │ │ random_rectangle_vector = │ │ │ │ random_rectangle_vector_opted = │ │ │ │ re = │ │ │ │ red_overlay_transparency = │ │ │ │ REGEX_NODE = re.compile('(-?[A-Za-z]+)(-?\\d+)') │ │ │ │ resize = │ │ │ │ rgb2gray = │ │ │ │ rgb2hsv = │ │ │ │ rgb2luma = │ │ │ │ rgb2yuv = │ │ │ │ save_image = │ │ │ │ Timer = │ │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ImportError: cannot import name 'get_server_monthday' from 'module.config.utils' (/home/izum1/App/alas/module/config/utils.py) 2025-02-04 22:07:38.874 | WARNING | Saving error: ./log/error/1738678058874