I tried to update my Spyder Application from 3.7 to 4.0.0 but I get the following pop up:
Spyder crashed during last session.
If Spyder does not start at all and before submitting a bug report, please try to reset settings to defaults by running Spyder with the command line option '--reset':
spyder --reset
Warning: this command will remove all your Spyder configuration files located in 'C:\User\......\.spyder-py3).'
If Spyder still fails to launch, you should consult our comprehensive Troubleshooting Guide, which when followed carefully solves the vast majority of crashes; also, take the time to search for known bugs or discussions matching your situation before submitting a report to our issue tracker. Your feedback will always be greatly appreciated.
And after closing this pop up, I get this error message in the Anaconda Prompt console:
Traceback (most recent call last):
File "C:\Users\212676094\AppData\Local\Continuum\miniconda3\lib\site-packages\spyder\app\mainwindow.py", line 3711, in main
mainwindow = run_spyder(app, options, args)
File "C:\Users\212676094\AppData\Local\Continuum\miniconda3\lib\site-packages\spyder\app\mainwindow.py", line 3552, in run_spyder
main.setup()
File "C:\Users\212676094\AppData\Local\Continuum\miniconda3\lib\site-packages\spyder\app\mainwindow.py", line 960, in setup
self.completions.start()
File "C:\Users\212676094\AppData\Local\Continuum\miniconda3\lib\site-packages\spyder\plugins\completion\plugin.py", line 292, in start
client_info['plugin'].start()
File "C:\Users\212676094\AppData\Local\Continuum\miniconda3\lib\site-packages\spyder\plugins\completion\kite\plugin.py", line 144, in start
self.client.start()
File "C:\Users\212676094\AppData\Local\Continuum\miniconda3\lib\site-packages\spyder\plugins\completion\kite\client.py", line 62, in start
self.sig_client_started.emit(self.languages)
TypeError: KiteClient.sig_client_started[list].emit(): argument 1 has unexpected type 'str'
I tried to uninstall and reinstall miniconda and all dependencies, spyder and all libraries but nothing helped.
I think it's an issue with the KiteClient module as said before. I tried to install Kite but it didn't change anything.
How could I solve it?
Related
So after a corrupted debugging process in spyder, I cannot launch spyder anymore and get the error:
"...\Anaconda3\lib\bdb.py", line 92
if event == 'exception':
^
IndentationError: expected an indented block
obviously dbd.py is corrupted.
I attempted to fix it by reinstalling spyder, but that didn't work. I manually added a return code after the if statement which works but I wonder if there is anyway that I could restore the original version of this bdb.py file? Thanks!
Can anyone tell me why my app is not installing at all and ending with the error message
Observatory connection never became ready.
the app was working perfectly fine until yesterday .
I have changed the channel to master yesterday in the command prompt and from then on the app never runs.
I even switched back to channel alpha but still no use.
I have attached a screenshot of the command prompt where the installation was stuck forever.
I am not so sure if I need to reinstall the flutter. I am worried if I uninstall the flutter now it may not configure properly and I might break it forever.
Please can someone tell me what exactly might have gone wrong.
Many Thanks,
Mahi
Instead of reinstall try with following: (Mac)
Set Path Variable: via following terminal command
export PATH=~/flutter/bin:$PATH;
that is bin folder path of flutter.
export PATH=[PATH_TO_FLUTTER_GIT_FOLDER]/bin:$PATH
https://flutter.io/setup-macos/#update-your-path
If above not worked. Check with the Dart version
dart --version
Install the latest dart version:
brew install dart --devel
Hope this helps others.
For Mac
open terminal
$ echo $PATH
it will show like this
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:
it means you need to add flutter in to path
Open Finder presss command + shift + G
Put /etc/paths in dialog and press GO
Copy the file "paths" and paste it on desktop
Then open the pasted "paths" file from desktop
and add following line into end of the file "/flutter/bin"
Then copy that file and again paste it on /etc/paths
same like step no 2
it will ask you to replace or not
press replace
Now if you hit $ echo $PATH on terminal it will show
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/swagat/development/flutter/bin
Now your $flutter doctor will work perfectly
The solution is from Google Groups #Flutter-Dev
Thank you very much for your reply #Michael Thomsen.
I've tried what you have suggested and the details are as follows:
When I used flutter run -v command the command prompt output is as follows:
It was stuck for a while at waiting for port connection if I am not wrong.
So I've used AndroidStudio, File>Open and selected android/ folder to run the app then the gradle was showing an error:
Error:Conflict with dependency 'com.android.support:support-annotations' in project ':app'. Resolved versions for app (25.2.0) and test app (25.4.0) differ. See http://g.co/androidstudio/app-test-app-conflict for details.
I modified the build.gradle(Module:app) to show the correct version of 25.2.0 which was previously showing 25.4.0.
dependencies {
androidTestCompile 'com.android.support:support-annotations:25.2.0'
}
I just saved the changes inside android studio and the gradle sync completed without any errors.
Now I can run the app from inside Android Studio and also from IntelliJ IDE.
Thanks very much Michael this solved my problem.
Reinstalling flutter would be my starting point. If this problem persists, please post the output of $>flutter doctor and a description of what exactly leads to this error.
I'm currently trying to compile a fairly simple Kivy app for use on Android. The application runs as intended, without errors or warnings, on desktop (linux and windows), however during compilation I run into the error given in the title. The following is a full copy of everything that is displayed during compilation:
buildozer android debug deploy run
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Install platform
# Apache ANT found at /home/freakjoe/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/freakjoe/.buildozer/android/platform/android-sdk-20
# Android NDK found at /home/freakjoe/.buildozer/android/platform/android-ndk-r9c
# Check application requirements
# Check garden requirements
# Compile platform
# Distribution already compiled, pass.
# Build the application #21
# Package the application
Traceback (most recent call last):
File "/usr/local/bin/buildozer", line 9, in <module>
load_entry_point('buildozer==0.33.dev0', 'console_scripts', 'buildozer')()
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.33.dev0-py2.7.egg/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.33.dev0-py2.7.egg/buildozer/__init__.py", line 1020, in run_command
self.target.run_commands(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.33.dev0-py2.7.egg/buildozer/target.py", line 91, in run_commands
func(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.33.dev0-py2.7.egg/buildozer/target.py", line 103, in cmd_debug
self.buildozer.build()
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.33.dev0-py2.7.egg/buildozer/__init__.py", line 211, in build
self.target.build_package()
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.33.dev0-py2.7.egg/buildozer/targets/android.py", line 645, in build_package
self._update_libraries_references(dist_dir)
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.33.dev0-py2.7.egg/buildozer/targets/android.py", line 839, in _update_libraries_references
if not content[-1].endswith(u'\n'):
IndexError: list index out of range
I have not made any changes to the .spec file created by running buildozer init. I'm using Python 2.7 and running Linux Mint.
Any help would be much appreciated!
According to this Google Forum thread, your bug has been fixed and you should try updating your Buildozer installation.
Mathieu Virbel:
I recently fixed something about that, try master. If it doesn't work,
open an issue. If content[-1 doesn't work, it may mean that the
reference is empty, and so there is another issue somewhere before it.
Sending us the whole log may help.
I had the same error running:
buildozer android debug
I think the error appears after a Ctrl+c press during a compilation in order to stop it. After that the error continues.
buildozer version == 0.35
python 3.6.6
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux
In order to solve the error, I tried by using:
$ buildozer dist-clean
$ buildozer android clean
But the error persists.
So I recommend you to use buildozer 0.34
sudo -H pip3 install buildozer==0.34
If you are using python 2.7.x:
sudo -H pip install buildozer==0.34
When I run Appium doctor it shows:
Running iOS Checks
✖ Unknown SW Version Command: Error: Command failed: /bin/sh -c sw_vers -productVersion
/bin/sh: sw_vers: command not found
Appium-Doctor detected problems. Please fix and rerun Appium-Doctor.
Can anyone help let me know what is the wrong here?
running this solved my problem:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
You need to install the command line tools as marked in your message:
✖ Xcode Command Line Tools are NOT installed
From osxDaily:
Launch the Terminal, found in /Applications/Utilities/
Type the following command string:
xcode-select --install
A software update popup window will appear that asks: “The xcode-select command requires the command line developer tools. Would you like to install the tools now?” choose to confirm this by clicking “Install”, then agree to the Terms of Service when requested (feel free to read them thoroughly, we’ll be here)
Wait for the Command Line Tools package download to complete, it’ll be about 130MB and installs fairly quickly depending on your connection speed
The installer goes away on its own when complete, and you can then confirm everything is working by trying to use one of the commands that were just installed, like gcc, git, svn, rebase, make, ld, otool, nm, whatever you want from the list below. Assuming the installation went uninterrupted, the command will execute as expected. This also means you can compile and install things from source code directly without having to use a package manager. Enjoy your new unix command line toolkit!
Have you tried upgrading to the latest Appium version? Are you installing Appium through terminal? My appium-doctor issues were fixed after I installed Appium through terminal and updated the path variables in .bash profile. Appium desktop application is different than one installed through command line.
There are only two possible area which causing that error:
You need to keep all path veriable updated and correct in .bash_profile
You must install
XCode
NodeJS
properly. You must have all permission to access those.
Install all latest version of following things
JDK (Java Development Kit),
Xcode ,
Command Line tools ,
APPIUM For MAC OS
In my case, xcode command line tool isn't set. Simply go to Xcode>Preferences>Locations>Select desired Xcode version in Command Line Tools. OR from terminal follow Chhagan's answer xcode-select -s your path
I have downloaded the prepackaged Kivy zip file onto a Windows 8.1 machine and installed Kivy-Garden using pip (after running kivy.bat). However, I have been unable to successfully use Kivy-Garden. I have attempted the following commands:
garden install graph
garden list
However, neither of them work. They both result in the following error:
Traceback (most recent call last):
File "c:\kivy\Python27\Scripts\garden", line 5, in <module>
pkg_resources.run_script('Kivy-Garden==0.1.1', 'garden')
File "C:\Python27\lib\site-packages\pkg_resources.py", line 483, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "C:\Python27\lib\site-packages\pkg_resources.py", line 1335, in run_script
raise ResolutionError("No script named %r" % script_name)
pkg_resources.ResolutionError: No script named 'garden'
Does this indicate a bad installation? How might I fix it?
Kivy for windows comes in a bundle with all the prerequisites to run, since some are hard to install in windows, so it's not using you installed python.
You should go to your kivy installation folder, inside you'll find the python folder, inside is the python descriptor used for kivy, you can run that python exe, or use pip or easy install (i don't remember if both), like an extra advice i could saw to use PyCharm to program, it's easy to install the python modules and code, i have it myself with SqlAlchemy instaled from the PyCharm Gui (previous config here Configure PyCharm and Kivy).
In the other hand you can configure kivy to run with your installed python (instructions here Kivy with an installed Python in Windows) i haven't tried myself since i use the same python included in kivy with no problems
I never figured out why pip wouldn't work, but I found a workaround.
Just download the package from pypi and run setup.py:
https://pypi.python.org/pypi/kivy-garden/0.1.1
The only workaround I've found that works is to manually install flowers into the kivy garden folder. Ceremcem has a great explanation of it here: filebrowser error in windows for kivy
Also I found I had to explicitly use pip2 for pip to work.