V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  goodryb  ›  全部回复第 189 页 / 共 230 页
回复总数  4587
1 ... 185  186  187  188  189  190  191  192  193  194 ... 230  
2017-10-20 11:50:54 +08:00
回复了 Bairrfhoinn 创建的主题 分享发现 蚂蚁花呗备战双十一给 80%的用户提升了临时额度
随便抽了一下,很绝望

https://imgur.com/nwpNs98
2017-10-19 13:39:07 +08:00
回复了 grizzly 创建的主题 职场话题 手上有平安, B 站, VPgame 三家的 offer,应该怎么选择啊?
佩服楼主,15K 的收入 15K 的房贷。
2017-10-19 10:09:57 +08:00
回复了 goodryb 创建的主题 Python pyinstller 打包 pyqt5 开发的小程序,打开就崩溃
@BadReese #20 我已经下载了 xcode,学习下 swift,至少这个打包应该问题不大
2017-10-18 21:00:27 +08:00
回复了 goodryb 创建的主题 Python pyinstller 打包 pyqt5 开发的小程序,打开就崩溃
@suntxy #18 打包方便分发,现在只能自己用了
2017-10-18 17:57:59 +08:00
回复了 z742364692 创建的主题 Apple 为什么你们不喜欢贴膜带套呢?
6P 三年,没戴套没贴膜,后壳有磨损,屏幕基本无划痕,摔了好多次,幸好都是侧面
2017-10-18 17:12:02 +08:00
回复了 sida 创建的主题 云计算 我的阿里云美西服务器可以 ping 通无法访问网站无法 ssh 求解
找台境外的 VPS 尝试 ssh 登陆,这几天你懂的
2017-10-18 16:00:21 +08:00
回复了 goodryb 创建的主题 Python pyinstller 打包 pyqt5 开发的小程序,打开就崩溃
@BadReese #16 我也不清楚,我理解应该会自动把所有依赖的包都打进去才对,否则缺少依赖就报错了。

截至目前,我的问题还没有解决
2017-10-18 15:44:58 +08:00
回复了 haifenluo 创建的主题 iPhone 6SP IOS11 的 TocchID 解锁屏幕 bug
我觉得是手机太卡了吧 6P 和你情况一样,第一次按下,解锁后不进入桌面,需要再按一下
2017-10-18 09:55:29 +08:00
回复了 goodryb 创建的主题 Python pyinstller 打包 pyqt5 开发的小程序,打开就崩溃
@lrxiao #12 原文件命令行运行没有任何问题,打包之后运行报错如上

This application failed to start because it could not find or load the Qt platform plugin "cocoa"
in "".

我去 issue 搜了,似乎没有类似的问题,我提了一个,但是作者并没有正面回复
https://github.com/pyinstaller/pyinstaller/issues/2924


@leavic #14 3.3 版本应该是支持了,我使用的是 3.4 dev 版本
2017-10-17 17:44:52 +08:00
回复了 goodryb 创建的主题 Python pyinstller 打包 pyqt5 开发的小程序,打开就崩溃
@fyl00 #10

$sudo pyinstaller -F -c --debug main.py
125 INFO: PyInstaller: 3.4.dev0+133d18156
125 INFO: Python: 3.6.2
136 INFO: Platform: Darwin-17.0.0-x86_64-i386-64bit
138 INFO: wrote /Users/goodryb/PycharmProjects/aliyunUI/src/main.spec
149 INFO: UPX is available.
151 INFO: Extending PYTHONPATH with paths
['/Users/goodryb/PycharmProjects/aliyunUI/src',
'/Users/goodryb/PycharmProjects/aliyunUI/src']
151 INFO: checking Analysis
152 INFO: Building Analysis because out00-Analysis.toc is non existent
152 INFO: Initializing module dependency graph...
155 INFO: Initializing module graph hooks...
157 INFO: Analyzing base_library.zip ...
5699 INFO: running Analysis out00-Analysis.toc
5712 INFO: Caching module hooks...
5720 INFO: Analyzing /Users/goodryb/PycharmProjects/aliyunUI/src/main.py
6276 INFO: Processing pre-safe import module hook urllib3.packages.six.moves
9115 INFO: Loading module hooks...
9115 INFO: Loading module hook "hook-requests.py"...
9117 INFO: Loading module hook "hook-PyQt5.py"...
9280 INFO: Loading module hook "hook-xml.etree.cElementTree.py"...
9282 INFO: Loading module hook "hook-encodings.py"...
9407 INFO: Loading module hook "hook-PyQt5.Qt.py"...
9414 INFO: Loading module hook "hook-certifi.py"...
9417 INFO: Loading module hook "hook-PyQt5.QtWidgets.py"...
9419 INFO: Loading module hook "hook-xml.py"...
9519 INFO: Loading module hook "hook-pydoc.py"...
9520 INFO: Loading module hook "hook-PyQt5.QtCore.py"...
9677 INFO: Loading module hook "hook-PyQt5.QtGui.py"...
10381 INFO: Loading module hook "hook-PyQt5.QtPrintSupport.py"...
10537 INFO: Looking for ctypes DLLs
10547 INFO: Analyzing run-time hooks ...
10552 INFO: Including run-time hook 'pyi_rth_qt5.py'
10572 INFO: Looking for dynamic libraries
11050 INFO: Looking for eggs
11050 INFO: Using Python library /usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/Python
11056 INFO: Warnings written to /Users/goodryb/PycharmProjects/aliyunUI/src/build/main/warnmain.txt
11119 INFO: Graph cross-reference written to /Users/goodryb/PycharmProjects/aliyunUI/src/build/main/xref-main.html
11144 INFO: checking PYZ
11145 INFO: Building PYZ because out00-PYZ.toc is non existent
11145 INFO: Building PYZ (ZlibArchive) /Users/goodryb/PycharmProjects/aliyunUI/src/build/main/out00-PYZ.pyz
11882 INFO: Building PYZ (ZlibArchive) /Users/goodryb/PycharmProjects/aliyunUI/src/build/main/out00-PYZ.pyz completed successfully.
11898 INFO: checking PKG
11899 INFO: Building PKG because out00-PKG.toc is non existent
11899 INFO: Building PKG (CArchive) out00-PKG.pkg
23726 INFO: Building PKG (CArchive) out00-PKG.pkg completed successfully.
23734 INFO: Bootloader /usr/local/lib/python3.6/site-packages/PyInstaller/bootloader/Darwin-64bit/run_d
23734 INFO: checking EXE
23734 INFO: Building EXE because out00-EXE.toc is non existent
23734 INFO: Building EXE from out00-EXE.toc
23735 INFO: Appending archive to EXE /Users/goodryb/PycharmProjects/aliyunUI/src/dist/main
23793 INFO: Fixing EXE for code signing /Users/goodryb/PycharmProjects/aliyunUI/src/dist/main
23804 INFO: Building EXE from out00-EXE.toc completed successfully.


单文件打开的时候

$./main
[97057] PyInstaller Bootloader 3.x
[97057] LOADER: executable is /Users/goodryb/PycharmProjects/aliyunUI/src/dist/main
[97057] LOADER: homepath is /Users/goodryb/PycharmProjects/aliyunUI/src/dist
[97057] LOADER: _MEIPASS2 is NULL
[97057] LOADER: archivename is /Users/goodryb/PycharmProjects/aliyunUI/src/dist/main
[97057] LOADER: Extracting binaries
[97057] LOADER: Executing self as child
[97057] LOADER: set _MEIPASS2 to /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa
[97058] PyInstaller Bootloader 3.x
[97058] LOADER: executable is /Users/goodryb/PycharmProjects/aliyunUI/src/dist/main
[97058] LOADER: homepath is /Users/goodryb/PycharmProjects/aliyunUI/src/dist
[97058] LOADER: _MEIPASS2 is /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa
[97058] LOADER: archivename is /Users/goodryb/PycharmProjects/aliyunUI/src/dist/main
[97058] LOADER: Already in the child - running user's code.
[97058] LOADER: Python library: /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa/Python
[97058] LOADER: Loaded functions from Python library.
[97058] LOADER: Manipulating environment (sys.path, sys.prefix)
[97058] LOADER: Pre-init sys.path is /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa/base_library.zip:/var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa
[97058] LOADER: sys.prefix is /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa
[97058] LOADER: Setting runtime options
[97058] LOADER: Initializing python
[97058] LOADER: Overriding Python's sys.path
[97058] LOADER: Post-init sys.path is /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa/base_library.zip:/var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa
[97058] LOADER: Setting sys.argv
[97058] LOADER: setting sys._MEIPASS
[97058] LOADER: importing modules from CArchive
[97058] LOADER: extracted struct
[97058] LOADER: callfunction returned...
[97058] LOADER: extracted pyimod01_os_path
[97058] LOADER: callfunction returned...
[97058] LOADER: extracted pyimod02_archive
[97058] LOADER: callfunction returned...
[97058] LOADER: extracted pyimod03_importers
[97058] LOADER: callfunction returned...
[97058] LOADER: Installing PYZ archive with Python modules.
[97058] LOADER: PYZ archive: out00-PYZ.pyz
[97058] LOADER: Running pyiboot01_bootstrap.py
[97058] LOADER: Running pyi_rth_qt5.py
[97058] LOADER: Running main.py
objc[97058]: Class RunLoopModeTracker is implemented in both /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa/QtCore (0x10de2a010) and /usr/local/Cellar/qt/5.9.1/lib/QtCore.framework/Versions/5/QtCore (0x112cdf010). One of the two will be used. Which one is undefined.
objc[97058]: Class NotificationReceiver is implemented in both /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa/QtWidgets (0x10f153218) and /usr/local/Cellar/qt/5.9.1/lib/QtWidgets.framework/Versions/5/QtWidgets (0x1131f7218). One of the two will be used. Which one is undefined.
objc[97058]: Class QCocoaPageLayoutDelegate is implemented in both /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa/QtPrintSupport (0x10f372ef0) and /usr/local/Cellar/qt/5.9.1/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (0x10ff4fef0). One of the two will be used. Which one is undefined.
objc[97058]: Class QCocoaPrintPanelDelegate is implemented in both /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa/QtPrintSupport (0x10f372f40) and /usr/local/Cellar/qt/5.9.1/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (0x10ff4ff40). One of the two will be used. Which one is undefined.
QObject::moveToThread: Current thread (0x7ffd8270ba70) is not the object's thread (0x7ffd824e26a0).
Cannot move to target thread (0x7ffd8270ba70)

You might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
This application failed to start because it could not find or load the Qt platform plugin "cocoa"
in "".

Available platform plugins are: cocoa, minimal, offscreen.

Reinstalling the application may fix this problem.
[1] 97057 abort ./main
2017-10-17 17:02:21 +08:00
回复了 goodryb 创建的主题 Python pyinstller 打包 pyqt5 开发的小程序,打开就崩溃
@fyl00 #7 问题基本明确,warning 中的那些模块找不到,不太清楚 brew 安装的 python3,模块的引用是怎样的,想把模块目录添加进去,发现很分散
2017-10-17 16:40:29 +08:00
回复了 goodryb 创建的主题 Python pyinstller 打包 pyqt5 开发的小程序,打开就崩溃
@justou #6 目前来看主要是很多模块无法找到,我怀疑是不是和通过 brew 安装 python3 有关系,但直接运行脚本是没问题的
2017-10-17 16:11:29 +08:00
回复了 goodryb 创建的主题 Python pyinstller 打包 pyqt5 开发的小程序,打开就崩溃
@fyl00 #3 不太明白,打包好之后就是 main.app 了,命令行用 open main.app 打开,停顿一下就运行结束了,没有什么输出,然后弹窗显示崩溃

http://7xqpyi.com1.z0.glb.clouddn.com/2017_10_17_16_10_35.png
2017-10-17 16:04:44 +08:00
回复了 goodryb 创建的主题 Python pyinstller 打包 pyqt5 开发的小程序,打开就崩溃
@timetolo #1 哎!~~,不容易呀,看来只能用脚本跑了
2017-10-16 16:18:03 +08:00
回复了 wclebb 创建的主题 iPhone 天天说升级后悔和卡成狗的你们可以看看这个帖子了……
降频是一方面原因,我前几天刚更换了电池,查看 CPU 频率 1400MHz,没降频,但是只是比之前稍好一些,总体还是卡顿
2017-10-16 13:51:05 +08:00
回复了 goodryb 创建的主题 硬件 有没有更换过笔记本 CPU 的,请教下几个问题
@zts1993 #7 有道理,还是不要折腾了
2017-10-16 13:28:23 +08:00
回复了 goodryb 创建的主题 硬件 有没有更换过笔记本 CPU 的,请教下几个问题
@newworld #1 供电应该没问题,两个 U TDP 都是 35W

@zts1993 #3 640M 应该是最可靠的一个,TDP 一致,820m ES 怕 boom

另外,这个就笔记本只是放家里当台式机用,上上网,看看视频什么的,不用来游戏。办公现在是 Mac

当然以后如果是重新配台式机,那肯定选择最新的硬件了。
没试过,我一般是 mac 静音,耳机音量适中,摘下耳机也不会有外放声音


根本原因还是有的软件没有支持 AirPods 摘下暂停播放这个功能
2017-10-16 10:42:59 +08:00
回复了 boyhailong 创建的主题 iPhone 6p 升级 11.03 后卡出翔
1、DFU 刷机,刷完后非常流畅,前提是一个空系统,软件装多了也会变慢
2、查看电池损耗程度,实际经历,电池损耗过大会导致 CPU 降频,造成手机卡顿,更换电池后 CPU 能保持 1400MHz。

归根结底还是两个原因,内存 1G,CPU 跟不上了,A8 才 1400MHz,现在 A10 都 2400MHz 更别说 A11
2017-10-16 10:38:46 +08:00
回复了 kenybens 创建的主题 优惠信息 0.9 折帮买电子设备
买内存条呀,还能升值
1 ... 185  186  187  188  189  190  191  192  193  194 ... 230  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2839 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 45ms · UTC 13:46 · PVG 21:46 · LAX 05:46 · JFK 08:46
Developed with CodeLauncher
♥ Do have faith in what you're doing.