Comments (5)
Could you please provide some more information for this? This example (with "a" replaced with a screen capture) works correctly on my current installation (Mac OS 10.5 with libpng and zlib).
from autopy-legacy.
64bit Linux, 2.6.32
The string used was 'b50,10,eNoz4Q1zl8gpNZ2/OvrW9vT7+/IeHSp6eLDwbrv7Uj/5fBPesHitumkB G7dnXNiWcT7TqB0oAkQZRu1L4vdvyTrX6DrfRy7XRy6n2HLSsrhDWzLP7i68fKDsxuGKm4fKbs6J3JqgUw9 U7yuX1+Q0f2X0sVTdVogJuFCMSsvi4Ev///+/dv4u0GGLQy5tSLy5I+PuruzbOzKu+crmAcWBsrvXHY9SrV oSerDWZk5FXN9/MFjQtyFNr31+yD5P6SygMiCaXLfUSjAmVbdtXujuNYnH1yWfWpd0MlqjGqgdYoWXdHaeY T9Q2X+8INa2ot1+C0SLm1jWHJ/Tq6Kubk6+uTn52rq4817SOXBXhSiUTXHZUmw4BdlVcaoNvY4bXMXTIcqA 4OP7L0BLvaVyS02mTffaPsNrB1Aj3FXuEpmZOt3EuKrFZgNEi4to5lTXI4uCLq6JubYm5vKysNMektlwVwV IF7eZrc5U70V2Vbhcdb3hUieRVLirIODkvkv+urmxio0Nhkt9JQrgrnITz+h33BStXAePLLhpQKfCBcMV6m d4QLU4i6T32++b63tmWdjl5eEXFgQcd5fIgrvKR6KgRmdxkkIHsquCJMvL1Oc5CqVAlAFNhjgACJ7cfwF0m J9IiZtgFtxVLqLpEx23T3La2We3rcVkbbxMB7KrgkSrS9WW1umv67DYDneVo1Baq+mWyc6HZnufAqIpLgdc xTLhrvISzS9RmRcr3YrsKn/RkgKFmQ6CyXBXOfFltObNAsYjJDaBceHAnQZ3Fdjj2yc775ngsLvNbFOiXDe yqwJFq0tUl9TorO6y2jnT6yREi71ASqXWSqDDemx2d1vvajPb6iScDneVh3BuvvzsaIlmZFf5Chfnyk63F0 C4yl+o1EeoGOgYuMOAIQZ3lZNwWp/dzikuByc5Hei03JGs0IsWViUqi4Fh1W2zexbMVXb8SXlyc8vVl9Xpr a3VXVOpucJBMBXuKneh3FzZ2ZHimK6a4SCAiMFQieoipbmBYuVwhwGlkF3Va7tnmtvRKS6HgR5PVepHdlWw eE2FxvImo419dntn+5yGaLHlS0yXmA50WKHiAiDKlZ1jx58Md5WrYE6W1Mxw0SZkVwGDJVt6JrKrImUaa3R WVmktDxKvzPJrRs4C4ESSCowLoMOACMhIVuxDdlWoRC0wKJpNNk9w2D8H5iqsBRrCVQLZGRLTw0UakV3lLV gMdCqyq+IU24FR32KyGZg8vEWKgWqQXQUM/GbjTcAUAkQ4XWW8qd9hPzBhAwCprWs+'
from autopy-legacy.
I can confirm this, the error occurs with every png I try.
My system is openSUSE 11.1 (32bit) with
Python 2.6 (r26:66714, Mar 30 2010, 00:30:21)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2
from autopy-legacy.
I believe this has been fixed, as the above string now makes a bitmap without an exception: http://pastie.org/1933755
from autopy-legacy.
Nevermind. Apparently this bug is due to the base64 decode function in autopy failing when the string contains any trailing whitespace.
from autopy-legacy.
Related Issues (20)
- capture_screen does not work HOT 1
- An error occurred while installing autopy3 HOT 8
- installing issues with src/autopy-mouse-module.c HOT 2
- Active Fork? HOT 1
- bitmap.cature_screen(rect) doesn't work properly HOT 2
- Segmentation fault when using get_color HOT 1
- hex_to_rgb is not true
- no enter key HOT 1
- Is this an efficient alternative to RDP? HOT 1
- Feature Request
- Can't install from pip "Missing parenthesis in call to 'print'" HOT 3
- Broken on Ubuntu Yakkety 16.10+, libpng12 dependency HOT 1
- screen.get_size() return a wrong resolution on windows 7 64 bit HOT 1
- Setup script exited with error: command 'clang' failed with exit status 1 HOT 1
- autopy.key.type_string() doesn't properly type SHIFT-modified characters (i.e. ":_+{}) HOT 2
- Still some runtime linking of Visual Studio dlls HOT 1
- remote operation with autopy HOT 6
- Selenium WebDriver API wrapper for autopy HOT 1
- bitmap.capture_screen() method not working HOT 3
- On OS X 10.13 Beta, key injection does not work
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 autopy-legacy.