Cannot create Wikidata schema in OpenRefine - wikidata

Would anyone know why I cannot create a Wikidata schema in OpenRefine? I've reconciled all columns necessary for the project, but when I go to the schema tab, no column will drag/drop into the boxes.
stubbon schema
Thank you!
J

I've seen similar problems, and would bet there is an error message in your browser's javascript console.
What worked for me was removing and re-adding the label and description fields/boxes in the schema. If that doesn't help, continue to remove other parts of the scheme. Even reloading the page might be worth a try.

That sounds like a bug. Please open a bug report with as much detail as possible, including any error messages from your browser's Javascript console, as suggested by #Mathias, or the server log. If the project is not sensitive, please provide it as well.

Related

How to make MultiValueField with Composite Fields and i18n enabled work properly?

Have anyone tried to have a form with MultiValueField in Magnolia having Composite fields with i18n enabled and is working properly?
Currently, I'm encountering some weird behaviour when adding items to English then switching to other language and adding items again then switch back to English with items all gone. In one JIRA post it said it was already fixed but I still encounter this issue. Also encountered issues in sorting which apparently not supported by the DelegatingMultiValueTransformer.
If so, can you please show me the configuration you use to make this work properly? If needed customisation, can you give me ideas on how to do it?
Would really appreciate any help on this.
Btw, I'm using the latest release 5.4.6 now.
Maybe you don't want to put two questions in one request in the future ;)
Re language issue:
did you check that you have i18n enabled also on the subfields, since you are using deletage transformer? AFAIK with delegate you need to have them enabled on all fields in the hierarchy.
Re transformer & ordering:
IMO the only way out is to write custom transformer. Look at source code of MultiValueTransformer and in the part of the code where it goes just two levels down when checking child values, you need to go deeper.
You would also need to define different structure storage for your values there since one used by the MultiValueTransformer would not suffice for multiple levels.
Perhaps you can extend one of the more specialized MultiValue*Transformer or perhaps you try MultiValueJSONTransformer if storing all values in json array is enough for you (you would still need to extend it and to repopulate values back into dialog when opening dialog for editing).
HTH,
Jan

Where to report bug against Plone.org site

I found a bug on Plone.org portal (there is totally messed up creating new release for your product), I made a proper screenshot and wanted to submit it somewhere. However, I can't find information where it should be done - is https://dev.plone.org is correct place?
If not - where I should do this?
Yes, https://dev.plone.org/ is the correct location.
Use the Website component when filing a ticket.
There is also a mailing list.
https://lists.sourceforge.net/lists/listinfo/plone-website
It may help draw attention to your problem.

Grails: Images / CSS missing from time to time

While developing a website I experience a weird bug.
From time to time my images or my css are missing.
It's not really predictable and therefore not reproducible.
Usually it happens after I edit my css, save it and reload the page (in the browser).
It's always syntactical correct CSS, so no compilation erros or anything similar.
I think it's the way Grails updates the running application, but I really can't say why or where it happens as it is quite rarely, but definitely annoying.
It doesn't matter if I run the application with my IDE (IntelliJ 9.0.4) or with the commandline (Windows).
The only thing I did not test so far is whether it happens only when I use the IDE or not.
Did anyone experience this?
EDIT:
Sorry for an unclear description:
"missing" means the browser is unable to load the corresponding ressource: "The Ressource () is not available"
Another Edit:
Thanks for the comments so far.
In addition to my main css-file and my images, which change quite frequently, my reset-css-file disappeared. I never touched it since creation, so I think one can exclude the compilation-script as cause of this mess. (further info in the comments)
Like John Smith I arrived here googling for this problem.
But I found another solution, and i hope that it helps you too.
I googled a little bit more and found this discussion Disabling static resource stuff, here i found a contributor of grails application, and author of Resources Plugin, Mark Palmer (take a look his website), telling what he is doing and answering the questions about this plugin.
Today, all you need to do is to update the Resources Plugin to version 1.2-RC1 or a recent one that will fix this problem.
When you say missing, do you mean that the changes are missing, or the whole stylesheet is missing? If it is just your latest changes, it is possible that your browser is caching the previous css file and isn't getting the latest changes. Try doing a "hard refresh" with something like CTRL+F5, or whatever hard refresh is in the browser that you are using. This will force a pull of the latest resources.
Really old question.. but for anybody googling this - I had similar issues with my CSS because of Windows file format on the Linux systems. Once I changed the format to unix, I still had to restart the server for the css to download. Note that somehow the css were downloading earlier although the format was windows and the issue was intermittent.

How to change "site_name" in Drupal 6

This is probably a really obvious question, but it's driving me nuts.
We have a drupal installation and we need to change the site_name and site_slogan variables. It sounds like it should be easy, but I just can't find an option anywhere in the admin panels to do it. The only place I can find is in the initial installation script
I know I can write some code to call variable_set('site_name',...) to do it, but that seems like a last-ditch solution; I'd rather do it the correct way.
Can anyone point me in the right direction?
Thanks.
The form to change it is at site information: admin/settings/site-information.
If you want to do it directly in the Database there is a table called variable. You can change it in there. In Drupal 6 this value is of type longtext, but in Drupal 7 this value is of type blob. It is serialized so you cannot simply write to it with an update query, and expect it to work.
I have some code here that shows how to write to it.
http://www.siteconsortium.com/h/p1.php?id=drpl001
Also, if you are using Drupal 7 it shows how to go to the configuration settings and modify the site_name and site_mail variables.
Don't forget to clear the caches if you have caching setup.
It seems that you have to edit sites/default/settings.php:
http://mblog.lib.umich.edu/DataDiscussions/archives/2009/10/change_the_site.html
It answers the slogan thingy also.
Since I'm not using drupal anymore, you have to verify it by yourself :-)
Greetings

How to insert values into database?

I have taken some text field and abd some labels and one submit and one reset button. I want to code like: when i enter some values in text boxes and click upon submit my record will get submitted into the database. And when i click upon reset then my form will get reset.
Please let me know how will i code this scenario.
Thanks,
Ashish
With due respect, this question is rather broad and you would likely be better served by doing a bit of searching for some base knowledge about the tasks that you are looking to perform.
I would suggest that you begin by going to your favorite search engine and querying for:
HTML Forms
Insert data into a database
ASP.NET Tutorials
Once you have a grasp of the basic technologies that you're using, you should find that it is far easier to accomplish your task. If, by chance, you run into any specific problems or issues, then this would be a great place to ask questions related to them. Best of luck.
asp.net and databases
http://www.asp101.com/samples/db_add.asp
resetting the forms
http://www.java2s.com/Code/ASP/Asp-Control/Resettheform.htm
you should try using google first. these examples came up on top for simple queries like
asp.net databases
and
asp.net reset forms
that said you have not really provided enough information to garner a useful answer.
what database are you using, what version of asp.net (are you even using it, or did you click the tag by accident - you
dont mention it in your post), what platform - specifically?

Resources