syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.69k stars 4.89k forks source link

Symbol's function definition is void: org-projectile-per-project #9374

Closed lsytj0413 closed 7 years ago

lsytj0413 commented 7 years ago

Description :octocat:

Error (use-package): org-projectile :config: Symbol's function definition is void: org-projectile-per-project

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: in the Warnings buffer shows: Error (use-package): org-projectile :config: Symbol's function definition is void: org-projectile-per-project

Expected behaviour: :heart: :smile:

System Info :computer:

Backtrace :paw_prints:

sdwolfz commented 6 years ago

@colonelrascals yes, it's still present here: https://github.com/syl20bnr/spacemacs/blob/master/layers/+distributions/spacemacs-base/packages.el#L364 and will be fixed once we release the next version. But unfortunately I have no ETA for that, so your best bet is to enable spacepla (or switch to develop).

colonelrascals commented 6 years ago

Switch to develop...thanks

xircon commented 6 years ago

https://github.com/bbatsov/projectile/issues/1254

ag projectile-global-mode ~/.ihsec                     
/home/steve/.ihsec/spacemacs/layers/+distributions/spacemacs-base/packages.el
364:      (projectile-global-mode)

Edit line 364 to projectile-global

fmjrey commented 6 years ago

To those wondering what spacepla is: it's a typo, search for spacelpa instead. It's a new feature in develop branch that allows the freezing of elpa dependencies to version known to work. Definitely something needed as demonstrated by this very frustrating issue. See this reddit thread for instructions.

tomtsang commented 6 years ago

I also faced this issue today after updating all packages.

find ~/.emacs.d/elpa/org-projectile-20180601.242/ -name "*elc" -delete and restarting fixed it.

TyOverby commented 6 years ago

This still effects master

brorbw commented 6 years ago

I can verify that this is still an issue

laurierloi commented 6 years ago

Just had the same issue today. Using @stevexyc git fetch fixed the problem

vegai commented 6 years ago

None of the suggested fixes worked for me, so I went to develop branch & spacelpa. That did.

vonpupp commented 5 years ago

I confirm that moving to the develop branch seems to work fine. As many sugested, I also think the master branch need more frequent merges. Congratulations on the project, it is an awesome tool.

Benjmhart commented 5 years ago

any chance of this fix getting moved to master any time soon?

sdwolfz commented 5 years ago

We're working exclusively on the release, see: https://github.com/syl20bnr/spacemacs/issues/11741. Please feel free to lend a hand if you want to have this faster.

abhirup-dev commented 5 years ago

Still facing this issue in master branch. Deleting *.elc from ~/.emacs.d/elpa/org-projectile-20190130.1439 solved it for me.

DocG-code commented 5 years ago

I also faced this issue today after updating all packages.

find ~/.emacs.d/elpa -name "*elc" -delete and restarting fixed it.

Omg thank you so much this solved my capture refile problem in org mode. I had tried many similar options, then broke my install and reinstalled and still didn't work. I did this and it works now. Thanks!

gcantieni commented 5 years ago

Out of curiosity, what does deleting the elc files do?

laurierloi commented 5 years ago

If I remember correctly the *elc contain the byte compiled emac-lisp code. I think this bug is caused at compile time, so they just say trash the compiled items and emacs will rebuild them for you

On Wed, Aug 14, 2019, 08:56 Gus Cantieni notifications@github.com wrote:

Out of curiosity, what does deleting the elc files do?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/syl20bnr/spacemacs/issues/9374?email_source=notifications&email_token=ADBNTFCWH4JHWQBHEUIHZF3QEP6HJA5CNFSM4DV2NT52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4IWNKQ#issuecomment-521234090, or mute the thread https://github.com/notifications/unsubscribe-auth/ADBNTFDO64IQG3XHAEU2VFDQEP6HJANCNFSM4DV2NT5Q .

jkanche commented 5 years ago

I also faced this issue today after updating all packages. find ~/.emacs.d/elpa -name "*elc" -delete and restarting fixed it.

Omg thank you so much this solved my capture refile problem in org mode. I had tried many similar options, then broke my install and reinstalled and still didn't work. I did this and it works now. Thanks!

This did not work for me, using the develop branch did

vegai commented 5 years ago

@syl20bnr is "use the develop branch" a valid work-around, though?

hyiltiz commented 5 years ago

@AGollapalli 's workaround above that replaces the require line in the config still works for me.

hyiltiz commented 5 years ago

Can't believe I had to do it once again just after 2 weeks (or every two weeks for the last 3 years?)

mjburling commented 5 years ago

@hyiltiz I'm experiencing this issue as of a fresh install this morning. I've never been sure of the utility on commenting on closed issues like this one. Shouldn't we just open another?

hyiltiz commented 5 years ago

@mjburling Can't you solve your issue using one of the solutions provided in this thread?

lazaruslarue commented 4 years ago

@vegai the work-around is to delete the .elc files in the org-projectile folder (which worked for me)

dzintars commented 4 years ago

Same issue there. I just installed Spacemacs first time in my life, went to configuration and enabled auto-completion, git, markdown and org. Saved. Closed emacs. Opened emacs. Plugin installation was started. This error appeared.

Fedora 31

syl20bnr commented 4 years ago

Use the develop branch. We are getting close to a release but I have still several things to finish first.

naldoco commented 4 years ago

Where can I get the develop branch? I tried this: git clone https://github.com/emacs-mirror/emacs.git

MrMic commented 4 years ago

Where can I get the develop branch? I tried this: git clone https://github.com/emacs-mirror/emacs.git

You have to go to: .emacs.d directory then: git checkout develop and then: git pull

Have fun :)

pallas42 commented 4 years ago

version Release 0.200.13.x, still seeing the issue

duianto commented 4 years ago

The develop branch is the recommended branch until the next version is released (I have no insight into when that is).

To try the develop branch:

Backup your current setup and make sure that there isn't a .emacs.d directory or a .spacemacs file in your home directory. Then navigate to your home directory in a terminal (or command prompt) and clone directly to the develop branch with:

git clone -b develop https://github.com/syl20bnr/spacemacs .emacs.d