Comments (11)
刚刚试了一下,命令行和 Windows 版的程序都可以正常转换,估计是 macOS 共享库的问题,我排查一下。
from caj2pdf-qt.
方便上传样本吗?或者给我发邮件也行。
from caj2pdf-qt.
CAJ文件不支持传输,我压缩了发给您。
智能交通系统车辆流量检测技术的研究_代建辉.caj.zip
from caj2pdf-qt.
多谢!
from caj2pdf-qt.
这个 Bug 很迷,从命令行启动程序就可以正常转换,你可以试试打开终端,执行这条命令:
/Applications/caj2pdf.app/Contents/MacOS/caj2pdf
我不是 macOS 开发者,所以不清楚从命令行启动和从启动器启动有啥区别,希望有知道的开发者可以解答一下。
from caj2pdf-qt.
已更新 README ,这条作为临时的解决方案吧。
from caj2pdf-qt.
我试着从终端启动程序并转换,成功了。看来只能写个shell来启动了,真是很奇怪的bug啊。
from caj2pdf-qt.
不过在终端有这样一条消息,应该是父子线程问题,可以注意一下。另外,我觉得您博客做的很好!
QObject: Cannot create children for a parent that is in a different thread.
(Parent is CAJ2PDF(0x3099392c8), parent's thread is QThread(0x60000273c1e0), current thread is ExecutionThread(0x60000300b0c0)
from caj2pdf-qt.
不过在终端有这样一条消息,应该是父子线程问题,可以注意一下。另外,我觉得您博客做的很好!
QObject: Cannot create children for a parent that is in a different thread. (Parent is CAJ2PDF(0x3099392c8), parent's thread is QThread(0x60000273c1e0), current thread is ExecutionThread(0x60000300b0c0)
这个提示我之前就注意到了,原因是我把转换线程放在一个子线程(控制线程)中创建了,而一般来讲所有线程的创建都应该放在主线程中。我尝试过不止一次按照官方的思路用 signals & slots 来把转换线程放在主线程中创建,但全部失败了。失败的原因主要是互斥锁在不同的线程间无法同步。
这个提示在 Windows 和 Linux 下也有,但我发现它其实并不影响实际的功能,所以就没管它了,把它当成一个 Warning 好了。
顺便一提,我个人的猜测是,它之所以不影响是因为 Qt 的实现可能是如果新线程是在某个子线程中创建的,那就 fallback 到主线程中创建并报出这个提示,而由于在这个程序的实现中,转换线程并不需要共享控制线程的资源,所以没有报错。
from caj2pdf-qt.
我也是M1,遇到了同样的问题。输出目录自定义在Download,每次手动改成desktop就能成功转换了。
from caj2pdf-qt.
我是mac m1 用户, 只有部分文件能转换。 不能转换的文件报错为File is pure-text HN; cannot convert to pdf, 不知道是我自己文件的问题还是别的问题
from caj2pdf-qt.
Related Issues (20)
- 多文件不能同时转换的问题 HOT 1
- 点完成,程序关闭 HOT 1
- 开发者你好,我遇到了与那个mac用户一样的问题,但我是win64的用户 HOT 2
- 能否增加连续转换
- 能否增加一个默认保存目录功能
- 有没有计划加入Homebrew? HOT 1
- 写了个AppleScript,方便M1用户通过命令打开
- 能不能别限制caj文件,kdh文件也能转换 HOT 7
- 软件使用完自动关闭问题 HOT 1
- 安装包内没有caj2pdf.exe文件
- 202309:现在**知网的官方软件"全球学术快报"已经可以免费,无限制,保留目录地把caj转换成pdf了 HOT 2
- 图标太小
- 显示转换进度100%但无文件生成 HOT 2
- 批量转换失败
- Entry point not found (api-ms-win-core-synch-l1-2-0.dll) HOT 1
- aur的包缺少依赖项unzip HOT 1
- macos版本可以降低系统版本要求嘛 HOT 3
- 有些caj文件转换失败 HOT 4
- caj转换成功后,页面顺序乱了,书签页滞后一页 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caj2pdf-qt.