Comments (20)
Hi, I would like to help with this, do you have any roadmap?
from droidbot.
Thank you very much @ClaudiuGeorgiu .
I don't have a roadmap for this. Could you install and test DroidBot with Python 3 and see what happens?
from droidbot.
Sure, I will test it in the next days and I will report here the results.
from droidbot.
Hi, I've started updating the code (https://github.com/ClaudiuGeorgiu/droidbot/commits/python3). It looks like that the last version of androguard introduced some changes in how the manifest is handled so droidbot needs to be updated accordingly. I'll investigate more in the next days and I'll report back here the progress.
from droidbot.
Hi @ylimit, I've finally managed to run DroidBot with Python3 but I don't think the changes are compatible with Python2 (I wasn't interested in maintaining the compatibility). I'm going to continue working on my fork of DroidBot to do some minor refactoring/add some minor features for my use case, so let me know if you are interested in a pull request.
from droidbot.
Thank you very much @ClaudiuGeorgiu .
I just created a python3 branch. Please pull your code to that branch.
from droidbot.
Hi, I would also like to help with this. Is there anything left to do in this?
from droidbot.
Hi @anant-joshi, I just added basic Python3
compatibility (see the python3
branch). Currently I'm working on the following things:
- use
logger.something
instead ofprint
(so that all the code is consistent) - use
.format(...)
instead of%
in strings - fix typos and update docstrings (this has nothing to do directly with
Python3
)
Let me know if you want to help with this.
@ylimit, what do you think about this list of tasks?
from droidbot.
Sure, sounds good.
from droidbot.
I've converted all strings from % to .format().
Here: 1ff2a4e
from droidbot.
Hey @ClaudiuGeorgiu can I work on porting print statements to loggers?
from droidbot.
@Erick2206 yes, of course.
from droidbot.
@ClaudiuGeorgiu so I have to port all print statements to logger statements, right?
from droidbot.
@Erick2206 yes. For example if you find a print statement inside an except
block you can convert it to logger.error(...)
or logger.warning(...)
, depending on the severity of the error.
from droidbot.
@ClaudiuGeorgiu I have sent a pull request, please review it and merge if correct.
from droidbot.
@Erick2206 I reviewed the pull request. However I can't merge pull requests, you will have to wait for someone with write access to the repository.
from droidbot.
Hi @ClaudiuGeorgiu , I would like to contribute to towards the porting process. How can I help?
from droidbot.
Thanks @Jayd-1234 but at the moment I don't know what else has to be ported to Python3, but if you have any idea just open a new pull request.
from droidbot.
The master branch now supports Python 3. Not well-tested though.
from droidbot.
Sorry, I haven't saw the branch for Python3
from droidbot.
Related Issues (20)
- Automate third-party sign-in functionality found in android apps HOT 2
- Quotation marks being inserted around username and password fields HOT 2
- How do I know what exactly Droidbot did to the phone at any given time? HOT 13
- Support for .XAPK
- Is there a way to stop Droidbot from generating the "Force Stop" operation HOT 2
- droidbot_ime is failing to write text which contains space HOT 4
- [Internship] Recruiting part-time interns to maintain this project. HOT 1
- “No such file or directory” error on Android 13 HOT 2
- Has TOLLER been integrated with DroidBot ? HOT 1
- DroidBot + ChatGPT for easier GUI automation
- Android versions supported by DroidBot HOT 6
- Error on Android 4.1 HOT 2
- Close automatically. HOT 1
- [Feature] Add support to Android 12L (API Level 32) HOT 1
- how to gather coverage while running droidbot? HOT 1
- Droidbot doesn't support Android API level >=32.
- Can't load tokenizer for 'bert-base-multilingual-cased'
- cv mode issue HOT 1
- ModuleNotFoundError: No module named 'start' HOT 2
- Can't run the code in Android 14 with API 34
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 droidbot.