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

Terminal freezing when executing nikola build #2335

Closed
drym3r opened this issue May 4, 2016 · 8 comments
Closed

Terminal freezing when executing nikola build #2335

drym3r opened this issue May 4, 2016 · 8 comments

Comments

@drym3r
Copy link

drym3r commented May 4, 2016

There's not much more than that. I've tried using the auto parameter, but it happened the same. I'm not sure how to debug it more, some indications would be good.

It only happens on one PC of the two I use with nikola. It's a old netbook, but it shouldn't be a problem, since the building is not a very stressing activity.

Thanks

@Kwpolska Kwpolska added this to the v7.7.9 milestone May 4, 2016
@Kwpolska Kwpolska self-assigned this May 4, 2016
@Kwpolska
Copy link
Member

Kwpolska commented May 4, 2016

It only happens on one PC of the two I use with nikola. It's a old netbook, but it shouldn't be a problem, since the building is not a very stressing activity.

Um, it sort of is. We need to load a lot of plugins from the hard drive. To see some extra debug output when Nikola does that:

NIKOLA_DEBUG=1 nikola build

Or look at strace and htop.

Does waiting resolve the issue? (We don’t recommend running Nikola on SD cards and really slow drives.)

@drym3r
Copy link
Author

drym3r commented May 4, 2016

Well, I'm talking about a lot of minutes. I'm able to compile big programs or the kernel in a few hours, so it shouldn't be a problem. It gets stuck when it finishes, when arriving on robots_file. I'll leave it all the night and I'll update this post.
PD: And I'll try to debug with that, thanks.
UPDATE: When executin with the debug variable, it tells me nothing different when it gets stucked. Also, I forgot to say, I'm using python 3.5, not sure if it's important. I've just executed it with strace and it stops again on creating the robots file. As I said, I'll leave it and I'll post something in some hours.
UPDATE2: I got it running all night long and it still was stucked. The strace didn't showed anything different from the computer which runs good. Any idea?

@Kwpolska
Copy link
Member

Kwpolska commented Jun 5, 2016

No idea, sorry… perhaps there’s something else that’s going on?

For an ultimate test, try:

NIKOLA_DEBUG=1 strace nikola build -v 2 -r console

Also, try disabling the robots plugin, maybe that will fix it?

(also, please don’t edit posts with details, we don’t get notifications for that)

@Kwpolska Kwpolska modified the milestones: v7.7.9, v7.8.0 Jun 11, 2016
@drym3r
Copy link
Author

drym3r commented Jun 20, 2016

Ok, I'll try in a few days (and won't edit the post).

@ralsina ralsina modified the milestones: v7.7.10, 7.7.11 Jul 20, 2016
@felixfontein
Copy link
Contributor

One thing I experienced is that sometimes, my terminal (terminator, Gnome-Terminal-based) freezes when there's too much output. As soon as I scroll a screen up, it just continues and everything's fine. This seems to be a bug in the Gnome terminal. Since Nikola can generate a lot of output (for bigger blogs) this sometimes happens to me with Nikola as well.

@Kwpolska
Copy link
Member

Kwpolska commented Aug 4, 2016

@felixfontein Nikola can’t fix your terminal. Please report a bug to terminator.

I’m closing this due to no response from the OP in over 6 weeks.

@Kwpolska Kwpolska closed this as completed Aug 4, 2016
@felixfontein
Copy link
Contributor

That's why I'm mentioning that: wouldn't be a Nikola bug then.

@drym3r
Copy link
Author

drym3r commented Sep 16, 2016

Sorry for not saying anything else, FYI I found the problem (not a bug). I copied my nikola's web directory to another PC and when executing it it gave an error, which didn't happen with my main PC. It was just a .pyc file compiled in another different architecure. I don't know why it didn't say that on the first PC and just hang, but I don't think is nikola's problem. Anyway, thanks for your time.

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

4 participants