6 comments

Hello Örn,

Please attach %USERPROFILE5\.PyCharm10\system\logs\idea.log

Whenever I start PyCharm 1.5.1 I get this error message

Image:pycharm skeleton generation problem.png What does this mean?

How do I solve it.

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Hi Dmitry

I've attached the log file. I forgot to mention that this also happened right after I installed 1.5.0 if that helps.



Attachment(s):
idea.log.zip
0

Hello Örn,

The error is reported because of a timeout (the script to get the list of

binary modules does not complete in 2 minutes). Could you please running

the generator from the command line to check how long it takes?

In order to do so, please go to the "helpers" directory under the PyCharm

installation directory and run:

C:\Python27\python generator3.py -L -s

I've attached the log file. I forgot to mention that this also

happened right after I installed 1.5.0 if that helps.

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

With the -s option I get this : getopt.GetoptError: option -s requires argument

Without it it ran for more then 2 minutes but I was unable to time it precisely.

C:\Python27\python generator3.py -L -s

I've attached the log file. I forgot to mention that this also

happened right after I installed 1.5.0 if that helps.

Here is the actual output if that might help :

1.93

unicodedata C:\Python27\DLLs\unicodedata.pyd

_sqlite3 C:\Python27\DLLs\_sqlite3.pyd

select C:\Python27\DLLs\select.pyd

coltrane.urls C:\dev\python\PyCharm-Projects\django_cms\coltrane\urls.pyc

_msi C:\Python27\DLLs\_msi.pyd

_elementtree C:\Python27\DLLs\_elementtree.pyd

_bsddb C:\Python27\DLLs\_bsddb.pyd

pyexpat C:\Python27\DLLs\pyexpat.pyd

_ctypes_test C:\Python27\DLLs\_ctypes_test.pyd

_tkinter C:\Python27\DLLs\_tkinter.pyd

_multiprocessing C:\Python27\DLLs\_multiprocessing.pyd

_ctypes C:\Python27\DLLs\_ctypes.pyd

_testcapi C:\Python27\DLLs\_testcapi.pyd

_ssl C:\Python27\DLLs\_ssl.pyd

bz2 C:\Python27\DLLs\bz2.pyd

_hashlib C:\Python27\DLLs\_hashlib.pyd

_socket C:\Python27\DLLs\_socket.pyd

winsound C:\Python27\DLLs\winsound.pyd

After running it the error disappears from PyCharm so I guess my problem is solved.

0

Hello Örn,

Thanks for running the diagnostics! I've filed an issue for this problem:

http://youtrack.jetbrains.net/issue/PY-3898

With the -s option I get this : getopt.GetoptError: option -s requires

argument

Without it it ran for more then 2 minutes but I was unable to time it

precisely.

C:\Python27\python generator3.py -L -s

>

>> I've attached the log file. I forgot to mention that this also

>> happened right after I installed 1.5.0 if that helps.

>>

Here is the actual output if that might help :

1.93

unicodedata C:\Python27\DLLs\unicodedata.pyd

sqlite3 C:\Python27\DLLs\sqlite3.pyd

select C:\Python27\DLLs\select.pyd

coltrane.urls

C:\dev\python\PyCharm-Projects\django_cms\coltrane\urls.pyc

msi C:\Python27\DLLs\msi.pyd

elementtree C:\Python27\DLLs\elementtree.pyd

bsddb C:\Python27\DLLs\bsddb.pyd

pyexpat C:\Python27\DLLs\pyexpat.pyd

ctypestest C:\Python27\DLLs\_ctypes_test.pyd

tkinter C:\Python27\DLLs\tkinter.pyd

multiprocessing C:\Python27\DLLs\multiprocessing.pyd

ctypes C:\Python27\DLLs\ctypes.pyd

testcapi C:\Python27\DLLs\testcapi.pyd

ssl C:\Python27\DLLs\ssl.pyd

bz2 C:\Python27\DLLs\bz2.pyd

hashlib C:\Python27\DLLs\hashlib.pyd

socket C:\Python27\DLLs\socket.pyd

winsound C:\Python27\DLLs\winsound.pyd

After running it the error disappears from PyCharm so I guess my

problem is solved.

---

Original message URL:

http://devnet.jetbrains.net/message/5306194#5306194

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Hi,

So I am also facing the same issue.

2016-01-25 14:09:53,920 [239426677] ERROR - ns.python.sdk.PythonSdkUpdater - failed to run generator3.py for /usr/bin/python2.6: timed out.
com.jetbrains.python.sdk.InvalidSdkException: failed to run generator3.py for /usr/bin/python2.6: timed out.
at com.jetbrains.python.sdk.skeletons.PySkeletonGenerator.listBinaries(PySkeletonGenerator.java:234)
at com.jetbrains.python.sdk.skeletons.PySkeletonRefresher.regenerateSkeletons(PySkeletonRefresher.java:300)
at com.jetbrains.python.sdk.skeletons.PySkeletonRefresher.refreshSkeletonsOfSdk(PySkeletonRefresher.java:130)
at com.jetbrains.python.sdk.PythonSdkUpdater$2$1.run(PythonSdkUpdater.java:155)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:365)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)

 

I have tried to run the generator3.py -L at the helpers folder and it completes, but definitely much longer than 2 mins. Can we have an option somewhere such that we can set a longer timeout  number? 

0

Please sign in to leave a comment.