-
Notifications
You must be signed in to change notification settings - Fork 154
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
threading issue again #71
Comments
Hi
|
is there any solution for this @Falldog |
No, please provide the testing environment for debugging |
I'm using pythhon 3.7 and installed using pip. I'm trying ro run a program, contains pandas operations. |
can you provide the minimum problematic code for debugging |
import random
import pandas as pd
output = pd.DataFrame(columns=['grain','time'])
for _itr in range(5):
output = output.append({'grain':random.choice(['year','month']),'time':random.choice(['2017','2018'])},ignore_index=True)
output.to_excel('Sample_google_response.xlsx')
print(' Data frame saved') |
Thanks, I will schedule it to fix the problem |
hi is there any improvement on above issue ? thx |
@MyraBaba sorry, I'm really busy recently for my company. I have no time to fix it in short time. Maybe next month will be better. |
is there any hope to fix this threading issue . ? |
@MyraBaba I will spend some time to fix it |
Just ported my code from 2.7->3.5 and got some issues first with installation - had to install python3-dev to eventually allow installation using setup.py from virtual environment. Now can import pyconcrete and checked its working with pip. I am getting the same issue on python 3.5 using the threading library in a virtual environment when trying to execute using
getting the following error
have been unable to use "Partial encrypted (pyconcrete as lib)" using the below folder structure whist trying to import app.pye by using desperately need this fix if possible @Falldog Is there any other quick fixes or methods of executing i could use? |
There is no quick fixes, I had survey long time and there is not an easy fix for the issue. And can't find the root cause for it. I will spent more time to check it |
Thanks @Falldog much appreciated. Any idea why the "Partial encrypted (pyconcrete as lib)" method of deploying also doesn't work on python 3.5? I was testing this as it was working on python 2.7. Wanted to test if I can call pye files using a main.py file importing pyconcrete as a lib. This time, it cant find submodules when importing them. The modules (pye files) folder has all the pye files required and also a init.py which had allowed python 2.7 to import modules, but with python 3.5 its saying file does not exist. I have also manually added the src folder to the sys.path in main.py. Below is the folder structure. folder |
The issue should be fixed at ef4220c |
Hi,
I cloned repo and installed.
when I try to run :
pyconcrete alibaba.pye
it gives :
Exception ignored in: <module 'threading' from '/usr/lib/python3.5/threading.py'> Traceback (most recent call last): File "/usr/lib/python3.5/threading.py", line 1283, in _shutdown assert tlock.locked() SystemError: <built-in method locked of _thread.lock object at 0x7f4cb09747d8> returned a result with an error set
The text was updated successfully, but these errors were encountered: