I had to reinstall Atom and I wanted to install the block-select add-on. After clicking on the install button, this error appears:
npm ERR! code E400
npm ERR! 400 Bad Request - GET https://www.atom.io/api/packages/block-select/versions/1.0.0/tarball
I wanted to report that issue, but the whole GitHub repository is missing too, because this link just returns an 404 https://github.com/radonlab/atom-block-select/
This shouldn't be dependant on the version of atom, but this happens in 1.49 and 1.50
So how can I install block-select, what happened to block-select?
There's an equivalent package called sublime-style-column-selection with 818,425 downloads:
https://atom.io/packages/sublime-style-column-selection
Notes:
It seems to get stuck installing, but it downloads eventually. The "Install" button might still say "Install" even after it finishes downloading and installing. Check your Packages menu after an attempt.
This package uses the Alt key. This collides with Alt's default behavior of selecting the menu bar.
Solution 1: Override this default behavior:
Menu bar --> File --> Keymap...
Add this to keymap.cson:
'.platform-win32, .platform-linux':
'alt': 'abort!'
Solution 2: Change the key to something else:
Menu bar --> File --> Settings --> Packages --> sublime-style-column-selection --> Select Key
seems like they deleted the repository, try installing a different one will be the only option
Related
I have installed orca using npm and if I go to my R project folder and type orca --version, I see 1.3.1.
In Rstudio I have installed the processx package. Having produced a fig with plot_ly if I try capture a plot I see the following
orca(fig, 'temp.svg')
Error in processx::run("orca", "-h") :
System command 'orca' failed, exit status: 127, stderr:
E> env: node: No such file or directory
Type .Last.error.trace to see where the error occurred
If I type .Last.error.trace I see the following
Stack trace:
1. plotly:::orca(fig, "temp.svg")
2. plotly:::orca_available()
3. plotly:::correct_orca()
4. processx::run("orca", "-h")
5. throw(new_process_error(res, call = sys.call(), echo = echo, ...
x System command 'orca' failed, exit status: 127, stderr:
E> env: node: No such file or directory
I have restarted Rstudio and restarted R, but still see the problem. How do I fix this?
From your description, I assume that you already installed both orca and processx library. The next steps are:
install standalone Orca desktop app and
Makes the path of the installation accessible from Rstudio
You may skip the step one and directly go to the second step since you mentioned that you already installed the desktop app using NPM. However, I recommend you to reinstall it as I did.
For doing step one with regular installation method, you can download Orca installer (windows-release.zip) from github: orca installer. Then, install the app inside the zip folder.
After installing it, you can go to the second step by doing:
Find your Orca app displayed on your desktop, right-click on the orca icon and select Properties from the context menu.
From the Shortcut tab, copy the directory in the Start in field.
(you need this for adding the app's PATH later in step-7).
hit "windows logo + X" to open Power-User menu, go to SETTING
go to ABOUT, click the Advanced system settings
click the Advanced tab, then click the Environment Variables button near the bottom of that tab
highlight the Path variable in the SYSTEM VARIABLES section and click the Edit button
Add path lines by paste your installation path (from step-2)
Restart your PC to ensure everything runs smoothly.
Finally, you can try your code again in Rstudio. Hope this can help some confusions.
I installed a buggy package in Atom which has been crashing the editor repeatedly. So, I went into Atom Settings to remove it, but just out of curiousity I clicked the "Open Config Folder" button beforehand which opened an empty window and dev tools alongside:
Atom subsequently crashed (probably because of the buggy package I was about to install) and now when I open Atom, I only see the above window and nothing else, even if I open it from the "Open with Atom" context menu from any folder. So, now I'm stuck with just this window and no actual Atom Editor.
I tried re-installing Atom and it did not solve the issue. I checked the "Atom" menu available in that window and it only gives me basic options: "Check for Update", "Reload", "Close Window", "Toggle Dev Tools", and "Quit", none of which can get me back to the main editor window.
Anybody seen this before or know how to break out of it?
I got the same problem but on Ubuntu. I tried apt-get --reinstall and purge but both did not work.
Turns out it was just no read permissions for /home/username/.atom/
All I did to fix it was:
sudo chmod 777 -R '/home/username/.atom'
I found a quick solution for this. The Atom uses a BLOB file to store data from the last user session and re-open that when Atom is restarted. By removing that file, Atom restarted at it's default state.
You can find that file on a Windows machine here:
C:\Users\[Username]\.atom\blob-store
Just delete, or rename, the file BLOB. Then, just open up Atom and you should be good to go.
Try this:
Close Atom
Remove C:\Users\[Username]\.atom\storage\application.json
Start Atom
made a new install of asterisk but the CDR isn't working. The online admin panel says the module is installed but the reports are blank. I tried to check the status but it says no such command (cdr status and cdr mysql status). I can't uninstall the module the system says as there are modules that rely on it.
Does anyone have any idea what's going on, seems very odd :(
For compilation from source
You have do
make menuconfig
Select cdr_mysql module in Additional tab
make install
For rpm install you have install asterisk-mysql package
Found this. It may help.
http://clients.stabiliservers.com/knowledgebase.php?action=displayarticle&id=9
Not sure if you covered all this but that's where I would start. Make sure all configs are correct and applied.
I'm trying to figure out how to get my Atom package I'm building to toggle on install and editor start. I'm not sure what to put into the activate function. At the moment you install my package then have to toggle in the command palette. Is there a way to avoid this and to just have Atom toggle the package automatically when installed/enabled
Atom uses the activationCommands entry in the package.json to declare that activation of the package can wait until one of the listed commands is executed. If this entry does not exist, then the package will be activated immediately after it is loaded (which is on installation or application start).
The reason why activationCommands is highly recommended is that not all packages need to be activated immediately after loading and it is a simple way to reduce Atom's startup time. You can check Atom's startup time with the timecop package by pressing Shift+Cmd+P on OS X to open the Command Palette and search for timecop.
I am working on installing collective.sendaspdf on a Plone 4.2.4 server.
This add-on provides two extra document action buttons, one "Send as PDF" and the other "View as PDF"
After following instructions on the packages pypi page. I get the following traceback when trying to click one of the aformentioned document action links:
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute
'_Thread__block'",) in <module 'threading' from '/home/dan/Plone/Python-2.7/lib/python2.7
/threading.pyc'> ignored
2013-02-13 14:04:50 ERROR collective.sendaspdf Running wkhtmltopdf failed. Please check that you
use a version compatible with your OS and the version is 0.9.
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute
'_Thread__block'",) in <module 'threading' from '/home/dan/Plone/Python-2.7/lib/python2.7
/threading.pyc'> ignored
2013-02-13 14:05:55 ERROR collective.sendaspdf Running wkhtmltopdf failed. Please check that you
use a version compatible with your OS and the version is 0.9.
I have tried pinning wkhtmltopdf to the version it requires, under the [versions] heading but that has done nothing for me. I have tried just loading the collective.sendaspdf alone under the eggs section but again, that doesn't work either. I have tried manually downloading them, putting them into my src folder and configuring the develop section accordingly, but that again gives me the same error. I've even tried easy_install but I get the same problems.
The instructions on the pypi page can't be followed to the letter as I believe the url under the [wkhtmltopdf] heading leads to a corrupted archive (i can't use tar, gzip or bunzip2 to extract the files) however he does have zip files contaning the source I have tried manually downloading and using easy_install) but to no avail.
I've been researching the
ERROR collective.sendaspdf Running wkhtmltopdf failed. Please check that you
use a version compatible with your OS and the version is 0.9.
Error message that I'm getting but I don't seem to see any Plone users having difficulty, it seems most people are using this with Rails.
Does anyone know how I can:
Get this to work
Find an alternative way of converting HTML from Plone to a PDF.
I have tried Form2PDF, zopyx.smartpringng, and now collective.sendaspdf (this one I have gotten the furthest with) - except it is falling at the last hurdle
Thanks.
I fear you've failed at the first hurdle: installing wkhtmltopdf. Either visit https://code.google.com/p/wkhtmltopdf/ and follow their instructions for installation, or look there to find the URL for a version compatible with your system