I met problem when I "make" in graph-tool-2.19. Part of the problem is shown in the link. Do you know how to deal with it?
problem 1
problem 2
Related
Here I want to use FinRL for crypto trading, while testing the FinRL's Crypto trading tutorial, bunch of error emerging. The environment I use is google colab, first problem is that the DRLAgent importing, finally I found the problem is version mismatch, so I keep testing, after days and nights, adjusting so many version, I face a error can't be solved. When the tutorial comes to training part
train(start_date=TRAIN_START_DATE,
end_date=TRAIN_END_DATE,
ticker_list=TICKER_LIST,
data_source='binance',
time_interval='5m',
technical_indicator_list=INDICATORS,
drl_lib='elegantrl',
env=env,
model_name='ppo',
current_working_dir='./test_ppo',
erl_params=ERL_PARAMS,
break_step=5e4,
if_vix=False
)
it indicate the line of if_vix error, assert error, so I try to modify the git clone version, but I can't adjust some of the package's version, so I gave up and asking for help
here is the colab I use: https://colab.research.google.com/drive/1Ro63lSqsH4IaLkVrHOH7XcNRM5tnY_Z-
sorry for my poor english and thanks for helping!!
package altering but
!pip install git+
can't change version
and the package inside the git also not anchored
also facing assert error, bunch of capability problem
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
I've got one java web based project. Build using JDK 1.8 and Using Intellij as IDE.
Using tomcat to deploy the product
Essentially in our product I was trying to test a few things with a class.
Very recently what has happened is whenever I am compiling and putting it inside our project it is saying page not found.
So, I reverted my code base to Out of the box state, compiled and put it back. Still it
s giving me page not found error.
One annoying this about this error is, In the logs I don't have a single error.
So it's not even hinting on where to look or what's going on.
Second annoying this was, like I did some series of changes , but for every change I took a back up. Think of it like, if default OTB was Revision 1, My changes are in Revision 2,3,4. From revision 4 I started to get this error. But when I take revision 1 and put it back. Still getting page not found. But if I take Revision 2 or 3. It is working.
I've compared all revisions and code wise there's no such change, which could break anything. I've a strong doubt that it could be one of the project structure settings.
I checked local history, but apparently local history refreshes every time you rebuild a project so no luck there.
I want to understand and resolve this problem.
Any tips on how to handle this, will help greatly.
Thanks
So, the answer to this problem was Embarrassingly simple.
Our project was last certified with OpenJDK11 but I mixed two of my tasks and started using openJDK12.
I don't understand what exactly in OpenJDK12 broke this.
And I want to inspect what went wrong.
But for the current task at hand. 1 solution is as simple as reverting back to OpenJDK11. After that when I used this modified class it was working perfectly.
PS: Still not 100% sure if it was due to jdk version. But If it was I wonder why in logs it was not mentioning that error. Which says compiled using higher version of Java.
I am new to OSMnx and followed the steps from the website (https://github.com/gboeing/osmnx-examples/blob/master/notebooks/10-building-footprints.ipynb) on how to make a "Street network + building footprints: square-mile visualizations" map.
All I did was change the location name to teutopolis and change the coordinates to the town I am trying to map out, but it kept giving me a JSONDecodeError output. I added an image of what I input and the error output that it gave me. Being new to coding, I am not sure what this all means as I tried to search for an answer but did not understand.
Any help on how to fix this problem would be greatly appreciated.
Make sure you're using the latest version of OSMnx (0.8.1 as of this writing). This issue is documented on GitHub and was fixed/released two months ago.
I just upgraded to Xcode 8 and am effectively stonewalled when trying to do anything. Xcode is taking anywhere from ten seconds to five minutes to execute what i've done. I.e. taking 3 minutes to identify a syntax error, four minutes to run through a for loop in playground of just displaying elements of an array.
Has anyone else experienced this issue? If so, were you able to resolve it? I have tickets opened as a bug report but unsure of how long it will take to hear back.
I found someone with a similar issue here https://stackoverflow.com/a/39949491/6484248
which has seemed to have solved my issue as well.
In short, add a User-Defined Setting as:
SWIFT_WHOLE_MODULE_OPTIMIZATION = YES
My lag has been completely removed on this project, though I can't explain how it has helped.
I keep getting make: * [internal-package] Error 2 when trying to build a tweak im working on. Ive never had this issue before, and its not specifying whats wrong. Here is what it says:
Ethans-Mac-mini:alienblue ethanarbuckle$ sudo make package
/Users/ethanarbuckle/Desktop/alienblue/theos/makefiles/targets/Darwin/iphone.mk:46: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak AlienBlue...
make[2]: Nothing to be done for `internal-library-compile'.
Making stage for tweak AlienBlue...
dpkg-deb: building package `com.ethanarbuckle.alienblue++' in `./com.ethanarbuckle.alienblue++_0.0.1-9_iphoneos-arm.deb'.
make: *** [internal-package] Error 2
Can anyone shed some light on whats happening?
There is nothing wrong with your code.
This is because dpkg won't build a package that has a identifier that isn't alphanumeric (e.g. only A-Z, a-z, 0-9) so it is rejecting the "++" in your package id. I suggest make a new tweak in the NIC and copy your "Tweak.xm" to the new tweak folder and give it an id something like com.ethanarbuckle.alienblueplusplus instead of com.ethanarbuckle.alienblue++.
I had the same error and it took me about a month to figure it out. This change worked for me. Don't forget when you make a new tweak in the NIC to re-add any frameworks you had imported.
Your package name, however, can still have the ++ in it.