You are not logged in.

#1 2010-06-07 21:38:31

dlandmj
Member
Registered: 2010-06-07
Posts: 4

Text editors not working

Since the last ArchLinux upgrades, today, I have no text-editor available.

Kate crashes immediately when I try to start it up, with no error message.

I tried installing KWrite as an alternative. That also crashes immediately when I try to start it up, but does give an error message, as follows:

A KDE text-editor component could not be found.
Please check your KDE installation.

I've tried reinstalling the two packages listed as dependencies for kate and for kwrite. That has no effect.

Offline

#2 2010-06-07 21:44:25

Surgat_
Member
Registered: 2007-08-08
Posts: 317

Re: Text editors not working

Check the packages that were last upgraded and downgrade them, or file a bug report (if there isn't one) and wait for the fix.

Edit: well, you should file the bug report anyways if there isn't one

Last edited by Surgat_ (2010-06-07 21:45:13)

Offline

#3 2010-06-07 22:13:42

dlandmj
Member
Registered: 2010-06-07
Posts: 4

Re: Text editors not working

I tried downgrading following these instructions:
You may be able to downgrade the package trivially by visiting /var/cache/pacman/pkg  on your system and seeing if the older version of the package is stored there. (If you have not run pacman -Scc recently, it should be there). If the package is there, you can install that version using pacman -U pkgname-olderpkgver.pkg.tar.gz.
http://wiki.archlinux.org/index.php/Dow … g_Packages

Result:
[martin@martin ~]$ sudo pacman -U kdesdk-kate-4.4.3-1-i686.pkg.tar.xz
loading package data...
error: 'kdesdk-kate-4.4.3-1-i686.pkg.tar.xz': cannot open package file
[martin@martin ~]$ sudo pacman -U kdesdk-kate-4.4.3-1-i686.pkg.tar.gz
loading package data...
error: 'kdesdk-kate-4.4.3-1-i686.pkg.tar.gz': cannot open package file

(I don't understand the tar.xz and tar.gz thing. Anyway, whether I type in tar.xz, which is the name of the file in /var/cache/pacman/pkg, or tar.gz, which apparently is what the name should be, the result is the same.

I'll file a bug report.

Offline

#4 2010-06-08 02:49:44

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Text editors not working

You are invoking it wrong, it's sudo pacman -U path/to/package/file/where/ever/it/is.

Fyi, xz is a newish compression scheme based on LZMA2. Many distros, including Arch, now use it for packages. Older packages will end in .pkg.tar.gz and newer ones end in .pkg.tar.xz.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#5 2010-06-08 12:38:09

MrE
Member
From: London
Registered: 2009-01-13
Posts: 18

Re: Text editors not working

Try starting kate/kwrite from the command line. This should give some output. Please paste that output here.


My new username is now Aerion in order to match my username on the AUR, Wiki and Bug Reports.

Offline

#6 2010-06-08 14:14:05

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: Text editors not working

and if you can't find any immediate fix, have you tried any text editors that do not rely on KDE?  both Kate and Kwrite have kdelibs and kdebase-runtime as dependencies, and this might be the source of the problem...(I don't know if it is, but it seems to make sense to me.)

Last edited by Cyrusm (2010-06-08 14:14:37)


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#7 2010-07-06 06:09:23

agravier
Member
Registered: 2009-08-21
Posts: 18

Re: Text editors not working

Hi, I know it's a month-old topic, but I just found your post as I had the same problem, and I found the followind solution: running once

dbus-launch kwrite

fixed it.

cheers

Offline

#8 2010-07-06 12:10:49

bt
Member
Registered: 2007-04-11
Posts: 198

Re: Text editors not working

I have a new installation of Arch on a new box, but I've been using Arch for about 4 years (gentoo before that). I have used pacman -U a hundred times successfully in the past without incident. the pacman -U command now throws off the same error message "cannot open package file".

Is there a fix in the works for pacman?

The weekly upgrade and the installation of base-devel seems to have solved the problem.

Last edited by bt (2010-07-10 13:57:56)

Offline

#9 2012-04-16 10:52:31

asshur
Member
Registered: 2009-03-06
Posts: 18

Re: Text editors not working

I've had the same problem on upgrading to 4.8.2.
I've solved it by simply reinstalling a dependence
pacman -S kdebase-katepart

Hope this might be useful

Offline

#10 2012-04-16 11:17:25

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Text editors not working

20101115002739_181_necropost.png


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#11 2012-04-16 12:13:09

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Text editors not working

As Mr.Elendig noted, this thread is necro.
Closing.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB