hbwhliou 发表于 2023-12-18 11:36

退役球员编号取消,然后没签约的新秀第二年会消失,但是会生成头像文件config,第二年生成的球员就会占用这些编号,这个问题怎么解决,有兄弟们知道吗

FirenceG 发表于 2023-12-18 14:24

楼主问一下,xml文件默认打开方式是什么来着,我的莫名其妙变成edge了{:16_798:}

felixscreen1 发表于 2023-12-30 16:29

Traceback (most recent call last):
File "\app\newganmanager\__main__.py", line 4, in <module>
    main().main_loop()
File "\app_packages\toga\app.py", line 551, in main_loop
    self._impl.main_loop()
File "\app_packages\toga_winforms\app.py", line 254, in main_loop
    raise self._exception
File "\app_packages\toga_winforms\app.py", line 229, in run_app
    self.create()
File "\app_packages\toga_winforms\app.py", line 125, in create
    self.interface.startup()
File "\app\newganmanager\app.py", line 236, in startup
    self.check_for_update()
File "\app\newganmanager\app.py", line 441, in check_for_update
    self._show_info("There is a new version. Please Update!")
File "\app\newganmanager\app.py", line 299, in _show_info
    self.main_window.info_dialog("Info", msg)
File "\app_packages\toga\window.py", line 282, in info_dialog
    return self.factory.dialogs.InfoDialog(
File "\app_packages\toga_winforms\dialogs.py", line 50, in __init__
    super().__init__(
File "\app_packages\toga_winforms\dialogs.py", line 31, in __init__
    super().__init__()
File "\app_packages\toga_winforms\dialogs.py", line 10, in __init__
    loop = asyncio.get_event_loop()
File "asyncio\events.py", line 639, in get_event_loop
RuntimeError: There is no current event loop in thread 'Dummy-1'.

Physalis 发表于 2023-12-30 21:18

按贴子里的操作了还是报错呢

Traceback (most recent call last):
File "\app_packages\aiohttp\client_reqrep.py", line 70, in <module>
    import cchardet as chardet
ModuleNotFoundError: No module named 'cchardet'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "\app\newganmanager\__main__.py", line 1, in <module>
    from newganmanager.app import main
File "\app\newganmanager\app.py", line 17, in <module>
    from reporter import Reporter
File "\app\reporter.py", line 1, in <module>
    from dhooks import Webhook, Embed, File
File "\app_packages\dhooks\__init__.py", line 1, in <module>
    from .client import Webhook
File "\app_packages\dhooks\client.py", line 3, in <module>
    import aiohttp
File "\app_packages\aiohttp\__init__.py", line 6, in <module>
    from .client import (
File "\app_packages\aiohttp\client.py", line 59, in <module>
    from .client_reqrep import (
File "\app_packages\aiohttp\client_reqrep.py", line 72, in <module>
    import charset_normalizer as chardet# type: ignore
File "\app_packages\charset_normalizer\__init__.py", line 24, in <module>
    from .api import from_bytes, from_fp, from_path, normalize
File "\app_packages\charset_normalizer\api.py", line 10, in <module>
    from .cd import (
File "\app_packages\charset_normalizer\cd.py", line 9, in <module>
    from .md import is_suspiciously_successive_range
File "charset_normalizer\md.py", line 10, in <module>
    is_emoticon,
ImportError: cannot import name 'is_arabic' from 'charset_normalizer.utils' (\app_packages\charset_normalizer\utils.py)

West_Wind_Flame 发表于 2024-1-7 07:15

我这边也开始报错,用了帖子里的方法,管理员也试过但意义没用,明明前几天还好好的

Traceback (most recent call last):
File "\app\newganmanager\__main__.py", line 4, in <module>
    main().main_loop()
File "\app_packages\toga\app.py", line 551, in main_loop
    self._impl.main_loop()
File "\app_packages\toga_winforms\app.py", line 254, in main_loop
    raise self._exception
File "\app_packages\toga_winforms\app.py", line 229, in run_app
    self.create()
File "\app_packages\toga_winforms\app.py", line 125, in create
    self.interface.startup()
File "\app\newganmanager\app.py", line 236, in startup
    self.check_for_update()
File "\app\newganmanager\app.py", line 441, in check_for_update
    self._show_info("There is a new version. Please Update!")
File "\app\newganmanager\app.py", line 299, in _show_info
    self.main_window.info_dialog("Info", msg)
File "\app_packages\toga\window.py", line 282, in info_dialog
    return self.factory.dialogs.InfoDialog(
File "\app_packages\toga_winforms\dialogs.py", line 50, in __init__
    super().__init__(
File "\app_packages\toga_winforms\dialogs.py", line 31, in __init__
    super().__init__()
File "\app_packages\toga_winforms\dialogs.py", line 10, in __init__
    loop = asyncio.get_event_loop()
File "asyncio\events.py", line 639, in get_event_loop
RuntimeError: There is no current event loop in thread 'Dummy-1'.

giggsxbr 发表于 2024-1-16 11:15

gamedreamcd 发表于 2023-11-21 17:15
1.31 只能生成1000000以后的球员,以前的会出现黑头。下一版建议改一下可以支持从0开始的头像
=========== ...

请问修改这个需要重新生成exe文件吗?还是重新打开就行?

gamedreamcd 发表于 2024-1-17 14:00

giggsxbr 发表于 2024-1-16 11:15
请问修改这个需要重新生成exe文件吗?还是重新打开就行?

1. 在 NewGAN-Manager\app 下找到这个文件:
rtfparser.py


2. 打开并在文件里面找到有下面这个的行:
      UID_regex = re.compile('()
然后替换整行为下面这行就可以了。(注意:整行全部替换)
      UID_regex = re.compile('(){1,}')

giggsxbr 发表于 2024-1-17 21:51

gamedreamcd 发表于 2024-1-17 14:00
1. 在 NewGAN-Manager\app 下找到这个文件:
rtfparser.py



我实测了下,改了这个代码好像没法生效,是不是要重新编译生成那个可执行文件才行?

影舞忘川 发表于 2024-1-18 16:18

原作者更新了1.4.0{:16_800:}

kevinhala 发表于 2024-1-24 14:21

影舞忘川 发表于 2024-1-18 16:18
原作者更新了1.4.0

能发一下文件吗?我之前1.3.3死活打不开

Wieking 发表于 2024-1-29 13:41

感谢感谢感谢感谢感谢

切尔西 发表于 2024-1-31 03:44

rohye 发表于 2023-11-12 21:24
随机人头像包可以去这里下载:
https://df11faces.com



下个头像,还得花9块钱去注册个垃圾网盘?

anthony817 发表于 2024-2-24 23:23

大佬能给个最新版1.40的软件的更新吗?1.33的打不开了,让必须更新。或者请大佬教一下怎么修改汉化对应的代码?谢谢!

wuli小黄 发表于 2024-2-29 10:56

无法导入试图,这个怎么办啊

wuli小黄 发表于 2024-2-29 11:00

wuli小黄 发表于 2024-2-29 10:56
无法导入试图,这个怎么办啊

提示SCRIPT FACES player search文件里的视图在当前面板中无效,已经更新131的补丁了啊

多卵鱼 发表于 2024-3-2 18:02

大佬,该更新了

wangshen4002 发表于 2024-3-3 06:06

666666666666666666666666666666666

huangruxinl01 发表于 2024-3-6 18:30

大佬前一段还用的好好的,最近打不开开始报错了,是不是要更新了,能更新一下24.3的嘛谢谢

上官东名 发表于 2024-3-20 00:19

24.3能用么?

上官东名 发表于 2024-3-20 00:20

上官东名 发表于 2024-3-20 00:19
24.3能用么?

还有我选不了图片,在这一步我也看不到up主选了图片,只能看见他在这软件上点了一下路径就出来了
页: 1 2 3 [4] 5
查看完整版本: Newganmanager随机人头像生成【可识别国籍与人种】,自改支持中文数据库, 更新24.2