小编Art*_*gul的帖子

使用PyCharm调试扭曲的应用程序

我正在争取几个小时试图配置PyCharm来调试我的应用程序.我一直在寻找解决方案,但扭曲似乎并不那么受欢迎,而且支撑力度很弱.下面我把我得到的错误日志.

/usr/local/bin/python3.4m -u /Applications/PyCharm CE.app/Contents/helpers/pydev/pydev_run_in_console.py 57276 57277 /usr/bin/twistd -y /Users/artur/projs/private/elanga-web/start_app.tac
Running /usr/bin/twistd
PyDev console: starting.
Traceback (most recent call last):
  File "/usr/bin/twistd", line 7, in <module>
    import _preamble
ImportError: No module named '_preamble'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydev_run_in_console.py", line 68, in <module>
    globals = run_file(file, None, None)
  File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydev_run_in_console.py", line 28, in run_file
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "/Applications/PyCharm CE.app/Contents/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile …
Run Code Online (Sandbox Code Playgroud)

python debugging twisted pycharm

3
推荐指数
1
解决办法
1452
查看次数

为什么我的UIAlertView只会在延迟后出现?

在下面的示例代码UIAlertView是延迟后显示,但我需要立即显示它

//metoda zapisuje komentrz na serwerze
-(void) saveAction {

    UIAlertView *progressAlert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"imageGalleries.sendAction", @"") message:@" " delegate:self cancelButtonTitle:NSLocalizedString(@"alert.cancel", @"") otherButtonTitles:nil];

    [progressAlert addSubview:progressView];
    [progressAlert show];

    // some long performance instructions
}

- (void)loadView {
    [super loadView];
    self.navigationItem.rightBarButtonItem =  [NavButton buttonWithTitle:NSLocalizedString(@"sendImage.saveButtonTitle", @"") target:self action:@selector(saveAction)];
    progressView = [[UIProgressView alloc] initWithFrame: CGRectMake(30.0f, 80.0f - 26, 225.0f, 10.0f)];
}
Run Code Online (Sandbox Code Playgroud)

UIAlertView我打电话时为什么不立即显示saveAction

iphone cocoa-touch uialertview

2
推荐指数
1
解决办法
2915
查看次数

@autoreleasepool犯错误

我尝试用MagicalRecord编译程序,我有错误

一世从编辑中打印屏幕 不知道如何解决这个问题

在较旧的sdk中,每件事都可以.

cocoa-touch ios xcode4

1
推荐指数
1
解决办法
1287
查看次数

标签 统计

cocoa-touch ×2

debugging ×1

ios ×1

iphone ×1

pycharm ×1

python ×1

twisted ×1

uialertview ×1

xcode4 ×1