ccbogel / QualCoder

Qualitative data analysis for text, images, audio, video. Cross platform. Python 3.10 or newer and PyQt6.
https://qualcoder.wordpress.com/
GNU Lesser General Public License v3.0
383 stars 85 forks source link

Impossible to import REFI-QDA codebook #934

Closed Jakcor closed 2 months ago

Jakcor commented 2 months ago

Hi, qualcoder 3.4 and 3.5 for windows Codebook exported with the same installation as REFI-QDA qdx can't be reimported in another project.

ccbogel commented 2 months ago

Hi I have tested on 3.5 and on the current 3.6 code. The REFI-QDA codebook export and import works without error.

image

The export file is has the .qdc ending: projectname.qdc

And to import: image

The only other issue I can think of is - there might be characters in the category and code names or memos, in the exported .qdc file that are causing a problem. e.g. < or > ?

ccbogel commented 2 months ago

Further testing and < and > do not cause problems in category or code names or memos. Maybe it is due to other characters? Without seeing the .qdc file I cannot test it to see the proble,

Jakcor commented 2 months ago

Hi Colin, thanks a lot for this so quick reply. I suppose you're right, as I work in France, I use accented characters. I'll try to rename codes to avoid these characters. I attached the qdc file

I very much appreciate your commitment to providing an outstanding tool to "poor" ! researchers Very soon will I provide you with the description of our study.

Have a great day

Jacques


De : QualCoder Developer @.> Envoyé : dimanche 8 septembre 2024 09:34 À : ccbogel/QualCoder @.> Cc : Jakcor @.>; Author @.> Objet : Re: [ccbogel/QualCoder] Impossible to import REFI-QDA codebook (Issue #934)

Further testing and < and > do not cause problems in category or code names or memos. Maybe it is due to other characters? Without seeing the .qdc file I cannot test it to see the proble,

— Reply to this email directly, view it on GitHubhttps://github.com/ccbogel/QualCoder/issues/934#issuecomment-2336581449, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BLDFEZ2HXQRKSNQ2RBRDHYDZVP4XTAVCNFSM6AAAAABN2DXKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWGU4DCNBUHE. You are receiving this because you authored the thread.Message ID: @.***>

ccbogel commented 2 months ago

Hello Jakcor,

Please attach the qdc file so I can test and improve the way the codebook export and import works. If github is not happy with the .qdc ending change it to .txt

Apart from this issue, I am glad you like and use QualCoder.

Colin

Jakcor commented 2 months ago

Here you are Codebook-test1.txt

thx Jacques

ccbogel commented 2 months ago

OK. I have updated the code. This should now work with the latest 3.6 software. Yes, the character accents in French were an issue. It was an easy fix in the code.

Alternatively, for older versions, 3.5 or 3.4, if you export a codebook.qdc file. Open it with Notepad. Then select 'Save As' Ensure the encoding is 'UTF-8' image

This will then import without problem into your next project.

Jakcor commented 2 months ago

Thanks a looooot ! Where may I find the 3.6 version?

ccbogel commented 2 months ago

I guess you want an exe version for Windows? I will create one and file share with you


From: Jakcor @.> Sent: Wednesday, 11 September 2024 1:02 AM To: ccbogel/QualCoder @.> Cc: QualCoder Developer @.>; Comment @.> Subject: Re: [ccbogel/QualCoder] Impossible to import REFI-QDA codebook (Issue #934)

Thanks a looooot ! Where may I find the 3.6 version?

— Reply to this email directly, view it on GitHubhttps://github.com/ccbogel/QualCoder/issues/934#issuecomment-2341167050, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABMQPDS2PXYWIGJECZO4UUTZV4CYPAVCNFSM6AAAAABN2DXKDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBRGE3DOMBVGA. You are receiving this because you commented.Message ID: @.***>

Jakcor commented 2 months ago

Indeed, my main laptop runs windows. I still have to install Qualcoder on my collega's linux and mac computers. I know R but not Python. I can collaborate to revise the French translation (which is actually great) thx one more time

ccbogel commented 2 months ago

Thank you. The French translation - I used DeepL translator - online. At the moment I do not have an up to date Linux (Ubuntu) to develop the translations. I have now a Windows computer and, I am not able to create any newer translation files in Windows, but I used to be able to do this with Ubuntu. Can you send me an email and I can provide assistance with an up to date exe.

Jakcor commented 2 months ago

thx Colin, I get an error : Traceback (most recent call last): File "qualcoder__main.py", line 2674, in File "qualcoder__main.py", line 2539, in gui File "qualcoder\main__.py", line 285, in get_most_recent_projectpath File "qualcoder\main__.py", line 213, in read_previous_project_paths File "codecs.py", line 322, in decode UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 466: invalid continuation byte

image