mishaturnbull / pyspeedtest Goto Github PK
View Code? Open in Web Editor NEWPython script-hack to continuously test internet speed.
Home Page: https://mishaturnbull.github.io/PySpeedTest/
License: GNU General Public License v3.0
Python script-hack to continuously test internet speed.
Home Page: https://mishaturnbull.github.io/PySpeedTest/
License: GNU General Public License v3.0
mac_run_this.command
returns:
~ [username]/Downloads/PySpeedTest-0.5.0-beta/mac_run_this.command; exit;
-bash: /Users/[username]/PySeedTest-0.5.0-beta/mac_run_this.command: /usr/bin: bad interpreter: Permission denied
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting exired sessions...[x] completed.
Python 2 unicode strings must be marked with u"...."
Not sure if server issue?
When main app is updated, if it expects changes to the config.ini
file, the module settings.py
will break. It attempts to read keys not in the file; and does not automatically extract it's emergency default because the file is still present.
In the config menu analytics section, if the Enable box is checked, entering data into any one of the standards fields results in it automatically appearing in the other two as well.
Need a method to send data while server is offline/something is wrong.
Pressing the "Create analytics file" button does not create analytics file.
Win10, x64, from the .exe
, not Python source.
The upload status window does not show up until the upload process has completed, making it pretty pointless.
When the auto-update prompt (yes/no box) appears, it spawns an additional Tk root window.
Launch the program.
No error message. The program opens very briefly then closes immediately.
Yes -- launch the program.
Operating system: Mac virtual machine, hosted on Windows 10
Version: e.g. MacOS 10.12
Using the program as one file
Is this the first time you've used (or attempted to use) the program? Yes.
config.ini
anywhere? No.The executable can be called from console via:
./PySpeedTest_v2.0.0_mac.app/Contents/MacOS/PySpeedTest_v2.0.0_mac
and will run fine. The file config.ini
is created normally in this case. The bundle still will not launch after this has been done.
Once program is opened, the window cannot be closed until the tester has been run.
Created in a780f7c.
It is what it says on the tin. Version 1.6.0, clicking "Upload" before any data has been collected results in a program crash.
Platform: macOS X 10.12 x64
VM Host: Windows 10.10.0.16299
(Yes, it's virtualized on Windows, but the Mac seems to have no idea about it)
Running the makefile (only sometimes) results in the following error:
FakeMac:PySpeedMonitor misha$ sudo make
python src/dependencies.py
Running emergency dependency download routine
+++ pyspeedtest present: True
+++ urllib3 present: True
+++ tkinter present: True
rm -rf dist
rm src/*.pyc;
rm: src/*.pyc: No such file or directory
make: [preclean] Error 1 (ignored)
rm -rf __pycache__
pyinstaller -F -y --specpath build --clean --hidden-import urllib3 --hidden-import pyspeedtest --windowed -n PySpeedTest_v1.6.0_mac src/gui.py
133 INFO: PyInstaller: 3.3.1
134 INFO: Python: 2.7.10
153 INFO: Platform: Darwin-16.0.0-x86_64-i386-64bit
163 INFO: wrote build/PySpeedTest_v1.6.0_mac.spec
333 INFO: UPX is not available.
334 INFO: Removing temporary files and cleaning cache in /Users/misha/Library/Application Support/pyinstaller
Traceback (most recent call last):
File "/usr/local/bin/pyinstaller", line 9, in <module>
load_entry_point('PyInstaller==3.3.1', 'console_scripts', 'pyinstaller')()
File "/Library/Python/2.7/site-packages/PyInstaller-3.3.1-py2.7.egg/PyInstaller/__main__.py", line 94, in run
run_build(pyi_config, spec_file, **vars(args))
File "/Library/Python/2.7/site-packages/PyInstaller-3.3.1-py2.7.egg/PyInstaller/__main__.py", line 46, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "/Library/Python/2.7/site-packages/PyInstaller-3.3.1-py2.7.egg/PyInstaller/building/build_main.py", line 791, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "/Library/Python/2.7/site-packages/PyInstaller-3.3.1-py2.7.egg/PyInstaller/building/build_main.py", line 694, in build
os.makedirs(pth)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 5] Input/output error: '/Volumes/VMware Shared Folders/PySpeedMonitor/dist'
make: *** [main] Error 1
The same errors happens running just make
, without sudo
.
On close, speed tester thread does not stop running.
Configuration values Apply
button does not apply changes immediately. A program reload is required.
Need to fix. Probably.
Auto-update deletes user settings.
Run the analytics sub-program.
Yes: list index out of range
Click the Create analytics file
button with no data collected.
Operating system: Windows
Version: Windows 10
Are you using the program:
develop
branch.Is this the first time you've used (or attempted to use) the program? No.
config.ini
anywhere? Yes.Does not occur when the program has speed data to analyse.
Start the program.
Warning, not error:
c:\program files (x86)\python36\lib\site-packages\urllib3\connectionpool.py:858:
InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is
strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
Yes, launch the program.
Operating system: Windows
Version: e.g. Windows 10
Are you using the program: from source, fix-autoupdate
branch
Is this the first time you've used (or attempted to use) the program? No.
config.ini
anywhere? Yes.Seems to be given by the fact that SSL verification is not being done when going online to check for a version update.
Macs with default installation of Python 2.7.10 get the following error when clicking the "Upload" button:
Couldn't upload data!
Traceback: ('str() takes at most 1 argument (2 given)',)
Multiple issues on OSx:
ImportError: Module TkMessageBox not found
pyspeedtest
is not installed by defaultrequests
is not installed by defaultconfigparser
in py3 is ConfigParser
in py2
ConfigParser
uses .get(option)
instead of ...[option]
urllib3
is not installed by defaultWhen the speed_record.ilog
file is nonexistent (immediately after first program start), if the Upload
button is clicked, an IOError is silently thrown in the background and no indication of a failure is shown.
Maybe linked with issue #28?
Test platform:
Bodhi Linux, 4.13.0-32-generic Ubuntu base
Compiled executable
Python 2.7.12
Automatic update, on 'Yes' click, either does not download file or puts it somewhere totally illogical.
Location field in main menu does nothing. Probably more important than issue #1.
Fails with message:
Couldn't upload data!
Traceback: ('decoding str is not supported')
Win10, PySpeedMonitor_v0.5.0.exe
Using socket
as a context manager is not supported by default in Python 2.
No error - lack of new version popup window.
No.
Yes, it happens every time.
Operating system: Windows 10
Are you using the program:
.exe
Is this the first time you've used (or attempted to use) the program? Yes.
config.ini
anywhere? Yes.Tested using version 2.0.0 (..1 behind the current release) so it has a new version to find.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.