Changes not shown, most commands have no effect #28

Closed
Nachtschatten opened this Issue Oct 2, 2012 · 16 comments

Comments

Projects
None yet
6 participants
@Nachtschatten

Hello,

I'm a Bazaar user. I installed Modific via Package Control.

For me, modified lines aren't highlighted and icons are not displayed. For a file from a project managed with Bazaar, only "Modific: Show diff" is present in the command palette, however, selecting it only closes the palette and does nothing else. "View uncommitted files in a quick panel" works when pressing its shortcut. Other commands, like preview, are missing from the command palette and their shortcuts have no effect.

I already tried the following: Restarting Sublime Text, changing the colour scheme and restarting, uninstalling and reinstalling Modific via Package Control, changing Modific user settings so bzr is on top of the vcs prority. After seeing bug #25, I set "svn_use_internal_diff" to false, just in case. Nothing of that solved my problem.

This is my configuration:
Sublime Text 2, build 2220, 64bit
Bazaar 2.5.1, the path to its binaries is included in PATH
Windows 8 Release Preview, Build 8400, 64bit

Thanks in advance.

@gornostal

This comment has been minimized.

Show comment Hide comment
@gornostal

gornostal Oct 2, 2012

Owner

Hi,
It might be an error somewhere in the plugin.
Try to open console (Ctrl+`) and probably you'll see the exact error message.

Owner

gornostal commented Oct 2, 2012

Hi,
It might be an error somewhere in the plugin.
Try to open console (Ctrl+`) and probably you'll see the exact error message.

@Nachtschatten

This comment has been minimized.

Show comment Hide comment
@Nachtschatten

Nachtschatten Oct 3, 2012

Unfortunately, there's no error message in the console. Setting "debug" to true made no difference, there's no console output from Modific.
As an additional test, I tried opening a file from a Mercurial-managed project. Modific works there, so this problem seems to concern the Bazaar integration only. I hope that info helps. Is there something else I could try?

Unfortunately, there's no error message in the console. Setting "debug" to true made no difference, there's no console output from Modific.
As an additional test, I tried opening a file from a Mercurial-managed project. Modific works there, so this problem seems to concern the Bazaar integration only. I hope that info helps. Is there something else I could try?

@gornostal

This comment has been minimized.

Show comment Hide comment
@gornostal

gornostal Oct 3, 2012

Owner

Do you have folder .bzr in the root of your working directory?

Owner

gornostal commented Oct 3, 2012

Do you have folder .bzr in the root of your working directory?

@Nachtschatten

This comment has been minimized.

Show comment Hide comment
@Nachtschatten

Nachtschatten Oct 3, 2012

Yes.

Yes.

@gornostal

This comment has been minimized.

Show comment Hide comment
@gornostal

gornostal Oct 3, 2012

Owner

I will try to reproduce this situation on my Windows machine. I hope I can do this on weekends.

You can try to add more debug info to the plugin if you know Python syntax. Maybe you will figure this out on your own.

Owner

gornostal commented Oct 3, 2012

I will try to reproduce this situation on my Windows machine. I hope I can do this on weekends.

You can try to add more debug info to the plugin if you know Python syntax. Maybe you will figure this out on your own.

@Hofferic

This comment has been minimized.

Show comment Hide comment
@Hofferic

Hofferic Oct 6, 2012

I have the same problem (and tried the same methods to remedy it, with the same results - none whatsoever) and thought it might help to get different specs that result in the same Problem.

Also I am NOT using Bazaar, but rather a simple svn-server in the local network, so the problem is probably not related to that!

Sublime Text 2.0.1 x64 Build 2217 (but I think I might upgrade to at least 2220 as from op it seems to be available, if that fixes the problem i will come back here to announce it)
Subversion cli-interface v1.7.6.60057
Python 2.7.3
Windows 8 Pro RTM Build 9200 (Yay to being a Computer Science Student :D)

There are two correlations between Nachtschatten and me as far as I can tell: First, judging from their username, Nachtschatten is German (though this should be of no consequence, but there have been language-setting-related problems before...) and we are both using Windows 8. As I switched only a couple of days ago and did not really pay attention until today (while looking for some modification), I can not attest to Modific ever working on Windows 8, so more info from Nachtschatten might help.

And regardless of this error, Modific is great, so thanks for creating it in the first place.

Hofferic commented Oct 6, 2012

I have the same problem (and tried the same methods to remedy it, with the same results - none whatsoever) and thought it might help to get different specs that result in the same Problem.

Also I am NOT using Bazaar, but rather a simple svn-server in the local network, so the problem is probably not related to that!

Sublime Text 2.0.1 x64 Build 2217 (but I think I might upgrade to at least 2220 as from op it seems to be available, if that fixes the problem i will come back here to announce it)
Subversion cli-interface v1.7.6.60057
Python 2.7.3
Windows 8 Pro RTM Build 9200 (Yay to being a Computer Science Student :D)

There are two correlations between Nachtschatten and me as far as I can tell: First, judging from their username, Nachtschatten is German (though this should be of no consequence, but there have been language-setting-related problems before...) and we are both using Windows 8. As I switched only a couple of days ago and did not really pay attention until today (while looking for some modification), I can not attest to Modific ever working on Windows 8, so more info from Nachtschatten might help.

And regardless of this error, Modific is great, so thanks for creating it in the first place.

@timonwong

This comment has been minimized.

Show comment Hide comment
@timonwong

timonwong Oct 7, 2012

I have the same problem, I've found that Modific didn't work at all since last update, I think it belons to this issue: #27

I found the following snippet will return false because a file not found error:

        if not os.path.exists(filename) or os.path.getsize(filename) > max_file_size:

Changed to this seems fix that problem:

        if not os.path.exists(filepath) or os.path.getsize(filepath) > max_file_size:

I have the same problem, I've found that Modific didn't work at all since last update, I think it belons to this issue: #27

I found the following snippet will return false because a file not found error:

        if not os.path.exists(filename) or os.path.getsize(filename) > max_file_size:

Changed to this seems fix that problem:

        if not os.path.exists(filepath) or os.path.getsize(filepath) > max_file_size:
@Soulsbane

This comment has been minimized.

Show comment Hide comment
@Soulsbane

Soulsbane Oct 7, 2012

Same problem with git also. timonwong's fix got Modific working again though. Thanks!

Same problem with git also. timonwong's fix got Modific working again though. Thanks!

@gornostal

This comment has been minimized.

Show comment Hide comment
@gornostal

gornostal Oct 8, 2012

Owner

I've checked this plugin on the linux and Win 7 and it works fine.
I will try to install Win 8 this week.

@Soulsbane what OS do you use?

Owner

gornostal commented Oct 8, 2012

I've checked this plugin on the linux and Win 7 and it works fine.
I will try to install Win 8 this week.

@Soulsbane what OS do you use?

@lwille

This comment has been minimized.

Show comment Hide comment
@lwille

lwille Oct 8, 2012

+1 for @timonwong 's fix on OSX

lwille commented Oct 8, 2012

+1 for @timonwong 's fix on OSX

@Nachtschatten

This comment has been minimized.

Show comment Hide comment
@Nachtschatten

Nachtschatten Oct 8, 2012

First, judging from their username, Nachtschatten is German (though this should be of no consequence, but there have been language-setting-related problems before...) and we are both using Windows 8.

You guessed right. :) To cross-check, I booted up my good old Vista laptop (32bit, Service Pack 2) yesterday and encountered the same problem there. So this doesn't seem to be limited to Windows 8. I've only become a user of Sublime Text recently, so unfortunately I can't comment on if it worked previously.

First, judging from their username, Nachtschatten is German (though this should be of no consequence, but there have been language-setting-related problems before...) and we are both using Windows 8.

You guessed right. :) To cross-check, I booted up my good old Vista laptop (32bit, Service Pack 2) yesterday and encountered the same problem there. So this doesn't seem to be limited to Windows 8. I've only become a user of Sublime Text recently, so unfortunately I can't comment on if it worked previously.

@Hofferic

This comment has been minimized.

Show comment Hide comment
@Hofferic

Hofferic Oct 8, 2012

+1 for @timonwong from me aswell, his comment is all that was needed to get everything running again in my case.

Hofferic commented Oct 8, 2012

+1 for @timonwong from me aswell, his comment is all that was needed to get everything running again in my case.

@Soulsbane

This comment has been minimized.

Show comment Hide comment
@Soulsbane

Soulsbane Oct 8, 2012

Yeah, sorry forgot os. I'm using Linux Mint 13 KDE edition 64bit.

Yeah, sorry forgot os. I'm using Linux Mint 13 KDE edition 64bit.

gornostal pushed a commit that referenced this issue Oct 9, 2012

@gornostal

This comment has been minimized.

Show comment Hide comment
@gornostal

gornostal Oct 9, 2012

Owner

Okay, I guess I've fixed this issue. Thanks to @timonwong
It was my stupid mistake. Sorry it took so long.

Owner

gornostal commented Oct 9, 2012

Okay, I guess I've fixed this issue. Thanks to @timonwong
It was my stupid mistake. Sorry it took so long.

@gornostal

This comment has been minimized.

Show comment Hide comment
@gornostal

gornostal Oct 9, 2012

Owner

Somehow this plugin was working for me and I thought it was problem with bazaar.
And I didn't pay much attention to the proposed solution.

I am closing this issue. If anyone is still experiencing it, please, reopen.

Owner

gornostal commented Oct 9, 2012

Somehow this plugin was working for me and I thought it was problem with bazaar.
And I didn't pay much attention to the proposed solution.

I am closing this issue. If anyone is still experiencing it, please, reopen.

@gornostal gornostal closed this Oct 9, 2012

@Nachtschatten

This comment has been minimized.

Show comment Hide comment
@Nachtschatten

Nachtschatten Oct 10, 2012

I can confirm that everything works now. Thank you a lot, and of course thanks to @timonwork for the proposed solution.

I can confirm that everything works now. Thank you a lot, and of course thanks to @timonwork for the proposed solution.

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