Comments (3)
烦请提供下报错内容,因为在我这边的测试环境并没有遇到这个问题,验证码是可以正常提取的。
from gammu-wechat.
这是我在log里看到的:
Thu 2021/09/23 13:24:44 gammu-smsd[7133]: Received message from: 10690759300410690456
Thu 2021/09/23 13:24:44 gammu-smsd[7133]: Read 1 messages
Thu 2021/09/23 13:24:44 gammu-smsd[7133]: Received IN20210923_202430_00_10690759300410690456_00.txt
Thu 2021/09/23 13:24:44 gammu-smsd[28136]: Starting run on receive: /usr/bin/python3 /home/pi/tools/smsForward.py IN20210923_202430_00_10690759300410690456_00.txt
Thu 2021/09/23 13:24:44 gammu-smsd[7133]: Process failed with exit status 1
Thu 2021/09/23 13:24:44 gammu-smsd[7133]: Subprocess output: Traceback (most recent call last):
File "/home/pi/tools/smsForward.py", line 44, in
captchaCode = ','.join(re.findall("\d{6}|\d{4}", text))
NameError: name 're' is not defined
from gammu-wechat.
用了点脑子之后解决了,smsForward里面要import re
from gammu-wechat.
Related Issues (4)
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 gammu-wechat.