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

Geany debugger can't open source code from folders with non-ascii names #259

Closed
Yanpas opened this issue Jun 28, 2015 · 16 comments
Closed
Milestone

Comments

@Yanpas
Copy link

Yanpas commented Jun 28, 2015

Mine code is located at /home/user/Загрузки but when I run geany debugger it show error "Can't find source code file /home/user/\320\227\320\260\320\263\321\200\321\203\320\267\320\272\320\270/natural.cxx"

@b4n
Copy link
Member

b4n commented Jun 28, 2015

Maybe you could try #202, which should most probably fix this -- and if it doesn't I'd like to know :)

@Yanpas
Copy link
Author

Yanpas commented Jun 28, 2015

Could you build amd64 package please? (guess geany-debugger-plugin will be enough) I can't build due to bunch of dependencies and old versions of packages in my Trusty Ubuntu :(
Mine version 1.24+dfsg-5

@Yanpas
Copy link
Author

Yanpas commented Jun 28, 2015

Are your commits from #202 pulled to main geany-plugins repo?

@Yanpas
Copy link
Author

Yanpas commented Jun 28, 2015

Built on virtual machine. Bug still exists
- 29 06 2015 - 00 03 53

@Yanpas
Copy link
Author

Yanpas commented Jun 28, 2015

Screenshot showing version. Downloaded from your @b4n repo, not from this
- 29 06 2015 - 00 06 00

@b4n
Copy link
Member

b4n commented Jun 28, 2015

Downloaded from your @b4n repo, not from this

You used the appropriate branch? 'cause while I didn't test Cyrillic, I tired various special UTF8 characters and it worked OK… but indeed I might have missed something

@Yanpas
Copy link
Author

Yanpas commented Jun 28, 2015

As far as I remember I used https://github.com/geany/geany-plugins
Right down the correct link and I will test again tommorow :)

@Yanpas
Copy link
Author

Yanpas commented Jun 28, 2015

Or this :/
https://github.com/b4n/geany-plugins

@b4n
Copy link
Member

b4n commented Jun 28, 2015

You need to try the debugger/safer-gdb-mi-parsing branch from https://github.com/b4n/geany-plugins/:

$ git remote add b4n https://github.com/b4n/geany-plugins/
$ git fetch b4n debugger/safer-gdb-mi-parsing
$ git checkout -b b4n-debugger/safer-gdb-mi-parsing b4n/debugger/safer-gdb-mi-parsing

@Yanpas
Copy link
Author

Yanpas commented Jun 29, 2015

White I've made
git clone https://github.com/b4n/geany-plugins.git
cd geany-plugins/
git remote add b4n https://github.com/b4n/geany-plugins/
git fetch b4n debugger/safer-gdb-mi-parsing
git checkout -b b4n-debugger/safer-gdb-mi-parsing b4n/debugger/safer-gdb-mi-parsing
./autogen.sh
cd debugger/
make
`sudo checkinstall -D``
Well, bug isn't reproducable, seems to be fixed. Thanks!

@Yanpas
Copy link
Author

Yanpas commented Jun 29, 2015

But the debugger is untranslated and fully in English. IS it Ok?

@b4n
Copy link
Member

b4n commented Jun 29, 2015

Well, bug isn't reproducable, seems to be fixed. Thanks!

Yay, great :)

But the debugger is untranslated and fully in English. IS it Ok?

Well… the version of the translations in this branch aren't very recent for sure. You can probably improve this by merging master into b4n-debugger/safer-gdb-mi-parsing:

$ git checkout b4n-debugger/safer-gdb-mi-parsing
$ git merge master

But ultimately I should merge this branch into the main repository, as the original author agreed as he doesn't care anymore about the plugin. I'm just a bit uneasy as I don't really use the plugin myself so could have overlooked some things, but if you use it and tell me it works fine/report issues, I guess it'd be enough :)

@Yanpas
Copy link
Author

Yanpas commented Jun 29, 2015

Well, these commands and rebuilding didn't help, still English. Close this issue when you will merge your branch to https://github.com/geany/geany-plugins please.
Maybe that's because I've compiled only debugger, I can't compile all geany plugins due to https://gist.github.com/Yanpas/990a2d8f98e13b448faa

@b4n
Copy link
Member

b4n commented Jun 29, 2015

Maybe that's because I've compiled only debugger

Ah yeah; to get translations you also need to build and install in the po/ directory, it holds the translations.

I can't compile all geany plugins due to https://gist.github.com/Yanpas/990a2d8f98e13b448faa

Ah, this is because some plugins depend on the development version of Geany (but don't properly check for it yet).
You can disable those when configuring:

$ ./configure --disable-geanygendoc --disable-projectorganizer --disable-geanyprj

and then all should build fine.

@Yanpas
Copy link
Author

Yanpas commented Jun 29, 2015

yes, now bug seems absolutely fixed :) Now I can continue learning programming, thanks a lot again.
Do you have permission to merge your brunch to this repo?

@b4n
Copy link
Member

b4n commented Nov 15, 2015

Fixed by #202

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

2 participants