This forum has been archived. All content is frozen. Please use KDE Discuss instead.

zip error: Nothing to do! (../hello-python.zip)

Tags: None
(comma "," separated)
ayla
Registered Member
Posts
4
Karma
0
OS
Hallo ik ben hier nieuw en weet niet of ik hier onder de juiste rubriek heb geplaatst?

Zowel met de hello-web.zip als met de hello-python.zip krijg ik de volgende melding.

Code: Select all
zip -r ../hello-web.zip

zip error: Nothing to do! (../hello-python.zip)


Gr Ayla
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
You're probably missing a dot (.), try this instead:

Code: Select all
zip -r ../hello-web.zip .


By the way this is an international forum where we use English to communicate, so please write your posts in English in the future.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
ayla
Registered Member
Posts
4
Karma
0
OS
Hans wrote:You're probably missing a dot (.), try this instead:

Code: Select all
zip -r ../hello-web.zip .


By the way this is an international forum where we use English to communicate, so please write your posts in English in the future.



Thanks for helping me. Yes it was the dot who was missing.

Here another eror:

Code: Select all
plasmapkg -i hello-python.zip

"KConfigIni: In file /tmp/kde-ayla/plasmapkgFWODXJ/metadata.desktop, line 1: " Invalid entry (missing '=')
"KConfigIni: In file /tmp/kde-ayla/plasmapkgt7UH7L/metadata.desktop, line 1: " Invalid entry (missing '=')
plasmapkg(23036)/libplasma Plasma::Package::installPackage: Package plugin name not specified
Installatie van /home/ayla/hello-python.zip is mislukt.


Gr Ayla
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Hm, do you happen to use 4.5.1? There is a bug in that version which makes plasmapkg fail to correctly extract the file. Otherwise I would double check metadata.desktop and see if there are any syntax errors (remember that you have to recreate the zip file if you fix anything).


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
ayla
Registered Member
Posts
4
Karma
0
OS
Hans wrote:Hm, do you happen to use 4.5.1? There is a bug in that version which makes plasmapkg fail to correctly extract the file. Otherwise I would double check metadata.desktop and see if there are any syntax errors (remember that you have to recreate the zip file if you fix anything).



Code: Select all
plasmapkg --version
Qt: 4.7.0
KDE Development Platform: 4.5.1 (KDE 4.5.1)
Plasma-pakketbeheer: 0.1

I will take a look in the metadata.desktop file

gr Ayla
pinotree
KDE Developer
Posts
222
Karma
7
OS
ayla wrote:Here another eror:

Code: Select all
plasmapkg -i hello-python.zip

"KConfigIni: In file /tmp/kde-ayla/plasmapkgFWODXJ/metadata.desktop, line 1: " Invalid entry (missing '=')
"KConfigIni: In file /tmp/kde-ayla/plasmapkgt7UH7L/metadata.desktop, line 1: " Invalid entry (missing '=')
plasmapkg(23036)/libplasma Plasma::Package::installPackage: Package plugin name not specified
Installatie van /home/ayla/hello-python.zip is mislukt.

ayla wrote:KDE Development Platform: 4.5.1 (KDE 4.5.1)

This is a known regression in KDE 4.5.1, so update to KDE 4.5.2 or greater.


Pino Toscano
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Or, as a workaround, you can install it with
Code: Select all
plasmapkg -i directory-name


where directory-name is the name of the directory you're in when you run the zip command. More info here: http://userbase.kde.org/Plasma/Installi ... aces_4.5.1


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
ayla
Registered Member
Posts
4
Karma
0
OS
Hans wrote:Or, as a workaround, you can install it with
Code: Select all
plasmapkg -i directory-name


where directory-name is the name of the directory you're in when you run the zip command. More info here: http://userbase.kde.org/Plasma/Installi ... aces_4.5.1



I stil get the same eror

Code: Select all
plasmapkg -i hello-python

"KConfigIni: In file /home/ayla/hello-python/metadata.desktop, line 1: " Invalid entry (missing '=')
"KConfigIni: In file /home/ayla/hello-python/metadata.desktop, line 1: " Invalid entry (missing '=')
plasmapkg(9097)/libplasma Plasma::Package::installPackage: Package plugin name not specified
Installatie van /home/ayla/hello-python is mislukt.


Gr Ayla


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient