swdotcom / swdc-sublime Goto Github PK
View Code? Open in Web Editor NEWTrack your programming activity in real-time in Sublime Text
Home Page: https://www.software.com/sublime-text
License: Apache License 2.0
Track your programming activity in real-time in Sublime Text
Home Page: https://www.software.com/sublime-text
License: Apache License 2.0
Describe the bug
I've been unable to log in at all.
The README says:
Create an account to keep track of your coding data and unlock access to advanced data visualizations in the Code Time dashboard and web app. You can customize your profile, such as your work hours and office type, for advanced time tracking. You can also connect Outlook or Google Calendar to visualize your code time vs. meetings in a single calendar.
Registering an account also lets you connect multiple code editors on multiple devices using the same email account. Your code time data will sync automatically across your devices.
Open Code Time by navigating to Tools > Code Time > Show Tree View. Click Sign up to create a new account, or click Log in to sign into an existing account.
But the option "Tools > Code Time > Show Tree View" option does not do anything at all and I only get this traceback right after trying to use it:
Traceback (most recent call last):
File "C:\Program Files\Sublime Text\Lib\python33\sublime_plugin.py", line 1494, in run_
return self.run(edit)
File "C:\Users\Jakub\AppData\Roaming\Sublime Text 3\Installed Packages\CodeTime.sublime-package\lib/TreePanel.py", line 55, in run
File "C:\Users\Jakub\AppData\Roaming\Sublime Text 3\Installed Packages\CodeTime.sublime-package\lib/TreePanel.py", line 60, in showTree
File "C:\Users\Jakub\AppData\Roaming\Sublime Text 3\Installed Packages\CodeTime.sublime-package\lib/TreePanel.py", line 153, in create_tree
KeyError: 'averageDailyCodeTimeMinutes'
Also, I'm getting this traceback too, on plugin load:
Traceback (most recent call last):
File "C:\Users\Jakub\AppData\Roaming\Sublime Text 3\Installed Packages\CodeTime.sublime-package\lib/CommonUtil.py", line 48, in getHostname
return socket.gethostname()
NameError: global name 'socket' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\Sublime Text\Lib\python33\sublime_plugin.py", line 528, in on_api_ready
plc()
File "C:\Users\Jakub\AppData\Roaming\Sublime Text 3\Installed Packages\CodeTime.sublime-package\Software.py", line 447, in plugin_loaded
initializeUser()
File "C:\Users\Jakub\AppData\Roaming\Sublime Text 3\Installed Packages\CodeTime.sublime-package\Software.py", line 464, in initializeUser
result = createAnonymousUser()
File "C:\Users\Jakub\AppData\Roaming\Sublime Text 3\Installed Packages\CodeTime.sublime-package\lib/SoftwareHttp.py", line 143, in createAnonymousUser
hostname = getHostname()
File "C:\Users\Jakub\AppData\Roaming\Sublime Text 3\Installed Packages\CodeTime.sublime-package\lib/CommonUtil.py", line 50, in getHostname
return os.uname().nodename
AttributeError: 'module' object has no attribute 'uname'
And I get these in logs:
error POSTing to /user_encrypted_data for value: SOME HASH VALUE HERE
ISSUE TYPE
Steps to reproduce
Expected behavior
I was expecting to be able to log in and use the package.
ACTUAL RESULTS
I can't use the package per the description above;
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
N/A
I get unexpected windows, where I wrote any symbol in Sublime Text. It makes it difficult to work.
I reproduce the problem in a version of Sublime Text without plugins and user settings.
I register my account in https://app.software.com/ → I install Software in Sublime Text via Package Control → I restart Sublime Text → I connected:
I wrote any text in any file type → I get actual behavior, not expected.
Nothing prevents work in Sublime Text.
After each key pressing I get some windows with path to Git in title bar:
Sublime Text console output:
Software.com: Requesting [GET: api.software.com/sessions?from=1546722000&summary=true]
C:\Users\SashaChernykh\.software\data.json file not found
Software.com: KPM incremented
Software.com: KPM incremented
Software.com: KPM incremented
Software.com: KPM incremented
Software.com: KPM incremented
Software.com: KPM incremented
Software.com: KPM incremented
Software.com: Requesting [GET: api.software.com/sessions?from=1546722000&summary=true]
Thanks.
This is a fresh install of ST3 on Windows 10. It fails with the following error
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 196, in load_module
m.plugin_loaded()
File "C:\Users\vj\AppData\Roaming\Sublime Text 3\Installed Packages\CodeTime.sublime-package\Software.py", line 357, in plugin_loaded
initializeUser()
File "C:\Users\vj\AppData\Roaming\Sublime Text 3\Installed Packages\CodeTime.sublime-package\Software.py", line 390, in initializeUser
result = createAnonymousUser()
File "C:\Users\vj\AppData\Roaming\Sublime Text 3\Installed Packages\CodeTime.sublime-package\lib/SoftwareUtil.py", line 333, in createAnonymousUser
plugin_uuid = getPluginUuid()
File "C:\Users\vj\AppData\Roaming\Sublime Text 3\Installed Packages\CodeTime.sublime-package\lib/CommonUtil.py", line 89, in getPluginUuid
jsonObj["plugin_uuid"] = value
NameError: global name 'value' is not defined
After I logged in nothing changes.
Clicking in the Log In option in the tools menu with the console open gives me the following message:
File "/opt/sublime_text/sublime_plugin.py", line 1072, in run_
return self.run(edit)
File "/home/tecnologia/.config/sublime-text-3/Installed Packages/CodeTime.sublime-package/Software.py", line 290, in run
File "/home/tecnologia/.config/sublime-text-3/Installed Packages/CodeTime.sublime-package/lib/SoftwareUtil.py", line 305, in launchLoginUrl
File "/home/tecnologia/.config/sublime-text-3/Installed Packages/CodeTime.sublime-package/lib/SoftwareUtil.py", line 289, in refetchUserStatusLazily
File "/home/tecnologia/.config/sublime-text-3/Installed Packages/CodeTime.sublime-package/lib/SoftwareUtil.py", line 509, in getUserStatus
File "/home/tecnologia/.config/sublime-text-3/Installed Packages/CodeTime.sublime-package/lib/SoftwareUtil.py", line 472, in updateSessionUserInfo
AttributeError: 'bool' object has no attribute 'get'
Describe the bug
Console always print error info.
plugins loaded
Error reading package info: [Errno 20] Not a directory: '/Users/***/Library/Application Support/Sublime Text 3/Installed Packages/CodeTime.sublime-package/lib/../package.json'
Error reading package info: [Errno 20] Not a directory: '/Users/***/Library/Application Support/Sublime Text 3/Installed Packages/CodeTime.sublime-package/lib/../package.json'
Code Time: Loaded v2.2.1 of package name: CodeTime
ISSUE TYPE
Steps to reproduce
Desktop (please complete the following information):
Describe the bug
A clear and concise description of what the bug is.
After installing CodeTime on a brand-new installation of Windows and Sublime Text 3, the plugin fails compilation and errors out.
ISSUE TYPE
Steps to reproduce
Expected behavior
A clear and concise description of what you expected to happen.
I expect the package to not fail compilation and instead run.
ACTUAL RESULTS
reloading settings Packages/User/Package Control.sublime-settings
ignored packages updated to: ["Vintage"]
reloading plugin CodeTime.Software
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 125, in reload_plugin
m = importlib.import_module(modulename)
File "./python3.3/importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 1199, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "C:\Users\robfr\AppData\Roaming\Sublime Text 3\Installed Packages\CodeTime.sublime-package\Software.py", line 14, in <module>
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 1199, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "C:\Users\robfr\AppData\Roaming\Sublime Text 3\Installed Packages\CodeTime.sublime-package\lib/SoftwareOffline.py", line 116
if not timeData:
^
IndentationError: expected an indented block
reloading settings Packages/CodeTime/Software.sublime_settings
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
A clear and concise description of what the bug is.
The Code Time menu doesn't show the Show Tree Mode
menu on Sublime Text.
ISSUE TYPE
Steps to reproduce
I don't know about this yet
Expected behavior
A clear and concise description of what you expected to happen.
Should display the Show Tree Mode
menu on the Code Time menu in Sublime Text, like this image below.
ACTUAL RESULTS
Didn't show the Show Tree Mode
menu on the Code Time menu in Sublime Text.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
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.