Enabling the addont is impossible #53107

Closed
opened 2017-10-19 17:20:16 +02:00 by Wassim · 13 comments

Hello !

I don't really know if it is a bug, but when enabling the Landscape Addon I got an error message telling me that it can't find the method for Process get_cpu_times().

I corrected the bug in the stats file by using only cpu_times, and memory_info instead of the get_cpu_times, get_memory_info, I don't also know if it is a python version problem.

So just in case, someone encountered the problem.

Cheers
Wassim

Hello ! I don't really know if it is a bug, but when enabling the Landscape Addon I got an error message telling me that it can't find the method for Process get_cpu_times(). I corrected the bug in the stats file by using only cpu_times, and memory_info instead of the get_cpu_times, get_memory_info, I don't also know if it is a python version problem. So just in case, someone encountered the problem. Cheers Wassim
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @WassimOUARTSI

Added subscriber: @WassimOUARTSI

Added subscriber: @VukGardasevic

Added subscriber: @VukGardasevic

Please, can you tell us what OS and Blender version you are using?

If it is Linux and Ubuntu flavor / derivative this error is already reported in the #52786.

Marking as Incomplete until the requested information/data is provided.

Please, can you tell us what OS and Blender version you are using? If it is Linux and Ubuntu flavor / derivative this error is already reported in the #52786. Marking as Incomplete until the requested information/data is provided.
Author

Hello Vuk,

It is an Archlinux derivate called Antergos.

Thanks

Hello Vuk, It is an Archlinux derivate called Antergos. Thanks

Thanks. If you are using a version packaged in the Arch repositories, please try the official build from https://builder.blender.org/download/ . It is a tar.bz archive (just unpack it in a folder in Home) and check if the error is still present.

Thanks. If you are using a version packaged in the Arch repositories, please try the official build from https://builder.blender.org/download/ . It is a tar.bz archive (just unpack it in a folder in Home) and check if the error is still present.
Author

I have the same problem, it will not work because it is the function in the addon script that generates the exception.

I have the same problem, it will not work because it is the function in the addon script that generates the exception.

Added subscriber: @ideasman42

Added subscriber: @ideasman42

@WassimOUARTSI please attach all relevant information, exact exception messages.

Also try run with: --factory-startup argument, to see if it resolves.

@WassimOUARTSI please attach all relevant information, exact exception messages. Also try run with: `--factory-startup` argument, to see if it resolves.

Like it was said, there is a possibility of having a corrupted startup file if using the developer builds ( for instance some add-ons can have bad registering code or errors that cause crashes during reload). Starting blender with factory startup will check for those issues.

Like it was said, there is a possibility of having a corrupted startup file if using the developer builds ( for instance some add-ons can have bad registering code or errors that cause crashes during reload). Starting blender with factory startup will check for those issues.
Author

Hello Guys !

With the --factory-startup flag it does work out of the box ! So the problem, is probably a corrupted startup file with the dev version i'm i correct ?

Thanks anyway !

Cheers :)

Hello Guys ! With the --factory-startup flag it does work out of the box ! So the problem, is probably a corrupted startup file with the dev version i'm i correct ? Thanks anyway ! Cheers :)

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Vuk Gardašević self-assigned this 2017-10-26 06:01:00 +02:00

Glad to hear that the problem is solved. Yes, it is corrupted most likely, as it can happen depending when the startup or user_pref files were saved. Usually the issue arises with developer builds. Some of the packaging for different distros can use different versions of Blender (developer builds that had issues that since then were addressed). In doubt, it's better to download the official builds as those can eliminate possible issues and are the most current (as there is a daily new version).

As some kind of guidance, when using the developer builds it's better to save the startup file without the enabled add-ons and use the user_pref file (Save User Settings) for storing their enabled state. Then if some add-on is misbehaving it's easier to address the issue by redoing the userpref with enabling add-ons one by one.

Hope that helps. If there are some further issues please feel free to comment here so we can reopen the task.

Closing as archived.

Glad to hear that the problem is solved. Yes, it is corrupted most likely, as it can happen depending when the startup or user_pref files were saved. Usually the issue arises with developer builds. Some of the packaging for different distros can use different versions of Blender (developer builds that had issues that since then were addressed). In doubt, it's better to download the official builds as those can eliminate possible issues and are the most current (as there is a daily new version). As some kind of guidance, when using the developer builds it's better to save the startup file without the enabled add-ons and use the user_pref file (Save User Settings) for storing their enabled state. Then if some add-on is misbehaving it's easier to address the issue by redoing the userpref with enabling add-ons one by one. Hope that helps. If there are some further issues please feel free to comment here so we can reopen the task. Closing as archived.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#53107
No description provided.