anaconda3 how to fix corrupted lib file dbd.py - spyder

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!

Related

Compiler Error in CocoaPod File: unable to type-check, should use sub-expressions

I just did the Update to Version 12.0.1 (12A7300). Then I got this error.
After setting the Build Libraries for Distribution option to Yes I got the error "The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions" :(
The error is in the LTEasing.swift file of this cocoa pod in line 26:
[Screenshot of the problem code]
Its weird because this file always worked... only after the update it became a problem. I already restarted XCode and cleaned my build folder CMD+SHIFT+K.
Does anyone know how to fix this?

Impossible to update Spyder 4.0.0 using miniconda

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?

How to fix "Shell Script Invocation Error" in XCode?

I keep trying to run my Xcode project (named "ppsideloader") and it keeps giving me 2 errors. Also I Cleaned and Built many times then tried to run, but still same problem.
First Error:
/Users/myUser/Library/Developer/Xcode/DerivedData/ppsideloader-flikuhbwvklweghesxwygrfiylum/Build/Products/Debug-iphoneos/ppsideloader.app/*.dylib: No such file or directory
Second Error:
Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure
My Build Phases:
I don't know what to do, I tried almost everything. Can someone please help me ?
#Emm...I also faced Same Issue. But the issue is fixed when i re install xcode and restarted my machine.
Try the Same i hope that it will be helpfull to you

Pub error: Pub build failed, [255] Wrong script snapshot version

I have started getting this issue now after going through a lot of "chaos" with performing a system restore (I'm on Win8.1) while trying to get a certain game working again. Now that that mess is over and done with, I have been left with a few apps and such removed and needing to be reinstalled, including the JDK which I have already reinstalled. Since I have a project I need to work on I opened up DartEditor again and when I tried to do pub build I get this error:
Pub build failed, [255] Wrong script snapshot version, expected
'f6711525cff9f7d0d08595166664b767' found '836a274342f7f88d6b5a9bb59b2649a9'
Googling led me to this old issue but that's labelled as fixed...what could be going wrong here?
Ok, so deleting the dart directory (the one with the editor executable, relevant .jar files and all that other stuff) and downloading it anew did resolve my issue. I'm curious though as to whether anyone knows what might have caused the issue, and/or what other things I might have been able to do to resolve it.

Xcode 6 build failing with missing Info.plist file

I've got a project that I've been working on for a number of years, and everything was going really well making some changes this afternoon, until…
Xcode has stopped compiling the application. It's an ObjC application for the iPad. I get a Shell Script Invocation Error:
Source is /Users/andrew/Developer/SalesIQ/SalesIQ/SalesIQ/SalesIQ-Info.plist
Build is /Users/andrew/Library/Developer/Xcode/DerivedData/SalesIQ-cflsbctuolgqvpbqmuzvrkuopvkl/Build/Products/Debug-iphonesimulator/SalesIQ.app/Info.plist
missing file /Users/andrew/Library/Developer/Xcode/DerivedData/SalesIQ-cflsbctuolgqvpbqmuzvrkuopvkl/Build/Products/Debug-iphonesimulator/SalesIQ.app/Info.plist
Command /bin/sh failed with exit code 1
I've even tried checking out an earlier version of the application and I still get the same error, which confuses me.
Can anyone nudge me in the right direction?
Edit: I should note that I've done a clean and build. I've rebooted. I've tried Xcode 6.0 and the 6.1 beta, and no matter what I do this error is still there.
The missing file warning is misleading. For some unknown reason, a custom script that was run during the build was failing. I deleted the Run Script task, then added it back in, and it's all good.
Weird…

Resources