Red Hat Bugzilla – Bug 51955
emacs can't open files from command line
Last modified: 2007-04-18 12:36:00 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.3+)
Description of problem:
When trying to open files with emacs from the command line ('emacs
filename') emacs reports the following error: "Cannot open load file: product"
Opening files from within a running emacs works fine.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Run emacs from the command line with a file specified.
2.Error message received
Actual Results: Got error message "Cannot open load file: product" and
file not opened
Expected Results: File should have been opened.
Try "emacs -q file" and "rpm -Vf /usr/share/emacs/site-lisp/site-start.el" - I'm
99.9% sure this is a local problem.
"emacs -q file" and "rpm -Vf /usr/share/emacs/site-lisp/site-start.el"
had no effect. This machine is the only one I've got 7.1 running on, it's a
Dell PowerEdge 350 with 7.1 pre-installed. Same problem with emacs-nox. The
error message appears in the status line when emacs starts.
The "rpm -Vf " command gave no output? Also, what does "rpm -qi emacs" return?
And does "emacs -q --no-site-file <filename>" work?
rpm -Vf did indeed give no output.
emacs -q --no-site-file does work.
rpm -qi emacs gave:
rpm -qi emacs
Name : emacs Relocations: (not relocateable)
Version : 20.7 Vendor: Red Hat, Inc.
Release : 34 Build Date: Fri 16 Mar 2001 01:18:58
Install date: Tue 07 Aug 2001 11:47:21 AM EDT Build Host: porky.devel.redha
Group : Applications/Editors Source RPM: emacs-20.7-34.src.rpm
Size : 21711391 License: GPL
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary : The libraries needed to run the GNU Emacs text editor.
Emacs is a powerful, customizable, self-documenting, modeless text
editor. Emacs contains special code editing features, a scripting
language (elisp), and the capability to read mail, news and more
without leaving the editor.
This package includes the libraries you need to run the Emacs editor,
so you need to install this package if you intend to use Emacs. You
also need to install the actual Emacs program package (emacs-nox or
emacs-X11). Install emacs-nox if you are not going to use the X
Window System; install emacs-X11 if you will be using X.
"product" is part of semi, but nothing in emacs should try to load it... which
file tries to load product? ("grep -r product /usr/share/emacs/site-lisp/*"
should give a hint) Which rpm is that file part of?
If for output from grep I'm looking for lines like
"/usr/share/emacs/site-lisp/ddskk/skk-abbrev.el:(require 'product)", There's 24
different .el files, all in /usr/share/emacs/site-lisp/ddskk/ that come up with
a (require 'product').
It's ddskk problem?
Seems to be a problem with half of the Japanese packages being installed, the
other one not. Why, I have no idea, but it's not an Emacs issue.
Ynakai: Can you check that the current set of Japanese lisp packages have
ddskk has been requiring apel for a while.