I just upgraded PHPExcel to the latest one. In my code I call
$objPHPExcel = PHPExcel_IOFactory::load($file['tmp_name']);
for an uploaded xlsx file. I get this error: Fatal error: Class 'PHPExcel_CalcEngine_CyclicReferenceStack' not found in /home/rrd/public_html/laksmi/app/Vendor/PHPExcel/Calculation.php on line 1733
I tried to delete all formulas, and just have only one sheet, and I get the same error. How should I solve this?
had the same error! just make chmod of the whole folder 777 and its working again
because maybe you overwrote the old folders which had set the right permission but calcengine folder is new!
I was seeing the same error after updating from an older version of PHPExcel.
Renamed the old directory (as a convenient backup).
Added the latest source as a new directory, with the original folder name.
Tested locally and saw no problems.
Committed the changes to git (git commit -A for tracked and untracked files).
Pushed the git repo to my production environment.
"Class 'PHPExcel_CalcEngine_CyclicReferenceStack' not found" message in production
After some quick debugging, I found that the git commit after swapping out files in steps #1 and #2 didn't capture PHPExcel's newer CalcEngine directory. Not sure why this occurred, but I ran another git commit -A and it appeared to synchronize correctly.
Related
I am new to Version control and this is my first attempt. I am also a novice in R. just did an online course. I have installed Git and was trying to add the Version control through Rstudio Global options. The Git executable file path shows "user/bin/git" But when I go to create a Project>version control>Git- I get an error "Git was not detected on the path" I dug deeper and ran cmd in the mac terminal- which git and got the location as "/usr/local/bin/git", I also did a $ git --exec-path and got the location as "/usr/local/Cellar/git/2.30.0/libexec/git-core" I understand the executable path is somewhere else. I understand that I need to change the path but Rstudio is not allowing the changing of the path, and I am unable to edit the path to "/usr/local/Cellar/git/2.30.0/libexec/git-core" from "user/bin/git". I tried manually entering but that doesnt work, I browsed through the file s and sub folders and selected the executable file location , but it still doesnt change. Please help.
Welcome to stackoverflow: You can find a step by step support on the official support site of rstudio. Here you get detailed instructions on how to use version control with RStudio: https://support.rstudio.com/hc/en-us/articles/200532077-Version-Control-with-Git-and-SVN
So I am having this issue for the past 8-9 hours. I have been trying to resolve it by googling around.
This is what I have tried so far.
1) Totally uninstalled node and npm.
2) Totally uninstalled meteor. Deleted all the local/.meteor data. Searched for meteor in entire C drive and deleted it. Restarted the PC.
3) Reinstalled node, npm and meteor js again. (Did steps 1-3 in safe mode also and tried 3 times.)
4) Ran command and got this error again. "C:\Users\Admin\AppData\Local.meteor\packages\meteor-tool\1.4.4_2\mt-os.window
s.x86_32\dev_bundle\lib\node_modules\q\q.js:70
hasStacks = !!e.stack;
^
RangeError: Maximum call stack size exceeded".
Note: The same code works for me in another system, so apparently code is fine the issue is with meteor and my pc.
Then I found that creating new windows account and installing meteor there can make it work. So I tried to do that as well but no luck.
I need help to resolve this as I don't have any clue what to do next.
Meteor version is: 1.4
Node version is: 6.10.3
NPM version is: 3.10.10
Apologies for late response, just had the same problem and was eventually able to solve it. The problem is that windows doesn't like long file paths. Unfortunately, meteor is full of them so the installer seems to miss those files.
Try this:
Install meteor if its not already.
navigate to C:\Users\%username%\AppData\Local and delete the
.Meteor folder.
Download the installation archive:
https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.5/meteor-bootstrap-os.windows.x86_32.tar.gz
use 7-zip to extract the .Meteor folder somewhere with a shorter
path; ie: C drive root directory. Make sure you are running 7-Zip as
admin, and extract it using 7-Zips interface. Don't drag and drop as
this will extract to the temp folder first.
Go to your Environment Variables (in Control Panel/Advanced System
Settings), edit Path, and change the .Meteor directory to where you extracted the folder.
Open up CMD, cross your fingers, and enter meteor --version
Hope this helps any desperate souls out there.
I am having an issue where I do meteor run in my project, and it begins to install meteor-tool#1.4.0-1, once it is 100%, it says
Extracting meteor-tool#1.4.0-1...
but it never finishes. I uninstalled meteor and reinstalled it but I am having the same issue.
United State.
Windows 10.
This is a problem caused by the tar extractor provided by Git.
Find where is located the tar tool used by your system, running:
$ where tar
In my case, it is located in C:\Program Files\Git\usr\bin\tar.exe
Then locate the file and rename it to tar.exe.old
Its done... try running Meteor again! >> $ meteor
Thank you for your response, Vasil. I actually was able to find a solution and I am no longer experiencing this problem.
Turned out there was a problem with the tar.exe file in Git, and by uninstalling Git, and reinstalling it the latest version, 2.10.0.windows.1, the problem has seemed to go away.
It seemed that no matter how long I left it, it stayed stuck at "Extracting meteor-tools . . ." but now that I updated Git the problem has gone away.
Try adding the following to your local hosts file (C:\Windows\System32\Drivers\etc\hosts):
54.192.225.217 warehouse.meteor.com
Then run a meteor reset in your app directory (warning - will wipe your local DB), then try starting your app again.
This works for me.
Link: https://forums.meteor.com/t/downloading-meteor-tool-1-4-0-1/27269/19?u=lucianopestana
When I create a new project and select to create a new Git repository, or when I try to change the version control system in project options I receive a RStudio error stating "Incorrect function" with a big X and no extra information.
The below link has a similar issue, but their solution of changing the path for git.exe has not helped (i have tried all three paths)
https://support.rstudio.com/hc/en-us/community/posts/200632528-Git-Error-Incorrect-Function
Some extra notes:
RStudio allows me to clone repository to set new working directory
Also git works in bash, so i feel this is an RStudio issue.
I encountered the same error. For me it also had to do with using a network path not a local directory for the project location (as for lewis1211).
Workaround: Map the network drive. E.g. Map your //server/share to some drive, say Z: (using map network drive, if you are using windows). If you set your project up under Z: then, it works.
If you have already chosen "git.exe" in RStudio --> Tools --> Global Options --> Git/SVN, then try to open Rstudio shell and type git init. In my case it showed "Permission denied", and after running as administrator the problem has gone.
This is only a partial answer if it fixes your problem: I reproduced this when trying to use a network path for a project location. When using a local directory no error occurs. Could indeed be an RStudio issue.
Run you R studio as Project administration.
This solves my issue.
SOLVED.
I had the same problem. The Git-RStudio-Connection fails but git is working perfectly in the CMD. When running the git init command in CMD it works and creates a .git folder. But running the git init command in the RStudio terminal fails with a message Warning: unable to access 'C:/Users/%username%/.gitconfig': Permission denied ... fatal: unknown error occured while reading the configuration files.
The Version Control Sytem (VCS) or git-Panel does not appear in RStudio and selecting it in the projects options leads to the same message Error: Unzulässige Function (eng. Error: Incorrect function).
A closer look into the .gitconfig file should give you a new solution approach hopefully without having administration rights. Comparing the installation on the integration worksation with a productive workstation shows, that on the Test-Machine an incomplete .gitconfig file is on C:/Users/%username%/.gitconfig and on the Productive-Machine a complete gitconfig file is on Z:/.gitconfig. By the way, Z is a mapped drive which is linking to the company's user-profile settings (see CMD > echo %HOMEDRIVE%).
According to this analysis there should be multiple possible solution approaches:
(1) delete the corrupt .gitconfig and hope the the system is correctly looking into your profiles directory
(2) complete the .gitconfig file that all necessary information are there. The message fatal: unknown error occured while reading the configuration files could actually be a hint, that the first message access... permission denied is false and the problem lies in the incomplete file.
(3) Be aware that there can be a confusion between ".gitconfig" as FILE and ".gitconfig" as FOLDER. Check this with changing directory with cd to folder and cat to show the file content. It will tell you that you cannot display a folder as file-content.
(4) Change the location of the config file with git config --file FullnameToGitconfig. e.g. git config --file %USERPROFILE%/.gitconfig or git config --file %USERPROFILE%/.gitconfig/gitconfig or git config --file %HOMEDRIVE%/.gitconfig etc.
[user]
name = DOE John
email = john.doe#acme.com
[merge]
tool = kdiff3
[mergetool "kdiff3"]
path = C:/Program Files/KDiff3/kdiff3.exe
[diff]
guitool = kdiff3
[difftool "kdiff3"]
path = C:/Program Files/KDiff3/kdiff3.exe
[core]
editor = \"C:/Program Files (x86)/GitExtensions/GitExtensions.exe\" fileeditor
I have integrated the git version control to an existing project in Rstudio(Windows). After that for every change I make in the Rmd file, a pop up is coming. I could see that it is a git bash executing on every command I have added in the file. I do not have more details on this.
Actually solved it myself just now with the help of this info:
https://stat545-ubc.github.io/git03_rstudio-meet-git.html
WARNING: On Windows, do NOT use C:/Program Files (x86)/Git/cmd/git.exe. The difference between the good and bad paths is bin vs. cmd.
My Rstudio-version was setting the cmd/git.exe as default.
If you change that to bin/git.exe my problem was solved...