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

BaNaNaS: Unhandled exception when uploading new #6967

Closed
Balsiefen opened this Issue Nov 12, 2018 · 16 comments

Comments

Projects
None yet
6 participants
@Balsiefen
Copy link

Balsiefen commented Nov 12, 2018

Hi, can't find anyone else with this problem. Bananas is throwing an 'Unhandled Exception' error whenever I click "Upload New" in my manager page. I seem to still be able to edit/update the files I've already uploaded so the problem is specifically with the upload new button. I've tried both with chrome and edge and I get the same error.

@planetmaker

This comment has been minimized.

Copy link
Contributor

planetmaker commented Nov 12, 2018

Make use of our upload tool MUSA: https://www.tt-forums.net/viewtopic.php?f=29&t=63119

@Balsiefen

This comment has been minimized.

Copy link

Balsiefen commented Nov 12, 2018

Thanks. Not having much luck with that either though. I've downloaded the executable and the C++ package but the musa.exe seems to just open and close immediately without doing anything.

@planetmaker

This comment has been minimized.

Copy link
Contributor

planetmaker commented Nov 12, 2018

Read musa's description... it's a command line tool.

@Balsiefen

This comment has been minimized.

Copy link

Balsiefen commented Nov 12, 2018

I'm afraid that's not something I'm familiar with.

@Balsiefen

This comment has been minimized.

Copy link

Balsiefen commented Nov 12, 2018

Is there any option for those not used to code/scripting? Or a simplish tutorial perhaps? I'm afraid I only usually make scenarios so I'm rather out of my depth with this.

I take it Bananas' upload function has been taken down deliberately also.

@andythenorth

This comment has been minimized.

Copy link
Contributor

andythenorth commented Nov 12, 2018

Thanks for reporting. Bananas is known to be broken currently.

Please see #6940

A fix is unlikely.

There is a forum thread here https://www.tt-forums.net/viewtopic.php?f=26&t=83908 - Musa help may be available from other users there :)

@Balsiefen

This comment has been minimized.

Copy link

Balsiefen commented Nov 12, 2018

Oh dear. Anywhere I can get help for musa then?
Edit: Thanks andy.

@andythenorth

This comment has been minimized.

Copy link
Contributor

andythenorth commented Nov 12, 2018

Duplicates #6940

@TrueBrain

This comment has been minimized.

Copy link
Member

TrueBrain commented Nov 12, 2018

Thank you for reporting this issue! Although we heavily prefer people to use musa for various of reasons (upload limit issues with HTTP, among others), it turns out the page was not rendering due to an UTF-8 issue in the backend.

Names of uploads should always be latin-1, but there is a flow that allows non-latin-1 characters to slip in. We are still not sure how. In this case, there was (well, two to be more exact) an upload with the name "ÖBB set". This Ö causes some weird trouble.

I resolved the issue for now by renaming the Ö to O, so the Upload New should work again. Still, please consider using musa :)

Tnx again for the report!

@ThePNDA

This comment has been minimized.

Copy link

ThePNDA commented Nov 14, 2018

Thanks for fixing it, I am also very sorry for naming the GRF "ÖBB Set"....
I will prevent this in further uploads until Bananas is made compatible to handle this.
Also, it would be nice if you could change it again to "Austrian Trains" for completely resolving the issue.

@TrueBrain

This comment has been minimized.

Copy link
Member

TrueBrain commented Nov 15, 2018

Haha, tnx @ThePNDA :D I changed the name of both entries as requested ;)

@ThePNDA

This comment has been minimized.

Copy link

ThePNDA commented Jan 8, 2019

Hey @TrueBrain,
This is already a while back and it was fixed.
I just saw someone uploading a GRF with a "™️" at the end of the name and you now can't upload anything new. This might have something to do with it. Its throwing the same error as it did the last time.

Unhandled Exception
An unhandled exception was thrown by the application.

GRF Name: U&ReRMM™
GRF Author: ufiby89
Thanks :D

@Ufiby

This comment has been minimized.

Copy link

Ufiby commented Jan 8, 2019

Sorry I broke it, not knowing what the symbol was.

@andythenorth

This comment has been minimized.

Copy link
Contributor

andythenorth commented Jan 8, 2019

@Ufiby we know it's not deliberate, thanks for dropping by to comment :) Hopefully it gets fixed soon.

@TrueBrain

This comment has been minimized.

Copy link
Member

TrueBrain commented Jan 9, 2019

@Ufiby: no worries; it is a system bug, so you as user are never to blame. Hopefully soon someone can fix it .. till then, we have to be reactive, and fix when it breaks :)

I removed the "tm", hope you don't mind!

@ThePNDA : tnx for the report; much appreciated :)

All fixed again!

@Ufiby

This comment has been minimized.

Copy link

Ufiby commented Jan 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment