Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
I'm getting NRE when I tried to update translation resources:
atsushi@atsushi-Aspire-3820:/svn/monodevelop/main/po$ LC_ALL=en_US make update-po
PATH="/home/atsushi/android-sdk-linux/tools:/home/atsushi/android-sdk-linux/platform-tools:/home/atsushi/android-sdk-linux//platform-tools:/devel/bin:/home/atsushi/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" PKG_CONFIG_PATH="/home/atsushi/svn/monodevelop/local-config:/devel/lib/pkgconfig:/devel/share/pkgconfig:/devel/lib/pkgconfig:" LD_LIBRARY_PATH="/devel/lib:" DYLD_FALLBACK_LIBRARY_PATH="" MONO_GAC_PREFIX="/devel:" MONODEVELOP_LOCALE_PATH="/home/atsushi/svn/monodevelop/main/build/locale" MONO_ADDINS_REGISTRY="/home/atsushi/svn/monodevelop/main/build/bin" exec -a "mdtool" /devel/bin/mono --debug "/home/atsushi/svn/monodevelop/main/build/bin/mdtool.exe" gettext-update -f:../Main.sln
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
MonoDevelop Gettext Update Tool
Updating message catalog
Scanning project MonoDevelop.Core...
Object reference not set to an instance of an object
make: *** [update-po] Error 255
Works for me - which md version ?
Can you try it from inside the IDE ?
The latest master still does not work.
Yet I could update po from inside the IDE.
Needed to revert it - po files need now to be generated from inside md.
I wonder why the gettext scanner depends on the mimetype system? Maybe we could remove that dependency?
It's because of the regex patterns <--> mime type connection. Therefore md-tool can no longer generate .po files.
Uh, we have a broken feature: mdtool gettext-update. We should fix it or disable it completely.
This bug was targeted for a past milestone, moving to the next active milestone.
I fixed this some time ago.