Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package manager should report results #2306

Closed
zesstra opened this issue Feb 4, 2019 · 7 comments
Closed

Package manager should report results #2306

zesstra opened this issue Feb 4, 2019 · 7 comments

Comments

@zesstra
Copy link

zesstra commented Feb 4, 2019

Imported package does not show up in Scripts:

Steps to reproduce the issue / Reasons for adding feature:

  1. Create new empty profile (don't know if that is important)
  2. Import .xml within Package Manage, e.g. https://github.com/Mundron/ASCII-Mapper-2.0/blob/master/ASCIIMapper_Mundron.xml or https://github.com/krrrcks/krrrcks-mudlet/blob/master/krrrcks.xml
  3. Package shows up in Package Manager, but not in Scripts

Error output / Expected result of feature

Imported scripts shown in Scripts window / group

Extra information, such as Mudlet version, operating system and ideas for how to solve / implement:

Mudlet 3.17.0 for MacOS (10.13.6).

@Kebap Kebap added the bug label Feb 4, 2019
@Kebap
Copy link
Contributor

Kebap commented Feb 4, 2019

Tested same links on Windows. Scripts show up in Package Manager as well as in Scripts like they should do. Could not test on Mac myself. Maybe there is a problem only on some OS, but not for me currently.

@Kebap Kebap added the OS:macOS label Feb 4, 2019
@SlySven
Copy link
Member

SlySven commented Feb 5, 2019

I was going to say I can reproduce this on GNU/Linux as well, the packages are shown in the Package Manager dialogue but do not show up in the edit - even after a save and restart!

However it is not correct to right click on the links above and select "Save as..." as you then get a copy of the relevant Github HTML page - which the Package manager will happily install for you but is invisible otherwise - like what I was getting and you seem to be as well.

Going to those linked to locations and saving the files correctly as XML ones means that they do load in and show up in the Editor as expected...

💡 Maybe we need to get around to make the Package manager actually report on whether it could parse the file it was given as a Mudlet item - IIRC much of the package/module handling is devoid of error reporting...

@Kebap Kebap changed the title Imported package does not show up in Scripts window Package manager should report parsing errors Feb 5, 2019
@Kebap Kebap added wishlist and removed OS:macOS labels Feb 5, 2019
@Kebap
Copy link
Contributor

Kebap commented Feb 5, 2019

@zesstra Does import work if you download the correct XML file?
E.g. https://raw.githubusercontent.com/Mundron/ASCII-Mapper-2.0/master/ASCIIMapper_Mundron.xml

@zesstra
Copy link
Author

zesstra commented Feb 5, 2019

Actually, yes, that is the issue. I agree, an error message would be nice. ;-)

@Kebap Kebap added enhancement and removed bug labels Feb 13, 2019
@Kebap
Copy link
Contributor

Kebap commented Jul 30, 2019

Package manager should also report success.
This is how it looks like right now:

downloadable_GUI

That is right. Those two white flashes are all a user can see.
For the record, the first announces the package's download.
The second will ask for patience while unpacking the package.

Now both operations succeed so quickly, you can't even identify let alone read the popups.
It would make sense to leave a message in chat inform about the result of said operations.

@Kebap Kebap changed the title Package manager should report parsing errors Package manager should report results Jul 30, 2019
@Kebap Kebap self-assigned this May 20, 2020
@Kebap
Copy link
Contributor

Kebap commented May 20, 2020

Relevant files seem to be:

@Kebap Kebap assigned vadi2 and Kebap and unassigned Kebap Jun 25, 2020
@Kebap
Copy link
Contributor

Kebap commented May 10, 2021

I have added this now:

image

@Kebap Kebap closed this as completed May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants