Re: Error loading projects: eieio-persistent-validate/fix-slot-value: Wrong type argument: arrayp, nil
Zach <[email protected]>
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <[email protected]> |
Yep, now it's working.
On 06/18/2014 07:00 PM, Eric M. Ludlam wrote:
> Interesting. We have tests for that basic case which have been passing
> for years in the CEDET repository.
>
> I don't know much about stock emacs. I'll take a wild guess that
> 'ede-proj-target-makefile-program' is somehow not getting loaded and
> being available to be tested against.
>
> It may be that:
>
> (require 'ede/proj)
> (require 'ede/proj- <add stuff here>)
>
> where <add stuff here> is the proj-prog, proj-obj, proj-shared, etc as
> found in the ede lisp directory.
>
> ie
> M-x locate-library RET ede
> C-x C-f ede/ RET
>
> Now look for proj-* files.
>
> If that gets stuff working again, then the real problem is that
> loaddefs isn't working correctly or something similar.
>
> Eric
>
> On 06/18/2014 07:34 PM, Zach wrote:
>> It happens with any project I create, I've tried Makefile and Automake
>> projects. That backtrace is from an empty test program I made just for
>> this purpose. I have not edited any of the generated files.
>>
>> On 06/18/2014 04:45 PM, Eric M. Ludlam wrote:
>>> Hi Zach,
>>>
>>> The EDE project system tries to protect against bogus project files by
>>> testing everything before it is evaluated.
>>>
>>> Do you have a way to reproduce the problem via creating a project,
>>> saving it, and then loading it in?
>>>
>>> Did you hand-edit the .ede file?
>>>
>>> Thanks
>>> Eric
>>>
>>> On 06/17/2014 10:39 PM, Zach wrote:
>>>> I am getting this error when I try to load a project.
>>>> I'm using Emacs 24.3.1 and the built-in version of CEDET.
>>>>
>>>> Here's the backtrace:
>>>>
>>>> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>>>> child-of-class-p(ede-proj-target-makefile-program ede-target)
>>>> eieio-persistent-validate/fix-slot-value(ede-proj-project :targets
>>>> (list (ede-proj-target-makefile-program "first" :name "first" :path ""
>>>> :source (quote ("test.cpp")))))
>>>> eieio-persistent-convert-list-to-object((ede-proj-project "test"
>>>> :file "Project.ede" :name "test" :targets (list
>>>> (ede-proj-target-makefile-program "first" :name "first" :path ""
>>>> :source
>>>> (quote ("test.cpp")))) :makefile-type (quote Makefile\.am)))
>>>> eieio-persistent-read("/home/zach/projects/test/Project.ede"
>>>> ede-proj-project)
>>>> ede-proj-load("/home/zach/projects/test/")
>>>> #[(this dir) "\30\304\"\204\305 !\204\306\307!\210\30\310\"
>>>> !\211\204 \306\311!\210\312\n!)\207" [this dir o eieio-oref :safe-p
>>>> ede-directory-safe-p error "Attempt to load an unsafe project (bug
>>>> elsewhere in EDE)" load-type "Project type error: :load-type failed to
>>>> create a project" ede-add-project-to-global-list] 4 "Load in the
>>>> project
>>>> associated with THIS project autoload description.\nTHIS project
>>>> description should be valid for DIR, where the project will\nbe
>>>> loaded."]([object ede-project-autoload "edeproject-makefile" "Make"
>>>> ede/proj "Project.ede" "" unbound nil ede-proj-load
>>>> ede-proj-project nil
>>>> t nil] "/home/zach/projects/test/")
>>>> apply(#[(this dir) "\30\304\"\204\305 !\204\306\307!\210\30\310\"
>>>> !\211\204 \306\311!\210\312\n!)\207" [this dir o eieio-oref :safe-p
>>>> ede-directory-safe-p error "Attempt to load an unsafe project (bug
>>>> elsewhere in EDE)" load-type "Project type error: :load-type failed to
>>>> create a project" ede-add-project-to-global-list] 4 "Load in the
>>>> project
>>>> associated with THIS project autoload description.\nTHIS project
>>>> description should be valid for DIR, where the project will\nbe
>>>> loaded."] ([object ede-project-autoload "edeproject-makefile" "Make"
>>>> ede/proj "Project.ede" "" unbound nil ede-proj-load
>>>> ede-proj-project nil
>>>> t nil] "/home/zach/projects/test/"))
>>>> ede-auto-load-project([object ede-project-autoload
>>>> "edeproject-makefile" "Make" ede/proj "Project.ede" "" unbound nil
>>>> ede-proj-load ede-proj-project nil t nil] "/home/zach/projects/test/")
>>>> ede-load-project-file("/home/zach/projects/test/" ROOT)
>>>> ede-initialize-state-current-buffer()
>>>> ede-minor-mode(1)
>>>> ede-turn-on-hook()
>>>> run-hooks(find-file-hook)
>>>> after-find-file(nil t)
>>>> find-file-noselect-1(#<buffer test.cpp> "~/projects/test/test.cpp"
>>>> nil nil "~/projects/test/test.cpp" (53478316 2050))
>>>> find-file-noselect("~/projects/test/test.cpp" nil nil t)
>>>> find-file("~/projects/test/test.cpp" t)
>>>> call-interactively(find-file nil nil)
>>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>>
>>>> HPCC Systems Open Source Big Data Platform from LexisNexis Risk
>>>> Solutions
>>>> Find What Matters Most in Your Big Data with HPCC Systems
>>>> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
>>>> Leverages Graph Analysis for Fast Processing& Easy Data Exploration
>>>> http://p.sf.net/sfu/hpccsystems
>>>> _______________________________________________
>>>> Cedet-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/cedet-devel
>>>>
>>
>>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems